Claude Sonnet 5

claude-sonnet-5 · Anthropic

Claude Sonnet 5 is the next generation of Anthropic's Sonnet model family. It is a drop-in upgrade for Claude Sonnet 4.6 with three behavior changes: adaptive thinking is on by default, manual extended thinking now returns a 400 error (it was deprecated on Claude Sonnet 4.6), and setting sampling parameters (temperature, top_p, top_k) to non-default values returns a 400 error

API Pricing

Input$2 / 1M tokens
Output$10 / 1M tokens

Specifications

Context1M tokens
Modalitiestext, image, PDF
CapabilitiesThinking, Streaming, Tool calling, Web search, Code interpreter, Computer use, Memory tool, Structured outputs, Citations, Prompt caching
Endpointschat_completions, gemini_api, claude_api

Frequently asked questions

What is Claude Sonnet 5?

Claude Sonnet 5 is the next generation of Anthropic's Sonnet model family. It is a drop-in upgrade for Claude Sonnet 4.6 with three behavior changes: adaptive thinking is on by default, manual extended thinking now returns a 400 error (it was deprecated on Claude Sonnet 4.6), and setting sampling parameters (temperature, top_p, top_k) to non-default values returns a 400 error

What is the context length of Claude Sonnet 5?

Claude Sonnet 5 has a 1,000,000 token context window.

How much does Claude Sonnet 5 cost?

On AIHubMix, Claude Sonnet 5 costs $2 per million input tokens and $10 per million output tokens.

What modalities does Claude Sonnet 5 support?

Claude Sonnet 5 accepts text, image and PDF input.

What capabilities does Claude Sonnet 5 support?

Claude Sonnet 5 supports thinking, tool calling, function calling and structured outputs. Per-protocol parameter support is listed in the capability table on this page.

How do I call Claude Sonnet 5 via API?

Claude Sonnet 5 is available through the AIHubMix unified API. The API is OpenAI-compatible: point your OpenAI SDK at https://aihubmix.com/v1, use your AIHubMix API key, and set the model name to claude-sonnet-5 — no other code changes needed.

Who created Claude Sonnet 5?

Claude Sonnet 5 is developed by Anthropic. AIHubMix aggregates it alongside models from other providers behind one API and one bill.

When was Claude Sonnet 5 released?

Claude Sonnet 5 was released on June 30, 2026 by Anthropic.

More models from Anthropic

See all Anthropic models →

Claude Haiku 5.5

by Anthropic

Claude Haiku 5.5 is Anthropic’s next-generation product, designed for high-throughput…

$0.1/1M in · $0.5/1M out
200,000 tokens context

Claude Opus 5.5

by Anthropic

Claude Opus 5.5 is Anthropic’s latest flagship model. In Anthropic’s comprehensive…

$4/1M in · $20/1M out
1,000,000 tokens context

Claude Sonnet 5.5

by Anthropic

Claude Sonnet 5.5 is the next-generation product in Anthropic’s Sonnet model series…

$2/1M in · $10/1M out
1,000,000 tokens context

Claude Fable 5.1

by Anthropic

Claude-fable-5-1 is Anthropic's most capable newly released model, suitable for the most…

$11/1M in · $55/1M out
1,000,000 tokens context

Claude Opus 5

by Anthropic

Claude Opus 5 is Anthropic’s flagship model for demanding reasoning, coding, and…

$5/1M in · $25/1M out
1,000,000 tokens context

Claude Fable 5

by Anthropic

Anthropic's most capable widely released model, for the most demanding reasoning and…

$11/1M in · $55/1M out
1,000,000 tokens context

Use Claude Sonnet 5 via the AIHubMix unified API — one interface for every major LLM.