Skip to content

Model detail

Claude Sonnet 4.6

Provided by Anthropic
Pay-as-you-go

Sonnet 4.6 is Anthropic's most capable Sonnet-class model yet, with frontier performance across coding, agents, and professional work. It excels at iterative development, complex codebase navigation, end-to-end project management with memory, polished document creation, and confident computer use for web QA and workflow automation.

Model specs

Model ID
claude-sonnet-4-6
Context length
1M
Max output
128K
I/O modalities
Released
2026-02

02

API endpoints

One MixRoute gateway, OpenAI-compatible

  • Anthropic Messages /v1/messages POST
  • OpenAI-compatible /v1/chat/completions POST
  • Gemini /v1beta/models/{model}:generateContent POST

03

Pricing

Flat rate, unit: /1M Tokens

Input

$3.0000 /1M Tokens

Completion

$15.0000 /1M Tokens

Cache read

$0.3000 /1M Tokens

Cache creation

$3.7500 /1M Tokens

05

Selection summary

Quickly judge whether it fits your workload

What is this model good for?

Iterative development, codebase navigation, and computer use

Use Sonnet 4.6 for iterative development, complex codebase navigation, end-to-end project management, polished document creation, and confident computer use for web QA and workflow automation.

What should you check before using it?

Test computer use and project management capabilities

Sonnet 4.6 excels at computer use for web QA and workflow automation. Test these specific capabilities to confirm they meet your requirements. Knowledge cutoff: 2025-08.

Why use it through MixRoute?

Swap the base URL, keep the Claude Sonnet 4.6 client

MixRoute serves Claude Sonnet 4.6 on the OpenAI-compatible endpoint /v1/chat/completions; point your existing client at https://api.mixroute.ai/v1 with the model ID claude-sonnet-4-6 and re-run your integration tests.

07

Capabilities & compatibility

Unconfirmed capabilities stay "Unknown," no guesses

Available:

Tool calling

Claude Sonnet 4.6 supports function and tool calls.

EX Send a tools definition; the response returns tool_calls to execute and feed results back.
Available:

Structured output

Claude Sonnet 4.6 can produce JSON-formatted output on demand.

EX response_format: { type: "json_schema" } forces valid JSON output.
Available:

Streaming

Claude Sonnet 4.6 supports streamed responses.

EX stream: true streams tokens incrementally, so chat UIs render as they arrive.
Available:

Prompt caching

Claude Sonnet 4.6 supports prompt caching under supported routing conditions.

EX Keep the system prompt and tool definitions at the start of the request; repeated prefixes are automatically billed at the cache-read rate.
Available:

Vision input

Claude Sonnet 4.6 can process image inputs alongside text.

EX Pass a base64-encoded image in a image_url content part alongside text messages.
Available:

OpenAI SDK

Call Claude Sonnet 4.6 through MixRoute's OpenAI-compatible endpoint.

EX Change base_url to https://api.mixroute.ai/v1; everything else follows the OpenAI style.

08

Token cost estimator

Live estimate from this page's pricing, not an actual bill

Share of the same prefix read repeatedly, up to 100%

09

FAQ

Sonnet 4.6 is Anthropic’s most capable Sonnet-class model, with frontier performance across coding, agents, and professional work. It excels at iterative development, complex codebase navigation, and confident computer use.

One endpoint, a testable decision

Test this model and alternate routes with the same request format

Start from a real workload, then let quality, total cost, and failure conditions decide whether to send production traffic.