Claude Opus 4 API Cost Calculator
Estimate your monthly API costs for Claude Opus 4 from Anthropic.
Pricing per 1M tokens
Pricing last verified: Mar 21, 2026
30-Day Price History
Solid line: input price · Dashed line: output price
Estimate Your Costs
What are you building?
Cost Breakdown
Compare with Similar Models
| Model | Input/1M | Output/1M |
|---|---|---|
| Claude Opus 4.1 Anthropic | $15.00 | $75.00 |
| Claude 3.5 Sonnet Anthropic | $6.00 | $30.00 |
| Claude opus 4 6 V1anthropic.claude sonnet 4 6anthropic.Claude haiku 4 5 20251001 V1 Anthropic | $5.00 | $25.00 |
| Claude opus 4 6Claude sonnet 4 6Claude haiku 4 5 Anthropic | $5.00 | $25.00 |
| Claude opus 4 6Claude sonnet 4 6Claude haiku 4 5aws Anthropic | $5.00 | $25.00 |
Frequently Asked Questions
How much does Claude Opus 4 cost per token?
Claude Opus 4 is priced at $15.00 per 1M input tokens and $75.00 per 1M output tokens. Use the calculator above to estimate your monthly costs based on your usage volume.
What is the context window for Claude Opus 4?
Claude Opus 4 has a context window of 200K tokens (200,000 tokens). The maximum output length is 32K tokens.
Does Claude Opus 4 support image inputs (vision)?
Yes, Claude Opus 4 supports vision/image inputs. You can send images as part of your prompts.
Does Claude Opus 4 support function calling (tool use)?
Yes, Claude Opus 4 supports function calling (also called tool use). You can define custom functions that the model can invoke as part of its responses.
How does Claude Opus 4 compare to similar models?
Claude Opus 4 costs $15.00 input and $75.00 output per 1M tokens. Claude opus 4 6Claude sonnet 4 6Claude haiku 4 5aws is less expensive at $5.00 input and $25.00 output per 1M tokens. See the "Compare with Similar Models" table above, or visit the Claude opus 4 6Claude sonnet 4 6Claude haiku 4 5aws page at /tools/cost-calculator/anthropic/claude-opus-4-6claude-sonnet-4-6claude-haiku-4-5aws.