Claude Opus 4.6
by anthropic · family claude
Facts
| Release date | 2026-02-04 |
|---|---|
| Retired date | — |
| Knowledge cutoff | — |
| Context (max) | 1,000,000 |
| Max output | 32,768 |
| Modalities | text, image → text |
| Aliases | claude-opus-4.6 |
| Open weights | no |
| Description | February 2026 Opus release, $5/$25 per Mtok with 1M context and 128K output — same price as Opus 5; part of the 4.x line Anthropic ships alongside the 5-series. |
Unknown values are shown as —.
Offerings
| Provider | Wire ID | Variant | Endpoint | Protocol | Status | Price (USD / Mtok) | Reasoning |
|---|---|---|---|---|---|---|---|
| NEAR AI Cloud | anthropic/claude-opus-4-6 | chat | openai-chat | ga | 5.00 / 25.00 | adaptive · default on · returns reasoning_content | |
| OpenCode Zen | claude-opus-4-6 | messages | anthropic-messages | ga | 5.00 / 25.00 | adaptive · default adaptive · returns thinking_blocks · round-trips signature | |
| OpenRouter | anthropic/claude-opus-4.6 | chat-completions | openai-chat | ga | 5.00 / 25.00 | effort · default on · returns reasoning_content · round-trips reasoning_content |
Reasoning controls
NEAR AI Cloud· anthropic/claude-opus-4-6· chat adaptive
adaptive · default on · returns reasoning_content
OpenCode Zen· claude-opus-4-6· messages adaptive
output_config.effort lowmediumhigh●xhighmax
adaptive · default adaptive · returns thinking_blocks · round-trips signature
Incompatible with: temperature, top_p, top_k, prefill
OpenRouter· anthropic/claude-opus-4.6· chat-completions effort
reasoning.effort lowmediumhigh●xhighmax
effort · default on · returns reasoning_content · round-trips reasoning_content
Example requests
NEAR AI Cloud · openai-chat · anthropic/claude-opus-4-6
curl 'https://cloud-api.near.ai/v1/chat/completions' \
-H 'Authorization: Bearer <YOUR_API_KEY>' \
-H 'Content-Type: application/json' \
-d '{
"model": "anthropic/claude-opus-4-6",
"messages": [
{
"role": "user",
"content": "Tell me about the weather."
}
]
}'Python (requests)
import requests
resp = requests.post(
"https://cloud-api.near.ai/v1/chat/completions",
headers={
"Authorization": "Bearer <YOUR_API_KEY>",
"Content-Type": "application/json"
},
json={
"model": "anthropic/claude-opus-4-6",
"messages": [
{
"role": "user",
"content": "Tell me about the weather."
}
]
},
)
print(resp.json())TypeScript (fetch)
const resp = await fetch("https://cloud-api.near.ai/v1/chat/completions", {
method: "POST",
headers: {
"Authorization": "Bearer <YOUR_API_KEY>",
"Content-Type": "application/json"
},
body: JSON.stringify({
"model": "anthropic/claude-opus-4-6",
"messages": [
{
"role": "user",
"content": "Tell me about the weather."
}
]
}),
})
console.log(await resp.json())OpenCode Zen · anthropic-messages · claude-opus-4-6
curl 'https://opencode.ai/zen/v1/messages' \
-H 'Authorization: Bearer <YOUR_API_KEY>' \
-H 'Content-Type: application/json' \
-d '{
"model": "claude-opus-4-6",
"max_tokens": 1024,
"messages": [
{
"role": "user",
"content": "Tell me about the weather."
}
],
"output_config": {
"effort": "high"
}
}'Python (requests)
import requests
resp = requests.post(
"https://opencode.ai/zen/v1/messages",
headers={
"Authorization": "Bearer <YOUR_API_KEY>",
"Content-Type": "application/json"
},
json={
"model": "claude-opus-4-6",
"max_tokens": 1024,
"messages": [
{
"role": "user",
"content": "Tell me about the weather."
}
],
"output_config": {
"effort": "high"
}
},
)
print(resp.json())TypeScript (fetch)
const resp = await fetch("https://opencode.ai/zen/v1/messages", {
method: "POST",
headers: {
"Authorization": "Bearer <YOUR_API_KEY>",
"Content-Type": "application/json"
},
body: JSON.stringify({
"model": "claude-opus-4-6",
"max_tokens": 1024,
"messages": [
{
"role": "user",
"content": "Tell me about the weather."
}
],
"output_config": {
"effort": "high"
}
}),
})
console.log(await resp.json())- ⚠ Responses include
signatureartifacts — pass them back unmodified on subsequent turns (dropping them triggers 400s or quality loss). - Reported incompatible with thinking controls: temperature, top_p, top_k, prefill.
OpenRouter · openai-chat · anthropic/claude-opus-4.6
curl 'https://openrouter.ai/api/v1/chat/completions' \
-H 'Authorization: Bearer <YOUR_API_KEY>' \
-H 'Content-Type: application/json' \
-d '{
"model": "anthropic/claude-opus-4.6",
"messages": [
{
"role": "user",
"content": "Tell me about the weather."
}
],
"reasoning": {
"effort": "high"
}
}'Python (requests)
import requests
resp = requests.post(
"https://openrouter.ai/api/v1/chat/completions",
headers={
"Authorization": "Bearer <YOUR_API_KEY>",
"Content-Type": "application/json"
},
json={
"model": "anthropic/claude-opus-4.6",
"messages": [
{
"role": "user",
"content": "Tell me about the weather."
}
],
"reasoning": {
"effort": "high"
}
},
)
print(resp.json())TypeScript (fetch)
const resp = await fetch("https://openrouter.ai/api/v1/chat/completions", {
method: "POST",
headers: {
"Authorization": "Bearer <YOUR_API_KEY>",
"Content-Type": "application/json"
},
body: JSON.stringify({
"model": "anthropic/claude-opus-4.6",
"messages": [
{
"role": "user",
"content": "Tell me about the weather."
}
],
"reasoning": {
"effort": "high"
}
}),
})
console.log(await resp.json())- ⚠ Responses include
reasoning_contentartifacts — pass them back unmodified on subsequent turns (dropping them triggers 400s or quality loss).