Skip to main content

Claude Opus 4.6 chat from Anthropic through an OpenAI-compatible endpoint. It takes up to 1,000,000 tokens of text and image context and returns up to 128,000, with temperature and top_p control, up to 128 tool definitions and SSE streaming.

Input $5Output $25per 1 million tokensCached input $0.50Cache write $6.25

Workbench

Claude Opus 4.6

What can Claude Opus 4.6 help with?

Related models and next tasks

Missing the model you need?

Tell us what to add and where you would use it. Requests go to the people who decide what gets onboarded next.

Build stable message flows for million-token context with the sampling controls kept

Opus 4.6 is the combination the other Claude routes here split between them: a 1,000,000-token window and a 128,000-token reply ceiling, while still exposing temperature and top_p rather than a reasoning dial. If you have tuned sampling and also need the long window, this is the only route in this catalogue that gives you both.

Open the chat playground
Build stable message flows for million-token context with the sampling controls kept
Model
Claude Opus 4.6
Good for
million-token context with the sampling controls kept
Message shape
System rules → evidence and state → current task → output contract
Fact boundary
Capabilities, controls, and price come from the live schema

Integration principle

Validate with the smallest message set, then add necessary context. Separate facts, assumptions, and constraints, and design interruption, retry, settlement, and review paths.

Build repeatable workflows for million-token context with the sampling controls kept

Opus 4.6 is the combination the other Claude routes here split between them: a 1,000,000-token window and a 128,000-token reply ceiling, while still exposing temperature and top_p rather than a reasoning dial. If you have tuned sampling and also need the long window, this is the only route in this catalogue that gives you both.

  • Both, not either

    Long window and sampling controls

    Opus 4.5 has the controls but stops at 198,000 tokens; Opus 5 has the window but replaces sampling with effort. This route is the overlap.

  • Room to answer

    Up to 128,000 tokens in one reply

    Four times the ceiling of Opus 4.5, which matters when the output is a document rather than an answer.

  • Long input is priced per token

    No separate long-context rate on this route

    Input, cached input and output each have one rate. A long call costs more because it is longer, not because it crossed a threshold.

Where Claude Opus 4.6 wins on task cost and interaction shape

Test one real task for quality, verifiability, latency, and sale-price fit instead of relying on a general leaderboard.

  1. Choose 4.6

    You need the window and the knobs

    Whole repositories, long transcripts and document sets, handled with the temperature you already settled on.

  2. Choose Opus 5

    You prefer declaring effort

    Same window and ceiling, but reasoning_effort at low, medium or high in place of temperature and top_p.

  3. Choose Sonnet 4.6

    The work is long but not hard

    The same million-token window and sampling controls at roughly 60% of the price per million, with a 64,000 output ceiling.

Turn Claude Opus 4.6 into concrete work, not generic labels

Every scenario needs input boundaries, verification, and recovery; official capabilities, benchmarks, and tool support are never invented.

  • The whole codebase in one call

    Repository review

    The whole codebase in one call

    A million tokens removes most of the retrieval layer. Send the tree and ask for the specific judgement you need.

  • Many sources, one written result

    Long document synthesis

    Many sources, one written result

    Reading a set of long documents and producing a 100,000-token write-up fits inside a single call on this route.

  • Old and new side by side

    Migration planning

    Old and new side by side

    Both versions of a spec or schema fit at once, so the diff is the model's to find rather than yours to prepare.

  • Adult characters, clear boundaries

    Unrestricted narrative work

    Adult characters, clear boundaries

    Long-form continuity across a large body of existing text, with the sampling controls you have already calibrated. Our platform adds no content filter.

Organize context into an inspectable Claude Opus 4.6 input

Objective, evidence, state, constraints, and output contract need distinct jobs so requests can be compressed, debugged, and reproduced.

  1. Order

    Rules first, then evidence, then the task

    Over a long input, an instruction buried in the middle competes with the material around it.

  2. Caching

    Keep the stable prefix stable

    Cached input is billed at a tenth of the input rate. Reordering the prefix between calls throws that away.

  3. Sampling

    Change one variable at a time

    Temperature and prompt structure move the result in ways that are hard to separate after the fact.

  4. Output

    Name the sections you want back

    A 128,000-token ceiling is room, not a plan. Asking for a structure keeps a long answer reviewable.

Prove a repeatable Claude Opus 4.6 case before product integration

Confirm live schema, quote, streaming, and error behavior before reusing the normalized request.

  1. 01 · Baseline

    Validate the smallest request in Playground

    Check message layers, output shape, streaming, and current controls.

  2. 02 · Boundaries

    Exercise failure, cancellation, and retry

    Verify timeouts, interrupted streams, oversized input, regeneration, and duplicate submission.

  3. 03 · Integrate

    Copy the normalized API request

    Use the public model id and messages contract; read model controls from the live schema.

  4. 04 · Operate

    Meter usage and keep evaluating

    Store state, final usage, failure reasons, and quality feedback; quote expensive calls first.

Bring Claude Opus 4.6 into a clear API contract

Playground, API examples, request states, and usage records stay aligned from evaluation through production integration.

  • Unified contract

    One shape for messages, streams, and errors

    Keep request structure, state handling, and error recovery consistent when changing models.

  • Live schema

    Use the current endpoint controls

    Playground and API examples expose available fields, limits, and default behavior together.

  • Observable lifecycle

    Every request has a clear state

    Submission, streaming, failure, cancellation, and usage use inspectable public semantics.

  • Portable integration

    Reduce work when models evolve

    A clear contract keeps product code focused on inputs, results, and user experience.

Claude Opus 4.6 API boundaries to confirm before integration

All Claude models10