Chat
Claude Sonnet 5
A balanced model for coding, reasoning, and everyday professional work.
claude-sonnet-5Best for: Chat, writing, coding and reasoning tasks
Catalog status
Enabled
Research checked
2026-11-27
Price / performance
What it costs to get this result
FrontierCode v1.1 (Main) · Source-reported results, not a composite ranking. Prices use the average of TokenRex input and output rates per million tokens; actual spend depends on usage. Test configurations differ.
Blended price / 1M tokens · log scale
Compare sourced models on this benchmark
Benchmark results
Results are source-attributed, not TokenRex measurements. Different tests and thinking variants are not interchangeable.
11 of 11 results
GMMLU
Multilingual · Vendor-reported
Test conditions and source
Fable 5.1 system card section 8.18 comparison table: adaptive thinking max effort, single trial, no tools or custom system prompts. Published comparison, not catalog medium effort.
Tested model: claude-sonnet-5
Anthropic Fable 5.1 system card · sections 8.1–8.11 · Checked 2026-10-06
MILU
Multilingual · Vendor-reported
Test conditions and source
Fable 5.1 system card section 8.18 comparison table: adaptive thinking max effort, single trial, no tools or custom system prompts. Published comparison, not catalog medium effort.
Tested model: claude-sonnet-5
Anthropic Fable 5.1 system card · sections 8.1–8.11 · Checked 2026-10-06
FrontierCode v1.1 (Extended)
Coding · Third-party report
Test conditions and source
Cognition FrontierCode 1.1; Claude Sonnet 5; medium effort; claude-code harness; Extended subset (150 tasks). Published weighted rubric score (new_score × 100), not the all-or-nothing pass rate; solution-source violations score zero. Source field new_score=0.4928. Publisher evaluation, not a TokenRex measurement; provider effort configuration is not a guarantee of the API's fixed thinking budget.
Tested model: claude-sonnet-5
Cognition · FrontierCode 1.1 original leaderboard · Checked 2026-10-07
FrontierCode v1.1 (Main)
Coding · Third-party report
Test conditions and source
Cognition FrontierCode 1.1; Claude Sonnet 5; medium effort; claude-code harness; Main subset (100 tasks). Published weighted rubric score (new_score × 100), not the all-or-nothing pass rate; solution-source violations score zero. Source field new_score=0.352. Publisher evaluation, not a TokenRex measurement; provider effort configuration is not a guarantee of the API's fixed thinking budget.
Tested model: claude-sonnet-5
Cognition · FrontierCode 1.1 original leaderboard · Checked 2026-10-07
Terminal-Bench 4.0
Agentic coding · Vendor-reported
Test conditions and source
Anthropic launch comparison table (28 Sep 2026); publisher evaluation, not a TokenRex measurement.
Tested model: claude-sonnet-5
Anthropic · Introducing Claude Sonnet 5.5 · Checked 2026-11-27
CursorBench 4.0
Agentic coding · Vendor-reported
Test conditions and source
Anthropic launch comparison table (28 Sep 2026); publisher evaluation, not a TokenRex measurement.
Tested model: claude-sonnet-5
Anthropic · Introducing Claude Sonnet 5.5 · Checked 2026-11-27
GDPval-AA v2.1 (Elo)
Knowledge work · Vendor-reported
Test conditions and source
Anthropic launch comparison table (28 Sep 2026); publisher evaluation, not a TokenRex measurement.
Tested model: claude-sonnet-5
Anthropic · Introducing Claude Sonnet 5.5 · Checked 2026-11-27
AA-Briefcase v1.1 (Elo)
Knowledge work · Vendor-reported
Test conditions and source
Anthropic launch comparison table (28 Sep 2026); publisher evaluation, not a TokenRex measurement.
Tested model: claude-sonnet-5
Anthropic · Introducing Claude Sonnet 5.5 · Checked 2026-11-27
Humanity’s Last Exam (with tools)
Reasoning · Vendor-reported
Test conditions and source
Anthropic launch comparison table (28 Sep 2026); publisher evaluation, not a TokenRex measurement.
Tested model: claude-sonnet-5
Anthropic · Introducing Claude Sonnet 5.5 · Checked 2026-11-27
OSWorld 2.1 (partial)
Computer use · Vendor-reported
Test conditions and source
Anthropic launch comparison table (28 Sep 2026); publisher evaluation, not a TokenRex measurement.
Tested model: claude-sonnet-5
Anthropic · Introducing Claude Sonnet 5.5 · Checked 2026-11-27
Chartography
Vision · Vendor-reported
Test conditions and source
Anthropic launch comparison table (28 Sep 2026); publisher evaluation, not a TokenRex measurement.
Tested model: claude-sonnet-5
Anthropic · Introducing Claude Sonnet 5.5 · Checked 2026-11-27
Model specifications
Context window
1M
Published provider limit
Maximum output
128K
Published provider limit
Knowledge cutoff
Jan 2026
Upstream model
Input and output modalities
Provider-reported formats; API compatibility is detailed below.
Input
Output
- Exact model ID
- claude-sonnet-5
- Model type
- Chat
- Context window
- 1,000,000 tokens
- Maximum output
- 128,000 tokens
- Knowledge cutoff
- Jan 2026
A context window is the total conversation budget, not a separate maximum input allowance; generated output and reasoning can use that budget. Published provider limits are not independently tested TokenRex request limits.
Standard and Fast versions
One enabled version is currently listed for this model.
Features and tool support
TokenRex’s exposed interface, not every feature advertised by the provider. “Available” describes the implemented interface, not a successful test of every input or tool.
Reasoning configuration
Adjust thinking without changing the model ID: Low, Medium, High, Extra high, Max. Native Messages uses thinking.type=adaptive and output_config.effort.
Thinking is a request setting, not a separate model. Per-token rates stay unchanged; actual reasoning usage changes the bill. Fast alone is a separate version.
Provider-specific thinking examplesRequest examples
// OpenAI Chat Completions: keep the model ID unchanged
{ "model": "gpt-6-luna", "reasoning_effort": "high", "stream": true,
"messages": [{ "role": "user", "content": "Review this design." }] }
// OpenAI Responses: Max on an eligible model, same ID
{ "model": "gpt-6-astra", "reasoning": { "effort": "max", "summary": "auto" },
"stream": true, "store": false, "input": "Review this design." }
// Claude adaptive thinking: POST /v1/messages (Sonnet 5, Opus 5, Opus 5.5
// and Fable 5.1 accept effort up to "max"; Haiku 5.5 also supports adaptive effort)
{ "model": "claude-sonnet-5", "thinking": { "type": "adaptive" },
"output_config": { "effort": "max" }, "max_tokens": 8192, "stream": true,
"messages": [{ "role": "user", "content": "Review this design." }] }
// Claude Haiku 5.5: adaptive thinking only
{ "model": "claude-haiku-5-5", "thinking": { "type": "adaptive" }, "output_config": { "effort": "high" },
"max_tokens": 8192, "stream": true,
"messages": [{ "role": "user", "content": "Review this design." }] }
// Verified Gemini families: Chat Completions reasoning_effort
{ "model": "gemini-3.8-flash", "reasoning_effort": "low", "stream": true,
"messages": [{ "role": "user", "content": "Review this design." }] }
// Gemini 4 Carbon / Hydrogen / Neon: none, minimal, low, medium, high, xhigh or max
{ "model": "gemini-4-carbon", "reasoning_effort": "max", "stream": true,
"messages": [{ "role": "user", "content": "Review this design." }] }Coding and agent workflows
Text/code generation and customer-managed tool loops.
Coding benchmark results do not establish a hosted terminal, sandbox, autonomous browser or guaranteed task success.
Streaming answers
AvailableIncremental text through TokenRex’s chat endpoint; Claude also has native Messages access.
Customer-defined function tools
LimitedFunction schemas and tool results are forwarded to Claude. The chat bridge uses automatic tool selection; your application authorizes and executes every tool.
Forced or named tool selection
Not exposedThe chat bridge selects tools automatically. Native Messages does not expose forced or named tool selection; do not assume a tool will be called every turn.
Images and PDFs
AvailableImages and PDFs can be sent in chat messages to every chat model. File size and model limits apply.
Built-in web search
AvailableTurn on per request with web_search_options on /v1/chat/completions or the web_search_20250305 tool on /v1/messages. $7 per 1K searches plus normal tokens; search results add input tokens. Each web search Claude runs is billed, as reported by Anthropic. Tested live through TokenRex (2026-10).
Hosted web page fetch
Not exposedNo standalone provider web-fetch tool is exposed; built-in search may read pages as part of a search where the provider does so.
Hosted code execution / computer use
Not exposedNo built-in execution environment or computer-control tool is provided. Code generation is not code execution.
Hosted file search / persistent assistants
Not exposedNo hosted file-search index, Assistants endpoint or persistent provider agent is exposed.
Prompt caching
Available5-minute writes cost 1.25× input; native cache_control.ttl="1h" selects 1-hour writes at 2× input. See the exact per-model rates above. All current Claude models add 10% to token rates only when US serving is reported. Haiku 5.5 adds its 5× whole-request tier above 100K input.
Batch / fine-tuning
Not exposedNo public batch or fine-tuning endpoint is offered here.
Sources and verification
Provider specifications describe the upstream model, not a guarantee of every feature through TokenRex. Prices come from the enabled catalog; benchmark results belong to the exact tested model.
- Provider model specifications
Vendor-reported
Last checked - Anthropic Fable 5.1 system card · sections 8.1–8.11
Vendor-reported
Last checked - Cognition · FrontierCode 1.1 original leaderboard
Third-party report
Last checked - Anthropic · Introducing Claude Sonnet 5.5
Vendor-reported
Last checked
Research notes (1)
- Published provider limits; maximum-capacity requests have not been independently exercised through TokenRex. Thinking-level variants use the same provider model; reasoning and answer tokens share the output budget.