$ ls ./menu

© 2025 ESSA MAMDANI

LIVE
cd ../blog
8 min read
AI Models

Claude Opus 5 Is Here: What 1M Context, Default Thinking, and $5/$25 Pricing Change for Developers

> Claude Opus 5 launches with a 1M-token context window, 128K output, default thinking, and unchanged $5/$25 per MTok pricing. Here is the practical migration guide for coding and agent teams.

ShareXLinkedIn

🎧 Listen — ~8 min

Audio summary not available yet

~8 min
Claude Opus 5 Is Here: What 1M Context, Default Thinking, and $5/$25 Pricing Change for Developers
Verified by Essa Mamdani

Anthropic has released Claude Opus 5 (claude-opus-5). The important part is not merely that a new flagship model exists. It is that Anthropic has changed the practical envelope for everyday high-end work: a 1 million-token context window, 128K maximum output, thinking enabled by default, and the same $5 per million input tokens / $25 per million output tokens pricing as Opus 4.8.

That combination makes Opus 5 worth treating as a production-model decision, not just a benchmark-news headline. Large repositories, long incident timelines, multi-document research, and tool-using agents all tend to fail at the seams: context gets compressed, plans get split across calls, or a model gives up after a plausible first attempt. Opus 5 is aimed squarely at those seams.

This is the developer-first read: what changed, where it is useful, how to migrate safely, and when a cheaper model is still the smarter choice.

The launch in one minute

According to Anthropic’s July 24 platform release notes, Opus 5 is available immediately through the Claude API, Amazon Bedrock, Google Cloud, and Microsoft Foundry.

CapabilityClaude Opus 5
Model IDclaude-opus-5
Context window1M tokens (default and maximum)
Maximum output128K tokens
ThinkingOn by default
Effort levelslow, medium, high, xhigh, max
API price$5 input / $25 output per MTok
Tooling changeMid-conversation tool changes in beta

The headline price is especially notable. Bigger context normally creates a nasty trade-off: either pay more, or reserve the model for rare escalations. Holding the Opus 4.8 rate while expanding the operating envelope gives teams room to use the model on difficult work without redesigning every budget guardrail first.

Why the 1M-token context window matters in practice

A million tokens is not a prompt-writing invitation to paste everything into every request. It is an architectural option.

For a coding agent, it can mean keeping the repository map, relevant source files, test failures, architecture decisions, and recent tool results in one coherent working set. For an incident assistant, it can mean retaining the alert timeline, traces, change history, runbooks, and the conversation with the on-call engineer rather than summarising each phase into progressively blurrier notes.

The win is less “the model remembers more” and more “your workflow throws away less.” Each summarisation hop can remove constraints, introduce a wrong assumption, or erase why a previous approach was rejected. Bigger context reduces those hand-offs, but it does not eliminate the need for structure.

Use the window deliberately:

  1. Put stable instructions, architecture notes, and definitions first.
  2. Add the smallest relevant source set, not a raw repository dump.
  3. Keep tool outputs bounded and persist durable facts outside the transcript.
  4. Ask the model to state which files, assumptions, and tests its answer depends on.

This complements a well-built agent stack rather than replacing one. If your agents need clean tool contracts, permissions, skills, and memory boundaries, read AI Agent Stacks: Skills, Plugins, MCP, ACP, Memory and Workflows.

Default thinking: useful, but it changes your latency and cost model

Opus 5 turns thinking on by default. That is a sensible default for root-cause analysis, implementation planning, and tasks where an incorrect confident answer is expensive. It also means teams should re-baseline response time and token usage before switching a production route wholesale.

Anthropic exposes an effort ladder from low to max. Treat it like a routing control, not a magic quality knob:

  • Low: classification, extraction, simple transformations, and inexpensive retries.
  • Medium: ordinary code review, concise planning, and bounded support work.
  • High: multi-file changes, debugging, and important analytical tasks.
  • Xhigh / max: capability-critical work where a slower, more thorough attempt is cheaper than a human re-run.

The right evaluation is task-level, not model-level. Measure completion rate, test pass rate, tool calls, wall-clock time, and reviewer intervention. A model that emits more reasoning tokens can still be less expensive if it needs fewer turns and fewer manual corrections.

For a production pattern, pair this with observability. OpenTelemetry GenAI Observability: A Production Guide covers the traces and evaluation signals worth keeping when an agent is allowed to act.

A breaking migration detail that can bite API teams

The release notes contain one easy-to-miss behavioural change: you can only disable thinking at high effort or below. Sending thinking: {"type":"disabled"} with xhigh or max returns a 400 error.

This matters if you have a generic request builder that independently selects effort and thinking. Audit that code before changing the model ID.

The safe migration sequence is simple:

ts
1const effort = task.isCritical ? "high" : "medium";
2
3const request = {
4  model: "claude-opus-5",
5  max_tokens: 4096,
6  // Let Opus 5 use its default thinking behaviour for complex work.
7  // Only disable it when effort is high or lower.
8  ...(task.needsFastDeterministicOutput && effort !== "xhigh" && effort !== "max"
9    ? { thinking: { type: "disabled" } }
10    : {}),
11  // Use the SDK/API shape appropriate to your client.
12};

Do not copy this as a universal policy. For code generation and incident analysis, leaving thinking enabled is often the point of choosing Opus. For high-volume JSON extraction, a smaller or faster model is usually the better route.

Tool-using agents get a small but meaningful upgrade

Opus 5 also introduces mid-conversation tool changes in beta. With the mid-conversation-tool-changes-2026-07-01 beta header, an application can add or remove tools between turns while preserving prompt cache.

That is useful for progressive disclosure. Start an agent with read-only search and inspection tools. Once it has a plan and the user approves, add a narrow write tool. When the task moves from code changes to verification, swap in test and deployment tools instead of giving the agent a giant, permanently available toolbox.

It is a cleaner way to apply least privilege, and it maps well to MCP-based systems. For threat modeling the tool boundary itself, see MCP Security Threat Modeling Guide and The Complete Guide to Model Context Protocol.

Where Opus 5 should be your first experiment

Start with work that is complex enough to benefit from sustained reasoning but bounded enough to evaluate honestly:

Avoid making the first trial a vague “improve the whole product” task. A successful evaluation needs a known expected outcome, source material, and a human reviewer who can distinguish a useful solution from an impressive-looking one.

Opus 5 vs. Sonnet 5 vs. a smaller model

The model hierarchy should remain workload-driven.

Choose Opus 5 when correctness, long-context coherence, and hard tool-using work matter more than raw throughput. It is a strong candidate for an escalation route: the model that receives difficult bug reports, code-review disagreements, multi-step implementation tasks, and final planning.

Choose Sonnet 5 when the task is frequent, well-scoped, and latency-sensitive. Sonnet is often the better default for drafting, routine coding assistance, and structured operations at scale. Our earlier Claude Sonnet 5 deep dive provides the useful comparison point.

Choose a smaller model, deterministic program, or retrieval system for classification, routing, schema validation, and simple transformations. The cheapest reliable step is still the best step. For a broader market snapshot, compare against July 2026 Frontier Model Comparison.

A rollout checklist

Before making Opus 5 the default, run a controlled rollout:

  1. Freeze a representative set of real tasks and their expected acceptance criteria.
  2. Run Opus 4.8 and Opus 5 on the same set with consistent tool access.
  3. Record quality, latency, input/output/thinking tokens, tool-call count, and human correction time.
  4. Test the thinking/effort combinations your request builder actually emits.
  5. Verify long-context cases separately; a 1M-token limit does not prove your prompt layout is good.
  6. Put dangerous tools behind explicit approval and least-privilege scopes.
  7. Roll out by route, not all at once: high-value debugging and review first, bulk traffic later.

The central lesson is unglamorous but valuable: a more capable model does not fix an unmeasured workflow. Opus 5 makes it possible to keep more state and spend more reasoning on the right problems. Your product still needs clear tool boundaries, evaluation gates, and a decision about when the extra work is worth paying for.

Sources

Related reading

Keep reading

#Claude#Anthropic#AI agents#coding#LLM API#developer tools
ShareXLinkedIn

⚡ Daily AI Model Drop — Get Kimi K3 benchmarks before Twitter

Join 2,400+ AI engineers. 1 email/day, no spam, unsubscribe anytime

Comments