At a glance
Claude Opus 4 from Anthropic is a frontier model priced at US$15.00 per 1M input tokens and US$75.00 per 1M output tokens. For a typical solo-developer workload (8 hours/day, 22 days/month — 1 medium feature, 5 small bug fixes, 4 PR reviews, 2 stack-trace debugs, ~1500 lines of TypeScript, 1 large-doc read, with prompt caching at the default mix) Claude Opus 4 costs about US$356/month. The 200K-token context window covers most monorepo scans without truncation.
What does your monthly budget buy?
Move the slider or switch task mix — values update live.
Monthly budget
US$100 / month
≈ $23/wk · ≈ $4.55/day
on Claude Opus 4
Input tokens
10.3M
Output tokens
200K
Total tokens
10.5M
Per month this budget delivers
- Medium feature (10–15 files)16
- PR review211
- Lines of TypeScript57,971
- Small bug fix233
- Work email4,535
- Unit test file164
How does this model compare on price?
Input vs output per 1M tokens
- Claude Opus 4US$15.00US$75.00
- Frontier median (other frontier models)US$2.00US$12.00
- Cheapest in catalog (Gemini 2.0 Flash)US$0.10US$0.40
Cost per task
At the default coding-agent mix with 50% cache hits.
USD per single task
- Lines of TypeScriptUS$0.0017
- Small bug fixUS$0.43
- PR reviewUS$0.47
- Read a large docUS$0.60
- Debug from stack traceUS$1.07
- Refactor a module (8–12 files)US$4.31
- Onboard to a new repoUS$5.85
- Medium feature (10–15 files)US$6.13
Typical developer day
The 22-day month is based on the median working-day count across DE/US.
| Activity | Count | Per task | Daily | Monthly |
|---|---|---|---|---|
| Medium feature (10–15 files) | 1 | US$6.13 | US$6.13 | US$134.89 |
| Small bug fix | 5 | US$0.43 | US$2.14 | US$47.03 |
| PR review | 4 | US$0.47 | US$1.89 | US$41.58 |
| Debug from stack trace | 2 | US$1.07 | US$2.15 | US$47.19 |
| Read a large doc | 1 | US$0.60 | US$0.60 | US$13.20 |
| Micro-interaction (explain / lint fix) | 30 | US$0.02 | US$0.70 | US$15.35 |
| Lines of TypeScript | 1,500 | US$0.00 | US$2.59 | US$56.93 |
| Total | US$16.19 | US$356.15 | ||
The 1500-lines-of-TS row models ~1000 lines read (cache-hit) + ~500 lines written. Headline figures are precise to ~5% — see the FAQ.
Monthly cost matrix
What each monthly budget buys on this model (typical solo-developer day, 22 working days).
| Monthly budget | Medium features | PR reviews | Debug sessions | Lines of TS |
|---|---|---|---|---|
| Typical (≈ $356) | 58 | 753 | 332 | 206,465 |
| $50/month | 8 | 105 | 46 | 28,985 |
| $200/month | 32 | 423 | 186 | 115,942 |
| $500/month | 81 | 1,058 | 466 | 289,855 |
| $2000/month | 326 | 4,232 | 1,864 | 1,159,420 |
Typical mix: coding-agent (85% input, 50% cache hits). Values show the maximum count of each task type at that budget.
What this model can do
Coding
Trained or post-trained for code generation tasks.
Reasoning
Strong multi-step reasoning over complex prompts.
Multimodal
Accepts images alongside text.
Prompt cache
Cache reads billed at ~10% of input price — cuts agent costs sharply.
Batch API
50% off when you accept up to 24-hour turnaround.
Tool use
Native function-calling / tool-use API support.
Long context
≥ 200K-token context window.
Extended thinking
Hidden reasoning tokens (Anthropic 'thinking' / OpenAI reasoning).
When does this model fit?
Best for
- Pinned workflows that haven't been re-evaluated against 4.7 yet
- Comparison baseline for benchmark studies
Watch out for
- Same price as 4.7 with strictly less capability — switch to 4.7 unless you have a measured reason not to
Anthropic in the catalog
Total models
5
Median input/1M
US$3.00
Median output/1M
US$15.00
Input range
US$1.00–US$15.00
Related models
Sources
- Anthropic Pricing ↗
Verified: 2026-05-07
Frequently asked questions about Claude Opus 4
What does a typical month on Claude Opus 4 cost?
Running the realistic solo-developer day (1 medium feature + 5 small bug fixes + 4 PR reviews + 2 debug sessions + ~1500 lines of TypeScript + 1 large-doc read, 22 working days) on Claude Opus 4 costs about US$356/month. Heavier workloads scale proportionally; lighter workloads cost less.
How big is Claude Opus 4's context window?
200K tokens total, with up to 32K of output. That fits whole repository snapshots, tests included in a single call.
Why is Claude Opus 4 output priced so much higher than input?
Providers charge US$75.00 per 1M output tokens against US$15.00 per 1M input — output requires real compute, input comes mostly from cache. Coding agents read many files (input-heavy) and emit compact diffs (low output), so total spend is usually input-driven.
How much does prompt caching save on Claude Opus 4?
Cache reads typically cost only 10% of the regular input rate. On a coding-agent mix with 50% cache hits, that saves roughly 45% on input — which is about 38% off your total bill on input-heavy workloads. Anthropic models charge a one-time cache-write surcharge (25% over input) that pays for itself after 2–3 hits.
How do thinking tokens affect Claude Opus 4's monthly bill?
Extended-thinking / reasoning tokens are billed at the full output rate but never appear in your visible response. On hard agentic tasks they can double your output bill, lifting the monthly total by 20–30%. Enable thinking only when the standard response visibly fails.
Is Claude Opus 4's batch API worth using?
Yes, if you can tolerate up to 24-hour turnaround: batch input/output are 50% cheaper than real-time rates. Perfect for nightly code reviews, bulk refactors or pre-merge analysis — wrong for inner-loop editing where you need an answer in seconds.
Try Claude Opus 4 pricing live
Open the full calculator with your own budget, task mix and region (US or DE with 19% VAT).
Open calculator