anthropic/claude-sonnet-5
Anthropic's most agentic Sonnet yet. Plans, uses tools, and runs autonomously at a level that recently required larger, pricier models — approaching Opus 4.8 on reasoning, coding, and tool use, at a fraction of the cost. 1M-token context window with native prompt caching. The new default for most agentic and production workloads.
Quelle: official_x0.5 · Verifiziert am 2026-06-30
Cache-Lesezugriff $0.150/M · Cache-Schreibzugriff $1.88/M
Zum API-Aufruf kann jede der IDs verwendet werden.
anthropic/claude-sonnet-5Ersetzen Sie den Platzhalter ONEHOP_KEY durch Ihren API key. Erstellen →
from anthropic import Anthropic
client = Anthropic(
base_url="https://api.onehop.ai/anthropic",
api_key="<ONEHOP_KEY>",
)
message = client.messages.create(
model="anthropic/claude-sonnet-5",
max_tokens=1024,
messages=[{"role": "user", "content": "What is the meaning of life?"}],
)
print(message.content[0].text)1 Anfragen in den letzten 30 Tagen