anthropic/claude-opus-4.6

Anthropic: Claude Opus 4.6

Context length
1000K
Input / 1M tokens
$5.00
Output / 1M tokens
$25.00
Released
2026-02-04
Modality
text+image+file->text

About Anthropic: Claude Opus 4.6

Opus 4.6 is Anthropic’s strongest model for coding and long-running professional tasks. It is built for agents that operate across entire workflows rather than single prompts, making it especially effective...

Call Anthropic: Claude Opus 4.6

Via OpenRouter: one base URL for every provider.

curl https://openrouter.ai/api/v1/chat/completions \
  -H "Authorization: Bearer $OPENROUTER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "anthropic/claude-opus-4.6",
    "messages": [{"role": "user", "content": "Say hello"}]
  }'

Direct on Anthropic:

curl https://api.anthropic.com/chat/completions \
  -H "Authorization: Bearer $ANTHROPIC_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "claude-opus-4.6",
    "messages": [{"role": "user", "content": "Say hello"}]
  }'

Anthropic keys

OpenRouter keys

OpenRouter keys work for anthropic/claude-opus-4.6 regardless of the upstream provider.