Claude Sonnet 5 (batch)

Sonnet 5 is Anthropic's most capable Sonnet-class model, with frontier performance across coding, agents, and professional work. It supports adaptive thinking with selectable reasoning effort levels (low, medium, high, max, and x-high), a 1M-token context window, and text, image, and file inputs. Sonnet 5 uses an updated tokenizer and includes real-time cyber safeguards that block certain high-risk dual-use activities.

ChatAnthropic1M tokens$1.0901 / $5.4503 · 1M

anthropic/claude-sonnet-5:batch

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

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:batch",
    "messages": [{"role": "user", "content": "Hola"}]
  }'
Get an API key

Frequently asked questions

What is Claude Sonnet 5 (batch)?
Sonnet 5 is Anthropic's most capable Sonnet-class model, with frontier performance across coding, agents, and professional work. It supports adaptive thinking with selectable reasoning effort levels (low, medium, high, max, and x-high), a 1M-token context window, and text, image, and file inputs. Sonnet 5 uses an updated tokenizer and includes real-time cyber safeguards that block certain high-risk dual-use activities. Claude Sonnet 5 (batch) runs on the Geek Hub API (OpenAI-compatible). Model id: anthropic/claude-sonnet-5:batch.
Is Claude Sonnet 5 (batch) free?
No. Input is $1.0901 per 1M tokens and output is $5.4503 per 1M tokens on Geek Hub (markup included).
What is the context length of Claude Sonnet 5 (batch)?
Claude Sonnet 5 (batch) has a 1M tokens context window. It supports up to 128,000 completion tokens.
Does Claude Sonnet 5 (batch) support tool calling and structured outputs?
Claude Sonnet 5 (batch) 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 (batch) released?
Claude Sonnet 5 (batch) was released on 2026-06-30.

More models from Anthropic