Models / Claude Opus 4.6

Claude Opus 4.6

proprietary

Anthropic's most capable model. Excels at complex analysis, nuanced writing, and agentic coding.

anthropic/claude-opus-4.6
Context Window
1M
Max Output
33K
Providers
1
Released
2026-03

Capabilities

chatcodevisionreasoningthinkingtoolsfunction_callingstreamingjson_mode

Pricing by Provider

ProviderInput $/1MOutput $/1MLatency p50Latency p95Status
anthropic$5.00$25.00600ms2000ms

Quick Start

Python
import magicrouter

mr = magicrouter.Client(
    provider_keys={"anthropic": "your-api-key"}
)

response = mr.chat(
    "anthropic/claude-opus-4.6",
    "Your prompt here"
)
print(response.choices[0].message.content)
TypeScript
import { MagicRouter } from "magicrouter";

const mr = new MagicRouter({
  providerKeys: { anthropic: "your-api-key" }
});

const response = await mr.chat({
  model: "anthropic/claude-opus-4.6",
  messages: [{ role: "user", content: "Your prompt here" }]
});
console.log(response.choices[0].message.content);
cURL
curl https://api.anthropic.com/v1/chat/completions \
  -H "Authorization: Bearer your-api-key" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "claude-opus-4-6-20260301",
    "messages": [{"role": "user", "content": "Your prompt here"}]
  }'

Use this model

Sign up for free and test Claude Opus 4.6 in the playground

Get Started
Claude Opus 4.6 — MagicRouter