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

anthropic/claude-opus-4-20250514

Claude Opus 4

Flagship Claude model for deep reasoning, coding, and long-horizon agents

This model's cache

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

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

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-opus-4-20250514',
  }),
})

Invalidate this cache tag

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

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

Claude OpusReasoningTool callingAttachmentsTemperature control
Released
May 22, 2025
Last updated
May 22, 2025
Context window
200K tokens
Max output
32K tokens
Open weights
No
Family
Claude Opus

Starts at

$15

per 1M input tokens

Output

$75

Sellers

1

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 Opus 4

Sorted by lowest input price

ProviderInput / 1MOutput / 1MContext

Merge Gateway

anthropic/claude-opus-4-20250514

$15$75200KDocs
More from Anthropic