Anthropic
Claude Opus 4.8
Final release in the Opus 4 series.
anthropic/claude-opus-4.8- Input → Output
- Text, images → Text/Text
- Maximum input
- 200K tokens
- Provider
- 2
- Tool invocation
- Yes
Price per million tokens
- Input
- 8,100 credits
- Output
- 40,500 credits
- Cached input reads
- 810 credits
- Cached input writes
- 10,125 credits
Provider
Several providers serve the same model. We try providers in order and move to the next if one cannot respond. Performance is measured on actual AlpRouter requests over the last seven days, and uptime over the last three.
| Provider | Input / 1M | Output / 1M | Cache read | First token | Throughput | Uptime |
|---|---|---|---|---|---|---|
| Amazon Bedrock | 8,100 credits | 40,500 credits | 810 credits | - | - | - |
| Anthropic | 8,100 credits | 40,500 credits | 810 credits | - | - | - |
Time to first token and throughput are medians (P50). Values are hidden for fewer than 10 requests.
Use the API
from openai import OpenAI
client = OpenAI(
base_url="https://alprouter.com/api/v1",
api_key="alp-your-key",
)
answer = client.chat.completions.create(
model="anthropic/claude-opus-4.8",
messages=[{"role": "user", "content": "Hello"}],
)
print(answer.choices[0].message.content)Details
- Maximum input
- 200K tokens
- Maximum output
- 128K tokens
- Tool invocation
- Supported
- Supported input
- Text, images
- Output
- Text/Text
- Provider
- Amazon Bedrock, Anthropic
- Supported parameters
- max_completion_tokens, max_tokens, reasoning_effort, response_format, stop, stream, tool_choice, tools
Frequently asked questions
What kind of model is Claude Opus 4.8?
A model from Anthropic. Final release in the Opus 4 series. Model ID on AlpRouter: anthropic/claude-opus-4.8
How much does Claude Opus 4.8 cost?
Per million tokens: 8,100 credits input, 40,500 credits output. One credit equals ₩1. Only usage is deducted from your balance. There is no monthly subscription.
How much input does Claude Opus 4.8 accept?
Each request accepts up to 200K tokens. The maximum output is 128K tokens.
What input and output does Claude Opus 4.8 support?
Send Text, images to receive Text/Text.
Does Claude Opus 4.8 support tool calling and structured JSON?
Tool calling: Supported. Structured output (response_format): Supports the json_schema format..
Which providers handle Claude Opus 4.8 requests?
Amazon Bedrock, Anthropic handles these requests. If a provider cannot respond, another provider takes over.
How do I call Claude Opus 4.8 from code?
Just replace the base_url in the OpenAI SDK with https://alprouter.com/api/v1. Also, specify the name of the model in the model field (anthropic/claude-opus-4.8). There’s an example of how to do this in the “Using the API” section above.
Other models from Anthropic
- Claude Fable 5.2anthropic/claude-fable-5.2Input 12,960 credits
- Claude Fable 5.1anthropic/claude-fable-5.1Input 16,200 credits
- Claude Opus 5.5anthropic/claude-opus-5.5Input 6,480 credits
- Claude Sonnet 5.5anthropic/claude-sonnet-5.5Input 3,240 credits
- Claude Haiku 5.5anthropic/claude-haiku-5.5Input 162 credits
- Claude Opus 5anthropic/claude-opus-5Input 8,100 credits