LiteLLMModels

Claude Opus 4.8 Think API Pricing

As of October 10, 2026, Claude Opus 4.8 Think costs $5.00 per 1M input tokens and $25.00 per 1M output tokens on AIHubMix, with cache reads at $0.50 and cache writes at $6.25 per 1M tokens. It has a 1,000,000-token context window and returns up to 128,000 tokens per response.

By AnthropicModel ID aihubmix/claude-opus-4-8-thinkPrices updated Checked
Input
$5.00 / 1M tokens
Output
$25.00 / 1M tokens
Cache read
$0.50 / 1M tokens
Context window
1,000,000 tokens
Max output
128,000 tokens
Providers
1
Added to LiteLLM
September 16, 2026

Claude Opus 4.8 Think pricing by provider

1 listing across 1 provider. Token prices are in US dollars per 1M tokens. The highlighted row is the price quoted above.

ProviderModel name in LiteLLMInputOutputCache readCache writeContext
AIHubMixaihubmix/claude-opus-4-8-think$5.00$25.00$0.50$6.251M

What Claude Opus 4.8 Think costs in practice

1,000 requests with 2,000 input and 500 output tokens each

AIHubMix$22.50

100 long-document requests with 100,000 input and 2,000 output tokens each

AIHubMix$55.00

Claude Opus 4.8 Think features

Use Claude Opus 4.8 Think with LiteLLM

Call Claude Opus 4.8 Think through the LiteLLM Python SDK, or put it behind the LiteLLM proxy and send OpenAI-format requests to /v1/chat/completions. LiteLLM tracks the cost of every request at these prices.

Python SDK
from litellm import completion

response = completion(
    model="aihubmix/claude-opus-4-8-think",
    messages=[{"role": "user", "content": "Hello!"}],
)
Proxy config.yaml
model_list:
  - model_name: claude-opus-4-8-think
    litellm_params:
      model: aihubmix/claude-opus-4-8-think
      # credentials: see the provider's LiteLLM docs page
Call the proxy
curl http://0.0.0.0:4000/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer sk-1234" \
  -d '{
    "model": "claude-opus-4-8-think",
    "messages": [{"role": "user", "content": "Hello!"}]
  }'

Claude Opus 4.8 Think FAQ

How much does Claude Opus 4.8 Think cost?

Claude Opus 4.8 Think costs $5.00 per 1M input tokens and $25.00 per 1M output tokens on AIHubMix, with cache reads at $0.50 and cache writes at $6.25 per 1M tokens.

What is the context window of Claude Opus 4.8 Think?

Claude Opus 4.8 Think has a 1,000,000-token context window and returns up to 128,000 tokens per response.

Which providers offer Claude Opus 4.8 Think?

Claude Opus 4.8 Think is available from AIHubMix through LiteLLM, using the model name aihubmix/claude-opus-4-8-think.

How do I call Claude Opus 4.8 Think with an OpenAI-compatible API?

Use the LiteLLM Python SDK with model="aihubmix/claude-opus-4-8-think", or add the model to the LiteLLM proxy's config.yaml and send requests to /v1/chat/completions from any OpenAI client. LiteLLM tracks the cost of every request at the prices on this page.

What features does Claude Opus 4.8 Think support?

Claude Opus 4.8 Think supports function calling, structured output, image input, reasoning and prompt caching.

When did LiteLLM add Claude Opus 4.8 Think?

Claude Opus 4.8 Think was added to LiteLLM's model price file on September 16, 2026.

Sources

Prices come from LiteLLM's open-source model_prices_and_context_window.json, which LiteLLM uses to calculate the cost of every request. Provider pricing pages:

LiteLLM docs: AIHubMix.

Provider pages: AIHubMix.