Claude Opus 4.6 API

Anthropic's Opus 4.6, an earlier Opus now listed as legacy

anthropic/claude-opus-4.6
AnthropicConversation

About this model

Claude Opus 4.6 is an Opus-tier model from Anthropic that comes after Opus 4.5 and before Opus 4.7. Anthropic’s documentation lists it among its earlier models and recommends moving to the current Opus, Claude Opus 5.5, for new work.

Anthropic lists a 1M-token context window and 128K output tokens for it; Anthropic also notes that its older manual extended-thinking mode is deprecated on this model in favour of adaptive thinking. In this catalog the context window is 200,000 tokens, so plan around the catalog limit. Image input is supported.

Choose it to stay on a version you already tested; later Opus versions are the better default for new projects.

Use cases

  • Coding and agent work
  • Document analysis
  • Keeping to a tested version

Input and output

Input
Text and images
Output
Text, tool calls

Developer

Developer
Anthropic
Type
Conversation
Context
200,000 tokens
Capabilities
Image input

Claude Opus 4.6 request example

Use https://gatelum.com/v1 as the base URL and pass anthropic/claude-opus-4.6 in the model field. You create the key in your account after signing up.

curl --silent --show-error --fail-with-body \
  --header 'Authorization: Bearer glt_YOUR_KEY' \
  'https://gatelum.com/v1/chat/completions' \
  --header "Content-Type: application/json" \
  --data-binary @- <<'JSON'
{
  "model": "anthropic/claude-opus-4.6",
  "messages": [
    {
      "role": "user",
      "content": "Hi! Tell me about yourself in two sentences."
    }
  ]
}
JSON
Claude Code and Anthropic-protocol clients

For clients using the Anthropic protocol, point the address at ANTHROPIC_BASE_URL=https://gatelum.com with no /v1. The model ID does not change.

macOS / Linux
export ANTHROPIC_BASE_URL=https://gatelum.com
export ANTHROPIC_AUTH_TOKEN=glt_YOUR_KEY
export ANTHROPIC_MODEL=anthropic/claude-opus-4.6
claude

Where to use Claude Opus 4.6

Guides with step-by-step instructions for the tools that support this model: