Claude Opus 4.8
anthropic/claude-opus-4.8Claude Opus 4.8 is Anthropic's most capable generally available model in the Opus family. It supports text, image, and file inputs with text output, with reasoning support and a 1M-token context window. It is suited for highly autonomous agents, long-horizon agentic work, knowledge work, and memory-driven tasks where coherence over extended sessions matters.
- Input price
- $5.00USD / 1M tokens
- Output price
- $25.00USD / 1M tokens
- Context window
- 1M
- Max output
- 128K
Try the model
Playground
Try a prompt
Your response will appear here
Choose an example or write a prompt, then click Run.
Model card
Specifications
Pricing
- Input
- $5 / 1M tokens
- Output
- $25 / 1M tokens
- Cache read
- $0.50 / 1M tokens
- Cache write
- $6.25 / 1M tokens
Context & modalities
- Context window
- 1,000,000 tokens
- Max output
- 128,000 tokens
- Input
- Text, image
- Output
- Text
Capabilities
- Chat
- Supported
- Vision
- Supported
- Reasoning
- Supported
- Structured output
- Supported
- Function calling
- Supported
- Audio input
- Not supported
Access
- Provider
- Anthropic
- Model ID
- anthropic/claude-opus-4.8
- Execution
- sync
- Base URL
- https://api.sandbase.ai
- API
- Chat Completions API
- Endpoint
- /v1/chat/completions
- API
- Messages API
- Endpoint
- /v1/messages
Independent evaluations
Benchmarks
Scores on standardized evaluations, compared with other models on SandBase.
Metrics sourced from Artificial Analysis · Intelligence Index v4.3
Start building
Send your first request
Choose either supported API with unified authentication and usage tracking.
# The quoted heredoc keeps Unicode and shell metacharacters unchanged.
result=$(curl --fail-with-body --silent \
-X POST "https://api.sandbase.ai/v1/chat/completions" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
--data-binary @- <<'SANDBASE_JSON'
{
"model": "anthropic/claude-opus-4.8",
"messages": [
{
"role": "user",
"content": "Hello"
}
],
"max_tokens": 2048
}
SANDBASE_JSON
)
printf '%s\n' "$result"Choose your model
Compare models
| Model | Context | Input / 1M | Output / 1M | Released |
|---|---|---|---|---|
Claude Opus 4.8This model Anthropic | 1M | $5.00 | $25.00 | May 27, 2026 |
Anthropic | 1M | $0.10 | $0.50 | Oct 7, 2026 |
Anthropic | — | Coming soon | Coming soon | Coming soon |
Anthropic | 1M | $2.00 | $10.00 | Sep 28, 2026 |
Anthropic | 1M | $4.00 | $20.00 | Sep 22, 2026 |
Anthropic | 1M | $10.00 | $50.00 | Sep 1, 2026 |
Questions
FAQ
How do I call Anthropic Claude Opus 4.8 through SandBase?
Create a SandBase API key, then send requests with the model ID "anthropic/claude-opus-4.8" to Chat Completions API (/v1/chat/completions) or Messages API (/v1/messages) at https://api.sandbase.ai. The request examples on this page show the exact payload.
How much does Anthropic Claude Opus 4.8 cost?
$5 per 1M input tokens and $25 per 1M output tokens, billed per request from your SandBase balance. Discounts, when available, are shown in the pricing on this page.
What is the context window of Anthropic Claude Opus 4.8?
1M tokens of context, with up to 128K output tokens per response.
How does Anthropic Claude Opus 4.8 score on benchmarks?
Anthropic Claude Opus 4.8 scores 41.8 on the Artificial Analysis Intelligence Index (v4.3), ranking #19 of 87 models on SandBase; Coding Index 74.3, Agentic Index 41.9. Source: Artificial Analysis, measured as Claude Opus 4.8 (Max).
Which features does Anthropic Claude Opus 4.8 support?
Anthropic Claude Opus 4.8 supports vision (image input), reasoning, function calling, structured output. See Specifications above for the full list.
Do I need a separate Anthropic account?
No. One SandBase API key and balance gives you access to Anthropic Claude Opus 4.8 and the other models in the catalog; you do not need to sign up with Anthropic separately.
