anthropic/claude-sonnet-5.5
Anthropic's newest Sonnet and the successor to Sonnet 5, at the same official price. It is the fastest Sonnet yet — over 30% faster than Sonnet 5 — and finishes tasks with fewer tokens and tool calls, so each task costs less. On coding and agentic benchmarks it lands close to Opus 5.5. Strongest at well-scoped everyday work: fixing bugs, focused features, and polished documents. 1M-token context window with native prompt caching.
المصدر: official_x0.3 · تم التحقق في 2026-09-29
قراءة الكاش $0.06/M · كتابة الكاش $0.75/M
يمكنك استخدام أي من المعرّفَين لاستدعاء هذا النموذج.
anthropic/claude-sonnet-5.5claude-sonnet-5-5استبدل placeholder الـ ONEHOP_KEY بمفتاح API الخاص بك. إنشاء مفتاح →
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.5",
max_tokens=1024,
messages=[{"role": "user", "content": "What is the meaning of life?"}],
)
print(message.content[0].text)