Claude Opus 4.8
claude-opus-4-8
These are Mengbi Router customer prices in USD per 1M tokens. Provider: Anthropic; Context: 1M; Input price: $2.03; Output price: $10.14.
- Coding
- Deep reasoning
- Research
AI models and pricing
Model specs
- Provider
- Anthropic
- Context
- 1M
- Max output
- 64K
- Released
- May 2026
- Input modalities
- Text, Image, PDF
- Output modalities
- Text
- Tool calling
- Supported
- Structured output
- Supported
- Currency
- USD
- Model ID
- claude-opus-4-8
Model pricing and access details
USD / 1M tokens| Model | Official | Mengbi | Discount |
|---|---|---|---|
| Input price | $5 | $2.03 | 59% OFF |
| Output price | $25 | $10.14 | 59% OFF |
| Cache read price | $0.50 | $0.203 | 59% OFF |
Estimated cost for common usage
Estimates based on current Mengbi Router prices, so you can plan real request costs.
| Token volume | Input | Output | Input + output total |
|---|---|---|---|
| 10K tokens | $0.0203 | $0.101 | $0.122 |
| 100K tokens | $0.203 | $1.01 | $1.22 |
| 1M tokens | $2.03 | $10.14 | $12.17 |
| 10M tokens | $20.29 | $101.43 | $121.71 |
Estimates use the current prices above and exclude cache-hit discounts. Your invoice is metered by the actual token usage of each request.
Public benchmark scores
How Claude Opus 4.8 scores on common public benchmarks, so you can compare capability at a glance.
| Benchmark | Score |
|---|---|
| GPQA Diamond | 92.1 |
| SWE-bench Verified | 77.4 |
| AIME 2026 | 92.6 |
Curated from vendor-published evaluations (snapshot 2026-09). For reference only; not independently tested by Mengbi.
API protocol compatibility
Keep your SDK. Change one line.
Use the protocol your stack already speaks.
const client = new OpenAI({
apiKey: process.env.MENGBI_ROUTER_KEY,
baseURL: process.env.MENGBI_ROUTER_BASE_URL,
})
const response = await client.chat.completions.create({
model: 'claude-opus-4-8',
messages,
})Frequently asked questions
Common questions about the Claude Opus 4.8 API: pricing, capabilities, and integration.
How much does the Claude Opus 4.8 API cost?
Through Mengbi Router, Claude Opus 4.8 costs $2.03 per 1M input tokens and $10.14 per 1M output tokens. Cached input is billed at $0.203 per 1M tokens.
What is the context window of Claude Opus 4.8?
Claude Opus 4.8 supports a 1M-token context window. A single request can generate up to about 64K output tokens.
Does Claude Opus 4.8 support tool calling and structured output?
Yes. Claude Opus 4.8 supports the tools parameter in chat.completions for function calling. It also supports response_format with a JSON Schema for structured output.
What input and output formats does Claude Opus 4.8 support?
It accepts Text, Image, and PDF and returns Text.
How do I call Claude Opus 4.8 with the OpenAI SDK?
Keep your OpenAI SDK, point the base URL at Mengbi Router, use your Mengbi API key, and set model to claude-opus-4-8 in the request.
Which company provides Claude Opus 4.8?
Claude Opus 4.8 is provided by Anthropic and available through Mengbi Router with one API key and pay-as-you-go billing. The model was first released in May 2026.