Claude Sonnet 5

Anthropic's sweet spot. Nearly as capable as Opus 5, half the price, same 1M context. Recommended default.

ChatAnthropic1M tokens$3.2702 / $16.3509 · 1M

anthropic/claude-sonnet-5

Context
1M tokens
Completion cap
128,000
Tools
Yes
JSON
Yes
Released
2026-06-30
ZDR
Verified

Call it from Geek Hub

Same OpenAI SDK. Change the base URL and the model id.

curl https://api.geekhub.mx/v1/chat/completions \
  -H "Authorization: Bearer $GEEKHUB_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "anthropic/claude-sonnet-5",
    "messages": [{"role": "user", "content": "Hola"}]
  }'
Get an API key

Frequently asked questions

What is Claude Sonnet 5?
Anthropic's sweet spot. Nearly as capable as Opus 5, half the price, same 1M context. Recommended default. Claude Sonnet 5 runs on the Geek Hub API (OpenAI-compatible). Model id: anthropic/claude-sonnet-5.
Is Claude Sonnet 5 free?
No. Input is $3.2702 per 1M tokens and output is $16.3509 per 1M tokens on Geek Hub (markup included).
What is the context length of Claude Sonnet 5?
Claude Sonnet 5 has a 1M tokens context window. It supports up to 128,000 completion tokens.
Does Claude Sonnet 5 support tool calling and structured outputs?
Claude Sonnet 5 accepts tools and tool_choice for function calling. It also supports structured outputs via a JSON schema in response_format.
When was Claude Sonnet 5 released?
Claude Sonnet 5 was released on 2026-06-30.

More models from Anthropic