Skip to content
GPT Image 2.6 FlareOpenAI · Image modelsgpt-image-2.6-flareGPT Image 2.6 SunburstOpenAI · Image modelsgpt-image-2.6-sunburstClaude Haiku 5.5Anthropic · LLM modelsclaude-haiku-5-5Claude Sonnet 5.5Anthropic · LLM modelsclaude-sonnet-5-5Claude Opus 5.5Anthropic · LLM modelsclaude-opus-5-5GPT-6 AstraOpenAI · LLM modelsgpt-6-astraClaude Fable 5.1Anthropic · LLM modelsclaude-fable-5-1Claude Opus 5Anthropic · LLM modelsclaude-opus-5GPT-5.6 LunaOpenAI · LLM modelsgpt-5.6-lunaGPT-5.6 SolOpenAI · LLM modelsgpt-5.6-solGPT-5.6 TerraOpenAI · LLM modelsgpt-5.6-terraClaude Fable 5Anthropic · LLM modelsclaude-fable-5Claude Opus 4.8Anthropic · LLM modelsclaude-opus-4-8GPT-5.5OpenAI · LLM modelsgpt-5.5GPT Image 2OpenAI · Image modelsgpt-image-2Claude Opus 4.7Anthropic · LLM modelsclaude-opus-4-7Claude Opus 4.6Anthropic · LLM modelsclaude-opus-4-6claude-sonnet-4-6Anthropic · LLM modelsclaude-sonnet-4-6claude-sonnet-5Anthropic · LLM modelsclaude-sonnet-5Gemini 3.1 Pro PreviewGoogle · LLM modelsgemini-3.1-pro-previewGemini 3.5 FlashGoogle · LLM modelsgemini-3.5-flashGemini 3.6 FlashGoogle · LLM modelsgemini-3.6-flashGemini 3.7 FlashGoogle · LLM modelsgemini-3.7-flashGemini 3.8 FlashGoogle · LLM modelsgemini-3.8-flashGemini 4 ArgonGoogle · LLM modelsgemini-4-argongpt-5.4OpenAI · LLM modelsgpt-5.4GPT-6 LunaOpenAI · LLM modelsgpt-6-lunaGPT-6 SolOpenAI · LLM modelsgpt-6-solGPT-6.1 SolOpenAI · LLM modelsgpt-6.1-solGPT Image 2.5 FlareOpenAI · Image modelsgpt-image-2.5-flareGPT Image 2.5 SunburstOpenAI · Image modelsgpt-image-2.5-sunburstGrok Imagine ImagexAI · Image modelsgrok-imagine-imageGrok Imagine Image 2.0xAI · Image modelsgrok-imagine-image-2.0HY Image 3.5 PreviewTencent · Image modelshy-image-v3.5-previewNano Banana ProGoogle · Image modelsnano-banana-proNano Banana 2Google · Image modelsnano-banana2Nano Banana 2 LiteGoogle · Image modelsnano-banana2-liteNano Banana 2.1Google · Image modelsnano-banana2.1Seedream 5.0ByteDance · Image modelsseedream-5-0Seedream 5.0 ProByteDance · Image modelsseedream-5-0-proMiniMax H3MiniMax · Video modelsminimax-h3MiniMax H3 Max TurboMiniMax · Video modelsminimax-h3-max-turbo
Anthropic

Claude Opus 4.8 API

Claude Opus 4.8 is a legacy Opus model supporting adaptive reasoning for complex analysis and professional tasks.

MODALITIES
TextText
Available
INPUT / OUTPUT70% OFF
$1.5/ 1M
/
$7.5/ 1M
USD per million tokens
CACHED INPUT
$0.15/ 1M
Platform price · USD
CONTEXT WINDOW
1,000,000tokens
Max output: 128,000 tokens

Model integration guide ↗

Input
Sign in to choose a key from your account.
Choose a level supported by this model. Default keeps the model’s own settings; thinking also consumes output tokens.
Advanced request options are available in JSON mode.
Request preview
{
  "model": "claude-opus-4-8",
  "max_tokens": 1024,
  "messages": [
    {
      "role": "user",
      "content": "A quiet mountain lake at sunrise, soft morning light."
    }
  ],
  "stream": true
}
Output

Your next idea starts here.

Run the model to preview your result.

Claude Opus 4.8 capabilities

Context window
1,000,000 tokens
Max output
128,000 tokens
Reasoning effort
max · xhigh · high · medium · low · none (default high)
Released
2026-05-28
Supports
  • Tool calling
  • Streaming
  • Reasoning
  • Structured output
Endpoints
  • /v1/messages
  • /v1/messages/count_tokens

API Usage Examples

API documentation ↗
POSTGet API Key ↗
curl 'https://newrouters.com/v1/messages' \
  -H "Content-Type: application/json" \
  -H "x-api-key: $MODEL_API_KEY" \
  -H "anthropic-version: 2023-06-01" \
  --data '{
  "model": "claude-opus-4-8",
  "max_tokens": 1024,
  "messages": [
    {
      "role": "user",
      "content": "Explain how an HTTP request works in three concise steps."
    }
  ],
  "stream": false
}'

Set MODEL_API_KEY in your server environment. Requests use this model’s native API and your account pricing.

Docs: authentication and keys · Error handling

All parameters and combination rules

Protocol & capabilities

claude · claude-opus-4-8

Context limit
1000000
Maximum output
128000

tools · stream · reasoning · structured_output

Pricing

Claude Opus 4.8 pricing

Estimate one request, then choose a budget for your workflow.

UsageQuantityRateCost
tokens$1.5/ 1M$0.0015
tokens$0.15/ 1M$0
tokens$1.875/ 1M$0
tokens$3/ 1M$0
tokens$7.5/ 1M$0.00375
tokens$7.5/ 1M$0
Cost per request$0.00525

Public USD estimate. Your account rate and final recorded usage determine the actual charge.

All specifications and prices
SpecificationOur priceOfficial reference
Input$1.5 / 1M tokens$5 About 70% less than official
Cached input$0.15 / 1M tokens$0.5 About 70% less than official
Cache write · 5m$1.875 / 1M tokens$6.25 About 70% less than official
Cache write · 1h$3 / 1M tokens$10 About 70% less than official
Output$7.5 / 1M tokens$25 About 70% less than official
Reasoning$7.5 / 1M tokens$25 About 70% less than official

Compare Claude Opus 4.8 with related models

SpecificationClaude Opus 4.8Claude Fable 5Claude Fable 5.1
ProviderAnthropicAnthropicAnthropic
Input → outputTextTextTextTextTextText
Selection basisCurrent modelSame claude protocol · Same billing unitsSame claude protocol · Same billing units
Context / max output1,000,000 / 128,0001,000,000 / 128,0001,000,000 / 128,000
Starting price$1.5 / 1M tokens$3 / 1M tokens$3 / 1M tokens

Choose by the input types, output settings and billing unit your workflow needs. Try the same prompt across models to compare results for your own use case.

What Is Claude Opus 4.8?

Claude Opus 4.8 is a legacy Opus model supporting adaptive reasoning for complex analysis and professional tasks.

Official model information ↗ · 2026-10-14

Claude Opus 4.8 Platform specifications

SpecificationClaude Opus 4.8
Model IDclaude-opus-4-8
ProviderAnthropic
API/v1/messages
Context window1,000,000 tokens
Maximum output128,000 tokens
Declared capabilitiesTools · Streaming · Reasoning · Structured output

Claude Opus 4.8 API · Common Questions

Everything you need to know about API access, pricing and model capabilities.

How is Claude Opus 4.8 billed?

Charges depend on the recorded token usage and your account rates. Input, output and supported cache or reasoning categories are listed separately in the pricing table. The calculator uses public USD prices; the final usage receipt determines the charge.

How do I get an API key?

Choose “Get API access” to open the integration guide. Sign in to your NewRouters account, prepare a key with access to this model and copy an API example.

Which API endpoints can I use?

Supported endpoints: /v1/messages、/v1/messages/count_tokens. Choose an endpoint in the API examples to see its native request format.

Does the model support streaming?

The current model route declares streaming support. Use the native endpoint’s streaming option and consume its events. Usage already completed may still be billed if the connection is interrupted.

Can I use tools or structured output?

Tools: supported. Structured output: supported. Request fields follow the selected native endpoint.

Where can I check usage and charges?

Keep the request ID and open your account’s LLM usage records to inspect request status, token counts and charges. Prompt and answer content are not a conversation history in this view.