← All models

Claude Sonnet 4.6

anthropic/claude-sonnet-4-6

Claude Sonnet 4.6 balances frontier quality with production economics. It is suited for coding agents, document-heavy work and everyday assistants at a 1M-token context.

Pricing & limits

Provider list price, passed through untouched. The only SwitchGate fee is 4.9% when you top up credits.

ProviderAnthropic
Input price$3 / 1M tokens
Output price$15 / 1M tokens
Context window1M tokens
Added to catalog2026-07-28
Tokens routed (30d)251.5B (placeholder)
Cache hits0 credits, always
  • Same governance as every model: per-user budgets, model locks, burnable keys and the kill switch apply automatically.
  • Cross-provider failover: route around outages to sibling models with one retry policy.
  • Exact cost per call on one ledger, whoever on your team calls it.

Call it in one line

Python
from openai import OpenAI

client = OpenAI(
    base_url="https://api.switchgate.ai/v1",
    api_key="sg-live-…",
)

r = client.chat.completions.create(
    model="anthropic/claude-sonnet-4-6",
    messages=[{"role": "user", "content": "Bonjour!"}],
)

Works with any OpenAI-compatible SDK — JavaScript, Go, cURL and more on the quickstart. Compare quality and cost on benchmarks and rankings.

More from Anthropic

Route Claude Sonnet 4.6 in the next five minutes

Free trial credits, list-price pass-through, and a ledger that shows exactly what each call cost.