An earlier version of this article contained API details that do not match Anthropic's documentation. The model ID is claude-opus-4-8, not a dated ID. Adaptive thinking is enabled with "type": "adaptive"; "auto" is not a thinking type. Dynamic workflows launched as a Claude Code research preview, not as an API beta header, and Anthropic describes hundreds of parallel subagents, not 10–100. "Dreams" is a separate Claude Managed Agents research preview announced on May 6 and was not part of the Opus 4.8 launch. Microsoft Foundry also gets the 1M context window. We have corrected the text and code below, and removed the claim that the 84% browser score and the "four times" figure describe the same thing.
Since publication, Claude Opus 5 (July 24) and Claude Opus 5.5 (September 22) have been released, and Anthropic's documentation now lists Opus 4.8 as legacy, with retirement not sooner than May 28, 2027. Fast mode for Opus 4.8 is deprecated and will be removed on November 30, 2026.
Opus 4.8 has a 1M token context window by default on every platform it launched on, at the same $5 / $25 per million input/output tokens as Opus 4.7. Adaptive thinking reasons only when a turn needs it, but it is off until you turn it on. Dynamic workflows let Claude Code plan a large job and run hundreds of parallel subagents in one session, as a research preview. Anthropic says Opus 4.8 is around four times less likely than Opus 4.7 to let flaws in its own code pass without comment.
1M Token Context: On by Default
Anthropic's release notes say Opus 4.8 supports a 1M token context window by default on the Claude API, Amazon Bedrock, Google Cloud and Microsoft Foundry. Max output is 128k tokens on the Messages API.
What this changes practically: you can pass a large codebase in a single call without switching to a chunking strategy first. Whether a given project fits depends on its token count, not its line count, so count tokens before you remove chunking logic that already works.
import anthropic
client = anthropic.Anthropic()
# Read entire codebase
with open("codebase_dump.txt") as f:
full_codebase = f.read() # Can be 500k+ tokens
response = client.messages.create(
model="claude-opus-4-8",
max_tokens=8192,
messages=[{
"role": "user",
"content": f"{full_codebase}\n\nFind all places where database connections are not properly closed."
}]
)
Adaptive Thinking: Reasoning That Knows When to Stop
With adaptive thinking enabled, Anthropic's release notes say Opus 4.8 "triggers reasoning only when a turn needs it, reducing wasted thinking tokens compared to Claude Opus 4.7 at the same effort level." The notes give no percentage, so measure the saving on your own traffic.
Two details catch people out. Thinking is off on Opus 4.8 until you set thinking: {"type": "adaptive"}. And how hard the model works is a separate setting, effort, which defaults to high; you do not set a token budget for adaptive thinking.
response = client.messages.create(
model="claude-opus-4-8",
max_tokens=16000,
thinking={"type": "adaptive"}, # Off unless you set it
messages=[{"role": "user", "content": task}]
)
The code above follows Anthropic's model and thinking documentation; we have not run it against the API for this article. Also note that non-default temperature, top_p or top_k values return a 400 error on Opus 4.8, so remove them from older request templates.
Dynamic Workflows: Parallel Subagents in Claude Code
Dynamic workflows are a Claude Code feature, launched as a research preview on Claude Code for Enterprise, Team and Max plans. In Anthropic's words, "Claude can plan the work and then run hundreds of parallel subagents in a single session". The orchestrating session breaks the job down, hands subtasks to subagents and assembles the result.
That is the architecture teams used to build themselves: task decomposition, a queue and an aggregation step. Because it is a research preview, pilot it on bounded work such as migrations or repository-wide cleanups, where you can check the result against tests.
Separately, Opus 4.8 has a fast mode in research preview on the Claude API: up to 2.5× the speed at $10 / $50 per million input/output tokens, twice the standard price.
Benchmarks: Read Who Is Talking
Anthropic says Opus 4.8 is "around four times less likely than its predecessor to allow flaws in code it has written to pass unremarked," based on its own evaluations. The 84% figure on Online-Mind2Web, a browser-agent benchmark, comes from a launch customer quoted in the announcement, not from Anthropic's own results table.
One caveat on all the figures above: benchmark numbers are a release snapshot, not a standing ranking. They reflect a specific model version, harness, and date, and they shift as newer models and evaluations arrive — treat them as a directional signal and validate against your own workloads.
Opus 4.8 — Migration Checklist
- Update model ID — switch to
claude-opus-4-8(on Amazon Bedrock,anthropic.claude-opus-4-8). Anthropic says dateless IDs from the 4.6 generation on are pinned snapshots. - Turn on adaptive thinking deliberately — set
"type": "adaptive"where you want reasoning, and compare token usage against your Opus 4.7 baseline at the same effort level. - Remove non-default sampling parameters —
temperature,top_pandtop_kset to non-default values return a 400. - Pilot dynamic workflows in Claude Code — for work you currently split across hand-built multi-agent scripts, try the research preview on a task with clear acceptance tests.
- Re-test manual context chunking — with 1M tokens by default, some chunking logic may no longer be needed; count tokens before removing it.