Claude Sonnet 4 costs $3.00/1M input tokens and $15.00/1M output tokens as of 2026-06-27. Anthropic publishes this model with a 1M tokens context window. o10 lists Claude Sonnet 4 on OpenRouter at routing band C2. API slug anthropic-claude-sonnet-4. Verify list prices against the venue you call.

Last updated: 2026-06-27. Full catalog. Reference prices are dated snapshots. Compare total cost and measured task quality before choosing a route.

Claude Sonnet 4. Price, context, and routing

AnswersSelf-contained

What is Claude Sonnet 4?

Claude Sonnet 4 is a chat model from anthropic (slug: anthropic-claude-sonnet-4). Pick Claude Sonnet 4 when you need Anthropic's mid-frontier coding and writing tier. It is the default Claude workhorse: cheaper than Opus, stronger than Haiku on long-context agent work. Published input pricing starts at $3.00/1M tokens. Context window: 1M tokens.

Catalog snapshot 2026-06-27.

When should you pick Claude Sonnet 4?

Pick Claude Sonnet 4 when you need Anthropic's mid-frontier coding and writing tier. It is the default Claude workhorse: cheaper than Opus, stronger than Haiku on long-context agent work. Claude Sonnet 4 sits between Claude Haiku (economy) and Claude Opus (flagship). Move down to Haiku when evals pass at C0/C1; move up to Opus only when the quality floor needs the extra reasoning.

How does Claude Sonnet 4 differ from sibling models?

Claude Sonnet 4 sits between Claude Haiku (economy) and Claude Opus (flagship). Move down to Haiku when evals pass at C0/C1; move up to Opus only when the quality floor needs the extra reasoning.

How much does Claude Sonnet 4 cost per million tokens?

Claude Sonnet 4 costs $3.00/1M input tokens and $15.00/1M output tokens in the gateway catalog snapshot (2026-06-27). Endpoint pricing may differ by fulfillment host.

Sourced from gateway catalog snapshot.

Where can you run Claude Sonnet 4?

Claude Sonnet 4 is configured on OpenRouter. Known host IDs: openrouter: openrouter/anthropic/claude-sonnet-4. This model is routable through o10 eval-gated routing.

What is Claude Sonnet 4's context window?

Claude Sonnet 4 supports a 1M tokens context window in the gateway catalog snapshot. Context limits may vary by fulfillment host endpoint.

What o10 routing band is Claude Sonnet 4?

Claude Sonnet 4 is classified at o10 routing band C2. Bands group models by cost tier and eval profile: C0 (economy), C1 (standard), C2 (capable), C3/C4 (frontier). Production routing is enabled for this slug.

Who makes Claude Sonnet 4?

Claude Sonnet 4 is attributed to source provider anthropic in the o10 catalog. Fulfillment hosts (OpenRouter) supply API access; list pricing may differ by venue.

01Deep dive

Specifications

Claude Sonnet 4 in the o10 unified catalog.

Claude Sonnet 4 specifications
FieldValue
o10 slug`anthropic-claude-sonnet-4`
Typetext
BandC2
RoutableYes
Source provideranthropic
Primary hostOpenRouter
Gateway ID`anthropic/claude-sonnet-4`
Context window1,000,000 tokens
Released2025-05-22
02Deep dive

Token pricing

Gateway snapshot pricing for Claude Sonnet 4.

Claude Sonnet 4 token pricing
UnitPrice
Input$3/1M tokens
Output$15/1M tokens
03Deep dive

Fulfillment hosts

Upstream venues configured for Claude Sonnet 4.

Claude Sonnet 4 fulfillment routes
HostUpstream model ID
openrouteropenrouter/anthropic/claude-sonnet-4
04Deep dive

Gateway provider endpoints

Endpoint-level pricing and latency from the gateway catalog.

Claude Sonnet 4 gateway endpoints
ProviderInput ($/1M)Latency p50Uptime 1d
anthropic$31380.5ms9993.9%
bedrock$3919ms10000.0%
vertexAnthropic$3603.5ms10000.0%
05Deep dive

Routing with o10

Eval-gated model selection for this slug.

o10 slug: anthropic-claude-sonnet-4. Band: C2. Routable: yes.

See [/models/routing](/models/routing) for smart aliases (o10/auto, o10/frontier, o10/squad) and [/kyi](/kyi) for governance.

SourceMethodology

Fulfillment catalog 2026-06-27. Gateway pricing joined where slug match exists.

FAQFrequently asked questions

Common questions

How much does Claude Sonnet 4 cost?

Claude Sonnet 4 costs $3.00/1M input tokens and $15.00/1M output tokens in the gateway snapshot (2026-06-27). Verify against your provider's published pricing.

What is Claude Sonnet 4's context window?

Claude Sonnet 4 supports 1M tokens in the gateway catalog snapshot. Host-specific endpoints may differ.

Which hosts serve Claude Sonnet 4?

Claude Sonnet 4 (anthropic-claude-sonnet-4) is configured on: OpenRouter. Upstream model IDs are listed in the fulfillment routes section.

Is Claude Sonnet 4 routable through o10?

Yes. Claude Sonnet 4 is routable at band C2. Send model: "anthropic-claude-sonnet-4" or use an o10 smart routing alias.

How do I call Claude Sonnet 4 via o10?

Use o10 slug "anthropic-claude-sonnet-4" or gateway ID "anthropic/claude-sonnet-4" depending on your integration. Gateway-compatible endpoints accept OpenAI-style /v1 requests.

How does o10 route this model?

o10 routes Claude Sonnet 4 only when per-use-case evals clear at your quality floor. Band C2 indicates cost tier. See /kyi for governance and /models/routing for smart aliases.

What is the API model ID for Claude Sonnet 4?

The o10 slug is "anthropic-claude-sonnet-4"; the unified gateway ID is "anthropic/claude-sonnet-4". Host IDs: openrouter: openrouter/anthropic/claude-sonnet-4. Pricing snapshot date: 2026-06-27.

Who hosts Claude Sonnet 4?

Claude Sonnet 4 is hosted as openrouter: openrouter/anthropic/claude-sonnet-4. o10 maps those upstream IDs to slug "anthropic-claude-sonnet-4".