Skip to content
InnovateTechie
Claude Models

Claude Opus 4.8 (2026): Benchmarks, Price & Verdict

EdithBy Edith10 min read
Share
Claude Opus 4.8 — Anthropic's Opus 4-series model for agentic coding and hard reasoning

Part ofClaude Models Explained: Opus vs Sonnet vs Haiku

Quick answer

Claude Opus 4.8 tops SWE-bench Pro at 69.2% and costs $5/$25 per million tokens. The benchmarks, the pricing, and how it compares now Opus 5 has shipped.

Claude Opus 4.8 is the most capable model in Anthropic's Opus 4 series, released 28 May 2026 for the hardest reasoning and agentic coding. It tops SWE-bench Pro at 69.2%, costs $5 per million input and $25 per million output tokens, and holds a 1-million-token context window. Claude Opus 5 has since replaced it at the same price, but 4.8 remains callable as a legacy model.

Benchmarks, pricing, and lineup position verified 9 August 2026 against Anthropic's model overview.

We ran this model across production coding work on this site for weeks. This guide covers what it is, where it leads, what it costs, and — now that a newer Opus exists — whether there's still a reason to run it. If you want the whole family mapped first, our Claude models explained guide lays out every tier.

Key takeaway

Claude Opus 4.8 tops SWE-bench Pro at 69.2%, costs $5/$25 per million tokens, and holds a 1M-token context window — the same price as Opus 4.5, 4.7, and the newer Opus 5. New projects should start on Opus 5; 4.8 stays available for pinned deployments and as a refusal fallback.

What is Claude Opus 4.8?

The top of Anthropic's Opus 4 series, released 28 May 2026 and tuned for software engineering and high-stakes enterprise work rather than casual chat. It has since been superseded by Opus 5 at identical pricing.

It builds directly on Opus 4.7 with better judgment, cleaner tool use, and noticeably stronger agentic coding. Anthropic introduced it as an engineering-focused release.

You reach it as the model ID claude-opus-4-8 on the Claude API, or inside Claude for Pro, Max, Team, and Enterprise plans. It's also available on Amazon Bedrock (anthropic.claude-opus-4-8), Google Cloud, Microsoft Foundry, and GitHub Copilot, so most enterprise stacks can call it without leaving their existing cloud. Two things define the release: a 1-million-token context window by default and an adaptive thinking mode that lets the model reason before it answers.

Where it sits now matters as much as what it does. Above it are Claude Opus 5 — the current Opus, at the same $5/$25 — and the premium Claude Fable 5 at roughly double the price. For new work, Opus 5 is the default; 4.8 earns its place when you're pinned to it, have a deployment already validated against it, or need it as the recommended fallback when an Opus 5 safety classifier declines a request.

Benchmarks: where it leads

SWE-bench Pro at 69.2% — nearly five points clear of Opus 4.7 — with the largest gains on tasks demanding sustained reasoning across long context.

On paper the jump from 4.7 looks incremental; on the hardest tests it isn't. On Anthropic's Super-Agent benchmark it was the only model to complete every case end-to-end.

BenchmarkOpus 4.8Opus 4.7What it measures
SWE-bench Pro69.2%64.3%Real-world agentic software engineering
GDPval-AA (Elo)18901753Economically valuable knowledge work
USAMO96.7%69.3%Olympiad-level math reasoning
GraphWalks @ 1M tokens68.1%40.3%Tracking facts across long context

The pattern is clear: the biggest gains land on tasks that demand sustained reasoning — long-context tracking nearly doubled, and competition math jumped almost thirty points. For everyday questions you won't feel the difference. For multi-hour agent runs and dense codebases, you will.

One comparison worth knowing: Claude Sonnet 5, at $3/$15, actually beats this model on agentic terminal work, scoring 80.4 on Terminal-Bench 2.1 against 74.6. The Opus advantage is real but narrower than the tier gap suggests — see Claude Opus 4.8 vs Sonnet 5 for the full split.

Claude Opus 4.8 benchmark results versus Opus 4.7 across SWE-bench Pro, USAMO and long-context tracking

Pricing and Fast Mode

$5 per million input tokens and $25 per million output — identical to Opus 4.5, 4.7, and the newer Opus 5. Four consecutive releases at the same rate.

Two levers cut that further: prompt caching saves up to 90% on repeated context, and the Batch API halves the bill for non-urgent jobs. Our Claude API pricing breakdown has the full math.

ModeInput / 1MOutput / 1MNotes
Standard$5$25Same price as Opus 4.5, 4.7, and Opus 5
Fast Mode$10$50~2.5× output speed; Claude API only
Prompt cachingup to 90% offOn cached input reads
Batch API50% off50% offAsync, non-urgent workloads

Fast Mode runs the model at roughly 2.5 times normal output speed for $10 input and $50 output per million tokens. It requires the beta messages endpoint, the fast-mode-2026-02-01 beta flag, and speed: "fast" as a top-level request parameter. It's a research preview on the Claude API only — not available on Bedrock, Google Cloud, or Microsoft Foundry. Note that Opus 4.7's Fast Mode has been removed entirely, so 4.8 and Opus 5 are the only models that support it.

Effort levels and adaptive thinking

Five effort levels — low, medium, high, xhigh, and max — trading latency for depth, with high as the default everywhere.

Effort levelReach for it when
lowQuick lookups, formatting, simple edits
mediumCost-sensitive work that can trade some depth
highDefault: coding, analysis, most agent tasks
xhighThe best setting for most coding and agentic use cases
maxHard, multi-step problems worth the wait

Set it inside output_config, not at the top level: output_config: {effort: "xhigh"}.

Thinking is separate and off by default on this model — a quirk that catches people, because Opus 5 reverses it and thinks unless you disable it. To make 4.8 reason before answering, set thinking: {type: "adaptive"} explicitly. One further gotcha: temperature, top_p, and top_k are rejected and return a 400, so you steer behaviour through prompting instead. Our extended thinking guide covers when reasoning tokens are worth paying for, and the context window explainer covers how far 1M tokens actually stretches.

When to use it instead of Sonnet

When a job runs unattended for hours, spans a dense legacy codebase, or fails repeatedly on Sonnet. Otherwise Sonnet 5 handles it faster and cheaper.

Sonnet 5 costs $2 per million input and $10 output at its introductory rate (through 31 August 2026; $3/$15 after) and handles most day-to-day work without blinking. We default to Sonnet and escalate only when a task genuinely needs the extra reasoning. Our Sonnet vs Opus comparison goes deeper.

Reach for OpusReach for Sonnet
Multi-hour, unattended agent runsInteractive, single-turn coding
Dense legacy codebases and big refactorsWell-scoped feature work
High-stakes analysis where errors are costlyDrafting, summarizing, routine Q&A
Problems where 4.7 kept failingAnything latency- or budget-sensitive

The honest rule we follow: if Sonnet solves it in two tries, keep using Sonnet. When the same prompt fails repeatedly or the job runs for hours untouched, the accuracy of the bigger model pays for its price.

When to choose Claude Opus 4.8 over Sonnet — a decision table for agentic coding versus everyday tasks

Review: real strengths and honest limits

Strong, consistent instruction-following across long unattended sessions — but it's no longer the model to start on, and pointing it at trivial work burns money.

The strengths are real: it follows instructions consistently across long engineering sessions, carries context and style better than 4.7, and it's faster despite thinking harder. Simon Willison called it "a modest but tangible improvement," and that matches our experience — the comment-verbosity and tool-calling quirks of Opus 4.7 are largely gone.

Coding is where it separates from the pack. It's built for complex agentic work — planning a change, editing across files, running tests, and fixing what breaks — and it holds instructions steadily enough for unattended engineering. That reliability is why it shipped generally available in GitHub Copilot on launch day.

The limits are just as real. It is no longer the current Opus: Opus 5 is a step up at exactly the same price, so a new project choosing 4.8 is leaving capability on the table for free. At $5/$25 it's expensive for trivial tasks. Like every Claude model, it does not generate images — it can analyse them, but image creation isn't a feature. And because thinking is off by default here, teams sometimes benchmark it without thinking enabled and wonder why the reasoning gains didn't show up. Our Opus release history traces where this version sits in the arc of the line.

The quick version:

  • Tops SWE-bench Pro at 69.2% for agentic coding
  • Costs $5 in / $25 out per million tokens — same as Opus 5
  • Superseded by Opus 5; keep it for pinned deployments and refusal fallbacks
  • Reach for it only when Sonnet 5 falls short

Claude pricing at a glance

Opus-tier access needs Pro ($20/mo) or above; on the API you pay $5/$25 per million tokens whether you call Opus 5 or 4.8.

PlanPrice
Free$0
Pro$20 / month
Maxfrom $100 / month
APIPay per token

For the full breakdown of every plan, see our how much Claude costs guide, and Anthropic's official pricing page for current per-token rates. Ready to move up? Our Claude Opus 5 guide covers the two breaking changes to check before you switch the model string.

Frequently Asked Questions

Claude Opus 4.8 is the most capable model in Anthropic's Opus 4 series, released 28 May 2026, building on Opus 4.7 with better judgment, cleaner tool use, and stronger agentic coding. It supports a 1-million-token context window and adaptive thinking. Claude Opus 5 has since replaced it as the current Opus model.

No. Claude Opus 5 is the current model in the Opus line and costs the same $5/$25 per million tokens, so new projects should start there. Opus 4.8 remains callable as a legacy model and is Anthropic's recommended fallback when an Opus 5 safety classifier declines a cyber-category request.

It costs $5 per million input tokens and $25 per million output tokens, the same as Opus 4.5, 4.7, and Opus 5. Prompt caching saves up to 90% and batch processing 50%. Fast Mode runs at roughly 2.5× output speed for $10 input and $50 output per million, on the Claude API only.

Five levels control reasoning depth: low, medium, high, xhigh, and max. The default is high on every surface. Set it inside outputconfig, not at the top level. For most coding and agentic use cases, xhigh is the recommended setting.

It supports a 1-million-token context window by default on the Claude API, Amazon Bedrock, Google Cloud, and Microsoft Foundry, with up to 128k maximum output tokens. That's large enough to hold entire codebases or long document sets in a single session without external retrieval.

Yes, incrementally. It fixes Opus 4.7's comment-verbosity and tool-calling issues, carries context and style better across long sessions, and runs faster. It costs the same as 4.7, so upgrading carries no price penalty for the gains. Fast Mode is also removed on 4.7 but supported on 4.8.

Thinking is off by default on this model. Enable it by explicitly setting thinking: {type: "adaptive"} in your API request. Note this is the reverse of Opus 5, which thinks unless you disable it. Also omit temperature, topp, and topk — those parameters return a 400 error.
Edith

Written by

Edith

Writing about Claude and the Anthropic toolkit — models, Claude Code, pricing, features, and fixes, in clear, practical, hands-on guides tested by daily use.

View all posts →