claude-opus-4-8
Auto-routeranthropic/claude-opus-4-8
Context
1M
Max output
128K
Input / 1M
$5.00
Output / 1M
$25.00
Modality
Chat
Cutoff
Jan 2026
About this model
Claude Opus 4.8 is Anthropic's most capable and intelligent model, optimized for complex reasoning, advanced coding, deep research, and long-horizon autonomous agent workflows. Supports up to a 1M-token context window at standard pricing.
Best suited for
- Complex, high-stakes reasoning and analysis
- Advanced coding and technical tasks
- Deep research and multi-step workflows
- Autonomous agent workflows
Capabilities
Vision
Accepts images alongside text in the same message.
Files
Accepts file attachments — PDFs, transcripts, spreadsheets.
Tools
Native function calling, so agents can invoke your endpoints.
System prompt
Honours a dedicated system role, separate from the user turn.
Reasoning
Emits a separate thinking pass before the answer.
Supported parameters
max_tokensMax Tokens LimitSpecifies the maximum number of text units (tokens) allowed in a response, limiting its length.
toolsLists tool definitions or capabilities available to the model.
tool_choiceDecides whether to use tools or just the model for generating responses.
response_typeDefines the format or type of the generated response.
reasoningControls the level of reasoning used by the model.
streamSends the response in real-time as it's being generated.
Use this model
OpenAI-SDK compatible, with gateway fallback and routing across providers.
Other Anthropic models
| Model | Context | Max output | Input | Output | Capabilities |
|---|---|---|---|---|---|
| claude-haiku-5-5 Chat | 1M | 128K | $0.10 | $0.50 | Vision, Tools, System prompt |
| claude-sonnet-5-5 Chat | 1M | 128K | $2.00 | $10.00 | Vision, Tools, System prompt |
| claude-opus-5-5 Chat | 1M | 128K | $4.00 | $20.00 | Vision, Tools, System prompt |
| claude-fable-5-1 Chat | 1M | 128K | $10.00 | $50.00 | Vision, Files, Tools, System prompt, Reasoning |
| claude-sonnet-5 Chat | 1M | 128K | $2.00 | $10.00 | Vision, Tools, System prompt |
| claude-opus-5 Chat | 1M | 128K | $5.00 | $25.00 | Vision, Tools, System prompt |
| claude-fable-5 Chat | 1M | 128K | $10.00 | $50.00 | Vision, Tools, System prompt |
| claude-opus-4-7 Chat | 1M | 128K | $5.00 | $25.00 | Vision, Files, Tools, System prompt, Reasoning |
| claude-sonnet-4-6 Chat | 1M | 128K | $3.00 | $15.00 | Vision, Files, Tools, System prompt |
| claude-opus-4-6 Chat | 1M | 128K | $5.00 | $25.00 | Vision, Files, Tools, System prompt |
| claude-opus-4-5-20251101 Chat | 200K | 64K | $5.00 | $25.00 | Vision, Files, Tools, System prompt |
| claude-haiku-4-5-20251001 Chat | 200K | 64K | $1.00 | $5.00 | Vision, Files, Tools, System prompt |
Pricing & provider details
Anthropic
anthropic/claude-opus-4-8
- Input · per 1M
- $5.00
- Output · per 1M
- $25.00
- Cached input · per 1M
- —
- Context window
- 1,000,000 tokens
- Max output
- 128,000 tokens
- Knowledge cutoff
- Jan 2026
- Auto-router
- Supported
Start building today
Route claude-opus-4-8 — and every other model in the catalogue — through one endpoint, with failover built in.