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.
Fuente: official_x0.3 · Verificado el 2026-09-29
Lectura de caché $0.06/M · Escritura de caché $0.75/M
Puedes usar cualquiera de los IDs para llamar al modelo via API.
anthropic/claude-sonnet-5.5claude-sonnet-5-5Reemplaza el marcador ONEHOP_KEY con tu API key. Crear →
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)