Back to model shop
Anthropic
Rendered from D1 model snapshot · D1 read 128msCache check: checking

anthropic/claude-sonnet-4-6

Claude Sonnet 4.6

Claude workhorse for coding agents, careful analysis, and production cost control

This model's cache

This model page returns the exact headers below. The page and /api/models/anthropic--claude-sonnet-4-6 share the model:anthropic--claude-sonnet-4-6 tag, so invalidation stays scoped to this model.

Cache key/models/anthropic--claude-sonnet-4-6
Cache-Controlpublic, max-age=300, stale-while-revalidate=3600
Cache-Tagcatalogmodel:anthropic--claude-sonnet-4-6

Workers Cache derives the key from this path/query, plus the Worker entrypoint and current Worker version.

export const Route = createFileRoute('/models/$modelSlug')({
  headers: () => ({
    'Cache-Control': 'public, max-age=300, stale-while-revalidate=3600',
    'Cache-Tag': 'catalog,model:anthropic--claude-sonnet-4-6',
  }),
})

Invalidate this cache tag

await ctx.cache.purge({ tags: ['model:anthropic--claude-sonnet-4-6'] })

Use this when one model changes and you do not want to evict the whole catalog.

Claude SonnetReasoningTool callingAttachmentsTemperature control
Released
Feb 17, 2026
Last updated
Mar 13, 2026
Context window
1M tokens
Max output
64K tokens
Open weights
No
Family
Claude Sonnet

Starts at

$3

per 1M input tokens

Output

$15

Sellers

13

No cart or checkout in this MVP — pick a provider below and open their docs when you're ready to use it.

Capabilities & modalities
Reasoning
Tool calling
Structured output
Attachments
InputText, Image, Pdf
OutputText
Provider shelf
Where to get Claude Sonnet 4.6

Sorted by lowest input price

ProviderInput / 1MOutput / 1MContext

Requesty

anthropic/claude-sonnet-4-6

$3$151MDocs

Merge Gateway

anthropic/claude-sonnet-4-6

$3$151MDocs

NEAR AI Cloud

anthropic/claude-sonnet-4-6

$3$151MDocs

Cloudflare AI Gateway

anthropic/claude-sonnet-4-6

$3$151MDocs

Anthropic

claude-sonnet-4-6

$3$151MDocs

Perplexity Agent

anthropic/claude-sonnet-4-6

$3$15200KDocs

Amazon Bedrock

jp.anthropic.claude-sonnet-4-6

$3$151MDocs

Amazon Bedrock

anthropic.claude-sonnet-4-6

$3$151MDocs

Amazon Bedrock

us.anthropic.claude-sonnet-4-6

$3$151MDocs

Amazon Bedrock

global.anthropic.claude-sonnet-4-6

$3$151MDocs

Amazon Bedrock

eu.anthropic.claude-sonnet-4-6

$3.3$16.51MDocs

Amazon Bedrock

au.anthropic.claude-sonnet-4-6

$3.3$16.51MDocs

AnyAPI

anthropic/claude-sonnet-4-6

QuoteQuote1MDocs
More from Anthropic