Claude Opus 4.6
Officialanthropic/claude-opus-4.6
The Opus generation before 4.7, still fully supported by Anthropic. Strong reasoning, coding, and agentic tool use with a 1M-token context window and native prompt caching. Pick it when a workflow was tuned against Opus 4.6 behavior or its pre-4.7 tokenizer.
Pricing
Source: anthropic_x0.18 · Verified 2026-07-23
Cache read $0.09/M · Cache write $1.125/M
Estimate cost
Protocols
- OpenAI Chat CompletionsStatus: Not supported—
- OpenAI ResponsesStatus: Not supported—
- Anthropic MessagesStatus: Available: Streaminghttps://api.routemux.com/anthropic
- Google Vertex AIStatus: Not supported—
- OpenAI ImagesStatus: Not supported—
- OpenAI SoraStatus: Not supported—
Call IDs
Use either ID to call this model via the API.
anthropic/claude-opus-4.6claude-opus-4-6Usable Model IDs
You can use these names directly in the request model field.
Try it
Replace the ROUTEMUX_KEY placeholder with your API key. Create one →
from anthropic import Anthropic
client = Anthropic(
base_url="https://api.routemux.com/anthropic",
api_key="<ROUTEMUX_KEY>",
)
message = client.messages.create(
model="anthropic/claude-opus-4.6",
max_tokens=1024,
messages=[{"role": "user", "content": "What is the meaning of life?"}],
)
print(message.content[0].text)Other variants in this family
Anthropic Claude Opus 5 — current-generation Opus for agentic coding and long-horizon work.
$0.9/M↓ · $4.5/M↑
Anthropic Claude Opus 4.7 — top-tier reasoning, coding, agentic work.
$0.9/M↓ · $4.5/M↑
Anthropic Claude Opus 4.8 — current flagship, top reasoning & coding.
$0.9/M↓ · $4.5/M↑
Frequently asked questions
›What is Claude Opus 4.6?
Anthropic Claude Opus 4.6 — previous-gen Opus, same price as 4.7/4.8.
›How large is the context window of Claude Opus 4.6?
Claude Opus 4.6 supports a context window of up to 1M tokens, with up to 8K output tokens per request.
›How much does the Claude Opus 4.6 API cost?
Through RouteMux, Claude Opus 4.6 costs $0.9 for input and $4.5 for output (USD per 1M tokens), below the official list price.
›How do I call Claude Opus 4.6 via API?
Claude Opus 4.6 is OpenAI-compatible: point your base URL at RouteMux and set the model field to anthropic/claude-opus-4.6 — no code changes needed.
›Which input and output modalities does Claude Opus 4.6 support?
Claude Opus 4.6 accepts text, image as input and produces text as output.