GPT text model pricing has been updated. All GPT text models are now billed at 10% of OpenAI's official API prices, including the latest official price reductions for GPT-5.6 Terra and Luna.View latest pricing
Claude

Claude Sonnet 4.6

Official

anthropic/claude-sonnet-4.6

The balanced default of the Claude lineup. Strong reasoning, coding, and tool use at a fraction of Opus cost, with a 1M-token context window at standard pricing. The go-to for most production workloads.

1000K contextVisionReasoningTool callingCodingPrompt cache

Pricing

Source: anthropic_x0.18 · Verified 2026-06-08

InputOfficial $3 / M tokens
$0.54/ M tokensSave 82%
OutputOfficial $15 / M tokens
$2.7/ M tokensSave 82%

Cache read $0.054/M · Cache write $0.675/M

Estimate cost

Estimated cost$0.0081

Protocols

  • OpenAI Chat CompletionsStatus: Not supported
  • OpenAI ResponsesStatus: Not supported
  • Anthropic MessagesStatus: Available: Streaminghttps://api.routemux.com/anthropic
  • Google Vertex AIStatus: Not supported
  • OpenAI ImagesStatus: Not supported
  • OpenAI SoraStatus: Not supported

Call IDs

Use either ID to call this model via the API.

RouteMux nameanthropic/claude-sonnet-4.6
Official IDclaude-sonnet-4-6

Usable Model IDs

You can use these names directly in the request model field.

claude-sonnet-4-6

Try it

Replace the ROUTEMUX_KEY placeholder with your API key. Create one →

from anthropic import Anthropic

client = Anthropic(
    base_url="https://api.routemux.com/anthropic",
    api_key="<ROUTEMUX_KEY>",
)

message = client.messages.create(
    model="anthropic/claude-sonnet-4.6",
    max_tokens=1024,
    messages=[{"role": "user", "content": "What is the meaning of life?"}],
)
print(message.content[0].text)
base_url: https://api.routemux.com/anthropic

Other variants in this family

Frequently asked questions

What is Claude Sonnet 4.6?

Anthropic Claude Sonnet 4.6 — best price-to-quality balance.

How large is the context window of Claude Sonnet 4.6?

Claude Sonnet 4.6 supports a context window of up to 1M tokens, with up to 8K output tokens per request.

How much does the Claude Sonnet 4.6 API cost?

Through RouteMux, Claude Sonnet 4.6 costs $0.54 for input and $2.7 for output (USD per 1M tokens), below the official list price.

How do I call Claude Sonnet 4.6 via API?

Claude Sonnet 4.6 is OpenAI-compatible: point your base URL at RouteMux and set the model field to anthropic/claude-sonnet-4.6 — no code changes needed.

Which input and output modalities does Claude Sonnet 4.6 support?

Claude Sonnet 4.6 accepts text, image as input and produces text as output.