Claude Opus 4.7 API
Anthropic's April 2026 Opus, introduced a new tokenizer
About this model
Claude Opus 4.7 was released by Anthropic on April 16, 2026. It sits between Opus 4.6 and Opus 4.8 in the Opus line, and Anthropic now lists it as a legacy model, recommending Claude Opus 5.5 instead.
Anthropic’s documentation notes that the current tokenizer was introduced with Opus 4.7, so the same text can use a different number of tokens than on earlier models; 1M tokens is roughly 555k words on it. Anthropic lists a 1M-token context window, 128K output tokens, adaptive thinking, and text and image input, with a January 2026 reliable knowledge cutoff.
Pick it when you want to keep a version you have tested; newer Opus models are the recommended choice for new work. The catalog lists a 1,000,000-token window and vision.
Use cases
- Coding and agent work
- Long documents
- Keeping to a tested version
Input and output
- Input
- Text and images
- Output
- Text, tool calls
Developer
Anthropic
Official site of Anthropic- Developer
- Anthropic
- Type
- Conversation
- Context
- 1,000,000 tokens
- Capabilities
- Image input
Claude Opus 4.7 request example
Use https://gatelum.com/v1 as the base URL and pass anthropic/claude-opus-4.7 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.7",
"messages": [
{
"role": "user",
"content": "Hi! Tell me about yourself in two sentences."
}
]
}
JSONClaude 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.
export ANTHROPIC_BASE_URL=https://gatelum.com
export ANTHROPIC_AUTH_TOKEN=glt_YOUR_KEY
export ANTHROPIC_MODEL=anthropic/claude-opus-4.7
claudeWhere to use Claude Opus 4.7
Guides with step-by-step instructions for the tools that support this model: