# Claude Opus 4 Usage, Cost & Rank | OpenCode Data

> Claude Opus 4 costs $15.00 per 1M input tokens and $75.00 per 1M output tokens.

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

- Page: https://opencode.ai/data/anthropic/claude-opus-4-20250514
- JSON: https://opencode.ai/data/anthropic/claude-opus-4-20250514.json
- Model ID: anthropic/claude-opus-4-20250514
- Lab: Anthropic

## Model facts

| Fact | Value |
| --- | --- |
| Context window | 200K |
| Max output | 32K |
| Knowledge cutoff | 2025-03-31 |
| Release date | 2025-05-22 |
| Input modalities | text, image, pdf |
| Output modalities | text |
| Reasoning | Yes |
| Tool calling | Yes |
| Open weights | No |

## Pricing: USD per 1M tokens

| Input | Output | Cached input | Cache write |
| --- | --- | --- | --- |
| $15.00 | $75.00 | $1.50 | $18.75 |

## Benchmarks

| Benchmark | Score | Metric | Source |
| --- | --- | --- | --- |
| Aider Polyglot | 72 | percent correct | https://aider.chat/docs/leaderboards/ |

## Methodology

- Updates: Aggregated every hour. Days and weeks use UTC.
- Tokens: Input, output, reasoning, and cached tokens for each request.
- Users and sessions: Approximate counts of distinct users and OpenCode sessions.
- Cost: Session cost is the average cost per OpenCode session. Token prices are list prices from the OpenCode model catalog.
- Retention: The share of a model's users in one week who use it again the next week.
- Citation: Cite OpenCode Data (opencode.ai/data) with the update time shown at the top of the page.
