Claude Opus 4.8 API

Claude Opus 4.8 is a language model from anthropic, available on Routeriva under the model ID claude-opus-4-8. You call it with the same sk- key you use for every other model — no separate anthropic account is needed.

On Routeriva it costs $0.50 per 1M input tokens and $2.50 per 1M output tokens, compared with the official list price of $5.00 / $25.00 — about 90% less. Prices shown are the lowest across the routes that serve this model (6 routes); your key is charged at its own route's price.

The context window is 1,000,000 tokens, so you can send long documents, codebases or chat histories in a single request.

Because Routeriva speaks the native Anthropic /v1/messages format, Claude Opus 4.8 works directly in Claude Code, Cline and the Anthropic SDK, with extended thinking and prompt caching passed through unchanged. It also works through the OpenAI-compatible /v1/chat/completions endpoint.

Anthropic's next-generation flagship — frontier reasoning and agentic capabilities.

Key facts

Good for

Prices by route

RouteInput / 1MOutput / 1M
Claude KIRO ENTERPRISE$0.75$3.75
Claude Offical$2.50$12.50
CLAUDE CC 2$2.00$10.00
CLAUDE CC 1$2.00$10.00
Claude KIRO ENT DISC$0.50$2.50
Claude CC 0$2.25$11.25

Code sample

from openai import OpenAI
client = OpenAI(base_url="https://api.routeriva.com/v1", api_key="sk-your-key")
r = client.chat.completions.create(model="claude-opus-4-8", messages=[{"role": "user", "content": "Hello"}])
print(r.choices[0].message.content)

Claude Code: export ANTHROPIC_BASE_URL=https://api.routeriva.com and export ANTHROPIC_AUTH_TOKEN=sk-your-key, then pick claude-opus-4-8.

FAQ

How much does the Claude Opus 4.8 API cost on Routeriva?

From $0.50 per 1M input tokens and $2.50 per 1M output tokens (official list $5.00 / $25.00, about 90% less). Live prices are on routeriva.com/models/claude-opus-4-8.

What model ID do I use for Claude Opus 4.8 ?

Use "claude-opus-4-8" as the model value with base URL https://api.routeriva.com/v1 and your sk- key.

Which endpoints support Claude Opus 4.8 ?

/v1/chat/completions, /v1/responses, /v1/messages on https://api.routeriva.com.

What is the context window of Claude Opus 4.8 ?

1,000,000 tokens.

More from anthropic