Claude Opus 4.8 (Batch)
anthropic/claude-opus-4.8-batchA chat model with a 1M-token context window, at $2.625 per million input tokens and $13.125 per million output tokens.
Details
- Maker
- anthropic
- Kind
- Chat
- Context window
- 1,000,000 tokens
- Max output
- 128,000 tokens
- Input
- $2.625 per million tokens
- Cached input
- $0.2625 per million tokens, 90% off
- Cache write
- $3.28125 per million tokens
- Output
- $13.125 per million tokens
- Capabilities
- Reasoning, tool use, vision, file input
- Takes
- Text, image, pdf
- Returns
- Text
- Zero data retention
- Not on every provider
- No training on requests
- Yes, on every provider
- Released
- 2026-05-28
- Newer model
- anthropic/claude-haiku-5.5Released later by the same maker, costs no more, and lists the same capabilities. Compare the two
Description
Opus 4.8 is a focused upgrade to Opus 4.7 and is Anthropic's best generally available model for coding, agentic tasks, and enterprise workflows. It builds on the strengths of previous Opus models with stronger performance on complex, multi-step coding tasks. Anthropic recommends using it on long-horizon coding and agentic tasks. It is also stronger on professional work, including document drafting, data analysis, and presentations.
Call it
curl
curl https://phantom.codes/v1/chat/completions \
-H "Authorization: Bearer $PHANTOM_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "anthropic/claude-opus-4.8-batch",
"messages": [
{"role": "user", "content": "Hello"}
]
}'Set PHANTOM_KEY to your key. Any OpenAI client works with the base URL https://phantom.codes/v1.