Skip to content
InnovateTechie
Claude Models

Claude Opus 4.8: Anthropic's Flagship Model Explained

InnovateTechieBy InnovateTechie9 min read
Share
Claude Opus 4.8: Anthropic's Flagship Model Explained

Part ofClaude Models Explained: Opus vs Sonnet vs Haiku

Claude Opus 4.8 is Anthropic's flagship model for hard reasoning and agentic coding: the benchmarks, $5/$25 pricing, 1M context, and when to pick it over Sonnet.

Claude Opus 4.8 is Anthropic's flagship large language model, released May 28, 2026, built for the hardest reasoning and agentic coding. It tops the SWE-bench Pro benchmark at 69.2%, costs $5 per million input and $25 per million output tokens, and holds up to a 1-million-token context window with an adaptive thinking mode you switch on per request.

We've spent weeks running the model across production coding work on this site, and this review covers what it actually is, where it leads, what it costs, and when the flagship earns its price over a cheaper Sonnet model. If you want the whole family mapped first, our Claude models explained guide lays out every tier.

What is Claude Opus 4.8?

Claude Opus 4.8 is Anthropic's premium, top-tier model — the most capable rung of a lineup that also includes the mid-tier Sonnet and the fast, cheap Haiku. Released May 28, 2026, it builds directly on Opus 4.7 with better judgment, cleaner tool use, and noticeably stronger agentic coding. Anthropic introduced it as a model tuned for software engineering and high-stakes enterprise work rather than casual chat.

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 generally available on Amazon Bedrock, 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.

Claude Opus 4.8 benchmarks: where it leads

On paper the jump from 4.7 looks incremental; on the hardest tests it isn't. The headline is SWE-bench Pro, the industry's toughest agentic software-engineering benchmark, where Claude Opus 4.8 scores 69.2% — almost five points clear of Opus 4.7 and more than ten points ahead of the nearest competitor. It was also, on Anthropic's Super-Agent benchmark, 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. Anthropic's what's-new documentation lists the full scorecard and the max 128k output ceiling.

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

Claude Opus 4.8 pricing and Fast Mode

Pricing didn't move. Claude Opus 4.8 costs $5 per million input tokens and $25 per million output tokens — identical to Opus 4.5 and 4.7 — so the upgrade is free in every sense but the compute you already pay for. 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 and 4.7
Fast Mode$10$50~2.5x speed, 3x cheaper than earlier Fast Mode
Prompt cachingup to 90% offOn cached input reads
Batch API50% off50% offAsync, non-urgent workloads

Fast Mode is the quiet win. It runs the model at roughly 2.5 times normal speed for $10 input and $50 output per million tokens — three times cheaper than Fast Mode was on previous Claude models. For latency-sensitive agent loops, that changes the economics of using a flagship model at all.

Effort levels and adaptive thinking

A defining feature of this release is explicit control over how hard the model thinks. Claude Opus 4.8 exposes five named effort levels that trade latency for depth, and the default is High everywhere — the API, claude.ai, and Claude Code.

Effort levelReach for it when
LowQuick lookups, formatting, simple edits
MediumEveryday knowledge work — the practical default
HighDefault: coding, analysis, most agent tasks
MaxHard, multi-step problems worth the wait
Ultra CodeThe most demanding unattended engineering

Thinking itself is separate and off by default. To make the model reason before answering, set thinking: {type: 'adaptive'} in your API request. One gotcha catches everyone: the model rejects the temperature, top_p, and top_k parameters — they return errors — so you steer behavior through prompting instead. Our extended thinking guide covers when the reasoning tokens are worth paying for, and the context window explainer covers how far 1M tokens actually stretches.

When to use Claude Opus 4.8 instead of Sonnet

The flagship isn't always the right call. Sonnet 5 is faster and costs $2 per million input and $10 output — a fraction of Opus — and handles most day-to-day work without blinking. We default to Sonnet and escalate to Opus only when a task genuinely needs the extra reasoning. Our Sonnet vs Opus comparison goes deeper, but the short version fits in a table.

Reach for Claude Opus 4.8Reach 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 flagship pays for its price.

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

Claude Opus 4.8 review: real strengths and honest limits

After weeks of daily use, here's our candid Claude Opus 4.8 review. The strengths are real: it follows instructions consistently across long, unattended engineering sessions, carries context and style better than 4.7 across a full session, 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 the model 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 runs without a human watching each step. That reliability is why it shipped generally available in GitHub Copilot on launch day, and why we hand it our gnarliest refactors. On Anthropic's Super-Agent benchmark it was the only model to finish every case from start to finish.

The limits are just as real. At $5/$25 it's the most expensive model in the family, so pointing it at trivial tasks burns money for no benefit. Like every Claude model, it does not generate images — it can analyze them, but image creation isn't a feature, so don't expect it. And because thinking is off by default, teams sometimes benchmark Opus 4.8 without it and wonder why the reasoning gains didn't show up. Where this version fits in the broader arc of the line is worth understanding too; our Opus release history traces every release.

The quick version:

  • Tops SWE-bench Pro at 69.2% for agentic coding
  • Best for the hardest reasoning and big refactors
  • Costs $5 in / $25 out per million tokens
  • Reach for it only when Sonnet 5 falls short

Claude pricing at a glance

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.

Frequently Asked Questions

Claude Opus 4.8 is Anthropic's premium model, released May 28, 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, and it targets software engineering and high-stakes enterprise work rather than casual conversation.

It costs $5 per million input tokens and $25 per million output tokens, the same as Opus 4.5 and 4.7. Prompt caching saves up to 90% and batch processing 50%. Fast Mode runs faster at roughly $10 input and $50 output per million tokens, three times cheaper than before.

The model has five named effort levels that control reasoning depth: Low, Medium, High, Max, and Ultra Code. The default is High on every surface, including the API and Claude Code. Medium is the practical default for most everyday knowledge-work tasks where speed matters more than maximum depth.

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. Simon Willison calls it "a modest but tangible improvement." It costs the same as 4.7, so upgrading carries no price penalty for the gains.

Thinking is off by default. Enable it by explicitly setting thinking: {type: 'adaptive'} in your API request. Also omit temperature, topp, and topk, since those parameters return errors on this model — you guide behavior through prompting instead of sampling controls.
InnovateTechie

Written by

InnovateTechie

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 →