Claude Opus 4.7
Anthropic
anthropic/claude-opus-4-7
Latest flagship, 1M context
Context Window
1.0M
1,000,000 tokens
Max Output
128K
128,000 tokens
About this model
Claude Opus 4.7 is Anthropic's latest flagship (released 2026-04-16), achieving state-of-the-art performance on coding, enterprise workflows, and long-horizon agentic tasks.
Features a 1M token context window (5x of 4.6) and 128K output limit (4x of 4.6). Accepts text, image, and PDF inputs. Native Prompt Caching with cache read pricing at 1/10 of input.
Best suited for complex agent development, ultra-long document understanding, and enterprise coding.
Highlights
Released 2026-04-16
1M context
128K output
Native PDF input
Prompt Caching
Best For
Long-horizon agentsEnterprise codingUltra-long document analysisIntelligent PDF processing
2026-04-16TransformerProprietary
Capabilities
ChatVisionReasoningCodepdftoolscache
Aliases
claude-opus-4-7claude-opus-4.7claude-opusPricing (per 1M tokens)
| Pricing (per 1M tokens) | / 1M tokens |
|---|---|
| Input / 1M | $5.25 |
| Output / 1M | $26.25 |
| Cache Read | $0.53 |
| Cache Write | $6.56 |
Final prices shown
Quick Start
main.py
import anthropic client = anthropic.Anthropic( base_url="https://api.chuizi.ai/anthropic", api_key="ck-your-key-here", ) message = client.messages.create( model="claude-opus-4-7", max_tokens=1024, messages=[{"role": "user", "content": "Hello!"}] ) print(message.content[0].text)