Claude Opus 4.8

Loading model catalog…

Back to models

About Claude Opus 4.8

Claude Opus 4.8 is a Anthropic model. On TeamoRouter its model ID is claude-opus-4-8, and the same TeamoRouter API key works for it and every other model. Setup steps are in the API docs.

Model ID
claude-opus-4-8
Provider
Anthropic
Context window
1M tokens
Official list price
$5 input / $25 output per 1M tokens
Compare all models →

Use the Claude Opus 4.8 API

Point the base URL at TeamoRouter and use claude-opus-4-8 as the model name; nothing else changes. Python example:

from anthropic import Anthropic

client = Anthropic(
    base_url="https://api.teamorouter.vip",  # the only line that changes
    api_key="<TEAMOROUTER_API_KEY>",
)
message = client.messages.create(
    model="claude-opus-4-8",
    max_tokens=1024,
    messages=[{"role": "user", "content": "Hello"}],
)
print(message.content[0].text)

In Claude Code:

export ANTHROPIC_BASE_URL=https://api.teamorouter.vip
export ANTHROPIC_AUTH_TOKEN=<your TeamoRouter API key>
export ANTHROPIC_API_KEY=""
claude --model claude-opus-4-8

Claude Opus 4.8 FAQ

What is the Claude Opus 4.8 API model ID?
The model ID is claude-opus-4-8. Use https://api.teamorouter.vip (no /v1) as the base URL for the Anthropic API, or https://api.teamorouter.vip/v1 for the OpenAI-compatible API.
How much does the Claude Opus 4.8 API cost?
The official list price of Claude Opus 4.8 is $5 input / $25 output per 1M tokens. TeamoRouter bills per use with no monthly fee; see the price table on this page for the current discounted price.
Can I use Claude Opus 4.8 in Claude Code?
Yes. Set ANTHROPIC_BASE_URL to https://api.teamorouter.vip, put your TeamoRouter API key in ANTHROPIC_AUTH_TOKEN, and start Claude Code with --model claude-opus-4-8. Full steps: Claude Code setup.