Claude Opus 4
OpenRouterText
Claude Opus 4 is a text model from OpenRouter with a context window of 200K tokens and max output of 32K tokens. Pricing starts at $15.00 per million input tokens and $75.00 per million output tokens (cheapest at Anthropic).
Specifications
| Model Key | openrouter/anthropic/claude-opus-4 |
| Provider | OpenRouter |
| LiteLLM Provider | openrouter |
| Mode | Text |
| Canonical Name | claude-opus-4 |
| Context Window | 200K tokens |
| Max Output | 32K tokens |
Capabilities
✓ Vision✓ Function Calling✓ Reasoning✗ JSON Schema✗ System Messages✗ Web Search✓ Prompt Caching✗ Audio Input✗ Audio Output
Pricing
| Type | Per 1K Tokens | Per 1M Tokens |
|---|---|---|
| Input Tokens | $0.015 | $15.00 |
| Output Tokens | $0.075 | $75.00 |
| Cache Read (Input) | $0.0015 | $1.50 |
| Cache Write (Input) | $0.019 | $18.75 |
Price Comparison by Provider
Compare prices for Claude Opus 4 across different providers. The same model may be available through multiple providers at different price points.
Provider | Model Key | Input Price | Output Price |
|---|---|---|---|
| Anthropic | claude-4-opus-20250514 | $15.00 | $75.00 |
| Deepinfra | deepinfra/anthropic/claude-4-opus | $16.50 | $82.50 |
| Vercel Ai Gateway | vercel_ai_gateway/anthropic/claude-4-opus | $15.00 | $75.00 |
| Gmi | gmi/anthropic/claude-opus-4 | $15.00 | $75.00 |
| OpenRouter | openrouter/anthropic/claude-opus-4 | $15.00 | $75.00 |
| Anthropic (Vertex AI) | vertex_ai/claude-opus-4 | $15.00 | $75.00 |
| AWS Bedrock | anthropic.claude-opus-4-20250514-v1:0 | $15.00 | $75.00 |
| Databricks | databricks/databricks-claude-opus-4 | $15.00 | $75.00 |
Similar Models
Models with similar capabilities and context window size.
Model | Provider | Mode | Input Price | Output Price | Context | Max Output | Vision | Functions |
|---|---|---|---|---|---|---|---|---|
| Apac.anthropic.claude 3 Haiku 20240307 V1 | AWS Bedrock | Text | $0.250 | $1.25 | 200K | 4K | yes | yes |
| Claude 3 Haiku | Anthropic | Text | $0.250 | $1.25 | 200K | 4K | yes | yes |
| Claude 3 Haiku | OpenRouter | Text | $0.250 | $1.25 | 200K | N/A | yes | yes |
| Claude 3 Haiku | OpenRouter | Text | $0.250 | $1.25 | 200K | 4K | yes | yes |
| Claude 3 Haiku | Anthropic (Vertex AI) | Text | $0.250 | $1.25 | 200K | 4K | yes | yes |
| Claude 3 Haiku | Anthropic (Vertex AI) | Text | $0.250 | $1.25 | 200K | 4K | yes | yes |
| Claude 3 Haiku 20240307 V1 | AWS Bedrock | Text | $0.250 | $1.25 | 200K | 4K | yes | yes |
| Databricks Meta Llama 3 1 8B Instruct | Databricks | Text | $0.150 | $0.450 | 200K | 128K | no | no |
| Glm 4.7 Flash | OpenRouter | Text | $0.070 | $0.400 | 200K | 32K | yes | yes |
| Us.anthropic.claude 3 Haiku 20240307 V1 | AWS Bedrock | Text | $0.250 | $1.25 | 200K | 4K | yes | yes |