Claude Opus 5
Claude Opus 5 launched 24 July 2026 with a 1M-token context, 128k output and $5/$25 per million tokens. What it is best at, and where it is overkill.
Claude Opus 5 is Anthropic's general flagship model, released 24 July 2026. It costs $5 per million input tokens and $25 per million output tokens, takes a 1,000,000-token context, returns up to 128,000 output tokens, and has a May 2026 knowledge cutoff — the most recent of any Claude model. Anthropic recommends it as the default starting point for complex agentic coding and enterprise work.
It is not the top of the range: Claude Fable 5 sits above it at twice the price. But Opus 5 is the newest brain in the lineup, and for work that needs more than Sonnet 5 it is the model to reach for. This page covers what it costs, how the effort parameter behaves, the API changes that break older code, and where paying for it is a waste.
#Claude Opus 5 at a glance
- API model ID
claude-opus-5- API alias
claude-opus-5(dateless, pinned snapshot)- Released
- 24 July 2026
- Context window
- 1,000,000 tokens (default, no beta header)
- Max output
- 128,000 tokens; 300,000 in Batch with a beta header
- Knowledge cutoff
- May 2026
- Price
- $5 in / $25 out per million tokens
- Thinking
- Adaptive, on by default,
effortdefaults tohigh - Retirement
- Not sooner than 24 July 2027
#Claude Opus 5 pricing in full
Opus 5 costs $5/$25 per million tokens on the standard API. That is the same headline price as the whole Opus 4.x line, and a third of what the retired Opus 4.1 charged at $15/$75. Every discount stacks on the base rate rather than replacing it.
| Billing mode | Input per MTok | Output per MTok | Notes |
|---|---|---|---|
| Standard | $5.00 | $25.00 | Full 1M context at this rate |
| Cache write, 5-minute TTL | $6.25 | — | 1.25× base input |
| Cache write, 1-hour TTL | $10.00 | — | 2× base input |
| Cache read / refresh | $0.50 | — | 0.1× base input |
| Batch API | $2.50 | $12.50 | Flat 50% off, 24-hour window |
| Batch + cache read | $0.25 | — | Multipliers stack |
| Fast mode (research preview) | $10.00 | $50.00 | Up to 2.5× output speed, first-party API only |
| US data residency | $5.50 | $27.50 | inference_geo: "us" applies 1.1× to every category |
Opus 5 and Fable 5 have the lowest minimum cacheable prompt length of any Claude model — 512 tokens, against 1,024 on Sonnet 5 and 4,096 on Opus 4.5 and 4.6. Short system prompts and small tool definitions that were too small to cache on older Opus models are now cacheable. Caching pays for itself after one read on the 5-minute TTL, or two reads on the 1-hour TTL.
If you are sizing a budget rather than a single call, the pricing page covers subscriptions and API rates side by side, and the Claude API page works caching and batching through with worked numbers.
#How the effort parameter works on Opus 5
Thinking is on by default on Opus 5. You do not enable it; you tune how much of it happens, using an effort ladder with five rungs. The wire shape is output_config, not the old thinking.budget_tokens field:
{
"model": "claude-opus-5",
"max_tokens": 8192,
"output_config": { "effort": "max" },
"messages": [{ "role": "user", "content": "Refactor this module." }]
}
effort | Behaviour | Sensible use |
|---|---|---|
low | Minimal deliberation, fastest, cheapest output | Formatting, short extraction, mechanical edits |
medium | Moderate reasoning before answering | Routine code changes, summarisation with judgement |
high | Default. Substantial reasoning | Most agentic coding and analysis |
xhigh | Extended deliberation, noticeably slower and more expensive | Hard debugging, architecture decisions, multi-file refactors |
max | Maximum work per response | The genuinely difficult single call where cost is irrelevant |
The distinction Anthropic draws is worth internalising: the thinking parameter controls whether Claude produces thinking blocks before answering, while effort controls how much work goes into the whole response, thinking included. They are not the same dial. Thinking tokens are billed as output tokens, count against max_tokens, and count toward your rate limits even when the display is omitted. The mechanics across the whole lineup are on the thinking modes page.
On Opus 5 you may send thinking: {"type": "disabled"} only when effort is high or below. Combine it with xhigh or max and the API returns a 400 error. This is a breaking change from Opus 4.8, which accepted the combination. If you have a config that raises effort for hard tasks while disabling thinking blocks for output cleanliness, it will fail on Opus 5 and pass on 4.8 — a difference that shows up in production and not in a smoke test.
#API parameters that no longer work
Three sampling parameters are dead on Opus 5. temperature, top_p and top_k have been deprecated since Opus 4.7, and passing any of them a non-default value returns a 400 error rather than being silently ignored. Anthropic's replacement advice is blunt: omit them and steer behaviour through the prompt instead. Assistant message prefilling — starting the model's reply for it — was removed from 4.6 onward and also 400s.
That removes most of the classic determinism levers. If you were setting temperature: 0 for reproducible evaluation runs, there is no equivalent knob; you get variance and must design evaluations that tolerate it. That is a real regression for anyone running strict suites. Practical patterns are covered on the Claude for developers page.
Two additions run the other way. On the Batch API, the output-300k-2026-03-24 beta header raises max_tokens to 300,000 on Opus 5 — as well as Opus 4.8, 4.7, 4.6 and Sonnet 5 — at standard batch pricing. Anthropic notes a single 300k-token generation can take over an hour, so pair it with the 1-hour cache TTL. And a separate beta, mid-conversation-tool-changes-2026-07-01, lets you add or remove tools between turns on Opus 5 without invalidating the prompt cache, which matters for MCP-driven agents whose toolset changes as a task progresses.
#Migrating from Opus 4.x to Opus 5
For most codebases this is a one-line change:
- model="claude-opus-4-8"
+ model="claude-opus-5"
Then check three things.
- Thinking is on by default now. Opus 4.8 has adaptive thinking available but requires configuration; Opus 5 has it on out of the box. Your token accounting will shift upward if you were not budgeting for thinking output.
- The
xhigh/maxplus disabled-thinking combination 400s, as above. Audit any config that sets both. - Delete carried-over verification instructions. Anthropic explicitly calls out prompt lines such as "include a final verification step" or "use a subagent to verify" — habits from earlier Opus versions — as causing over-verification on Opus 5. The model does this work itself now; instructing it again makes runs longer and more expensive for no gain.
Coming from an older generation is a bigger job. Anything written for Claude 4 or 4.5 also carries temperature, prefills and manual thinking budgets, all of which now fail. Claude Code ships a /claude-api migrate skill that applies model-ID swaps and breaking parameter changes across a repository. Historical context on the earlier releases is in the Opus family archive.
#Rate limits for Claude Opus 5
Anthropic's tiers are named Evaluation, Start, Build, Scale and Custom — not Tier 1 to 4 — and organisations are placed automatically based on usage history and account standing. Opus 5 gets its own rate-limit bucket, separate from the shared Opus 4.x pool, so migrating to it does not eat the quota your 4.x traffic is still using.
| Tier | Requests / min | Input tokens / min | Output tokens / min | Monthly spend cap |
|---|---|---|---|---|
| Start | 1,000 | 2,000,000 | 400,000 | $500 |
| Build | 5,000 | 5,000,000 | 1,000,000 | $1,000 |
| Scale | 10,000 | 10,000,000 | 2,000,000 | $200,000 |
| Custom | Arranged with an account team | No cap | ||
Two behaviours are worth designing around. Cache reads do not count toward your input-tokens-per-minute limit — only fresh input and cache writes do — so aggressive caching buys throughput as well as money. And hitting a spend cap returns a 429 with error_code: "enforced_spend_limit_reached" and no retry-after header, which will confuse a naive backoff loop into retrying forever. A self-imposed limit returns a 400 instead. Fable 5's limits are much tighter than these at every tier.
#How capable is Opus 5, honestly?
Independent measurement puts it at the top. On the Artificial Analysis Intelligence Index, Opus 5 ranks first with a score of 63. On ARC-AGI-3, verified by the ARC Prize foundation, it scores 30.16% against GPT-5.6 Sol's 7.78% — a roughly four-fold gap on novel-problem reasoning.
Anthropic's own claims are relative rather than numeric. On Frontier-Bench v0.1 it says Opus 5 "surpasses all other models" and more than doubles Opus 4.8's performance at lower cost per task; on CursorBench 3.2 at max effort it lands "within 0.5% of Fable 5's peak score, but at half the cost per task"; on Zapier's AutomationBench it claims a pass rate around 1.5× the next-best model at equal cost.
For the 5-generation, Anthropic publishes benchmark results as chart images on announcement pages and inside system-card PDFs, not as figures in the page text. No exact SWE-bench Verified, GPQA or OSWorld score for Opus 5 could be extracted from any primary Anthropic source. Third-party blogs circulating specific percentages are not citing a primary source, and this site does not repeat them. Competitors publish full numeric tables; Anthropic currently does not.
Where Opus 5 loses is also documented. It generates no images, video or audio and accepts neither video nor audio input. Claude's long-context retrieval is the weakest of the big three despite the 1M window. And rival models hold the top scores on OSWorld 2.0 and Terminal-Bench. The full head-to-heads are on Claude vs ChatGPT and Claude vs Gemini.
#When Claude Opus 5 is overkill
Opus 5 is five times the input price of Sonnet 5 and 2.5× its output price. That premium is worth paying for a narrower set of tasks than most teams assume. Skip it when:
#The task is high-volume and shallow
Classification, tagging, routing, extraction, or sub-agent calls inside a bigger loop. Haiku 4.5 at $1/$5 does these at a fifth of the price, and speed is usually the binding constraint anyway.
#Sonnet 5 already passes
If your evaluation suite is green on Sonnet 5, upgrading buys nothing measurable. Move up when a real task fails, not because a chart says a bigger model exists.
#You are paying for latency you do not need
Default effort: high means Opus 5 thinks before most answers. For interactive, low-stakes responses that is wasted tokens and wasted seconds — drop to low, or drop a tier.
The honest default remains Sonnet 5, with Opus 5 reserved for complex agentic coding, large refactors, vision-heavy work, computer use, and anything where knowledge past January 2026 matters. If you want that framed as cost per completed task rather than cost per token, the model comparison does the arithmetic, and the model index lists every current and retired option. Teams with procurement constraints should also check what is bundled per seat on the enterprise page before buying API credit.
#Frequently asked questions
How much does Claude Opus 5 cost?
$5 per million input tokens and $25 per million output tokens on the standard API. Cache reads cost $0.50 per million, the Batch API takes a flat 50% off both figures, and the full 1M-token context is billed at the same rate as a short request.
What is Claude Opus 5's knowledge cutoff?
May 2026, for both the reliable knowledge cutoff and the training data cutoff. That is the most recent of any Claude model — newer than Fable 5 and Sonnet 5, which both stop at January 2026. If recency matters more than raw capability, Opus 5 is the better choice.
Why does disabling thinking return a 400 error on Opus 5?
Because Opus 5 accepts thinking disabled only when the effort parameter is high or below. Combining a disabled thinking block with effort set to xhigh or max returns a 400. This is a breaking change from Opus 4.8, which allowed the combination.
Is Opus 5 better than Fable 5?
Not on raw capability, but often on value. Fable 5 is positioned above Opus 5 for long-running agents and costs twice as much. Anthropic states Opus 5 lands within 0.5% of Fable 5's peak CursorBench 3.2 score at maximum effort, for half the cost per task.
How do I migrate from Opus 4.8 to Opus 5?
Change the model string to claude-opus-5. Then account for thinking being on by default, remove any config that disables thinking while effort is xhigh or max, and delete carried-over instructions telling Claude to verify its work — they cause over-verification on Opus 5.
What are Opus 5's rate limits?
On the Start tier, 1,000 requests, 2 million input tokens and 400,000 output tokens per minute, with a $500 monthly spend cap. Build and Scale tiers raise these substantially. Opus 5 has its own bucket, separate from the shared Opus 4.x pool, and cache reads do not count toward the input limit.
Specifications, the effort ladder and rate limits checked against platform.claude.com/docs, and prices against claude.com/pricing on 21 August 2026. Beta headers and preview features in particular change quickly — confirm current behaviour before you ship.