LiteLLMModels

Claude 4 Opus API Pricing

As of October 10, 2026, Claude 4 Opus costs $5.00 per 1M input tokens and $25.00 per 1M output tokens from Snowflake Cortex, the lowest of 3 providers, with cache reads at $0.50 per 1M tokens. It has a 200,000-token context window and returns up to 16,384 tokens per response.

By AnthropicModel ID snowflake/claude-4-opusPrices updated Checked
Input
$5.00 / 1M tokens
Output
$25.00 / 1M tokens
Cache read
$0.50 / 1M tokens
Context window
200,000 tokens
Max output
16,384 tokens
Providers
3
Added to LiteLLM
June 2025

Claude 4 Opus pricing by provider

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

ProviderModel name in LiteLLMInputOutputCache readCache writeContext
Snowflake Cortexsnowflake/claude-4-opus$5.00$25.00$0.50–200K
DeepInfradeepinfra/anthropic/claude-4-opus$16.50$82.50––200K
Vercel AI Gatewayvercel_ai_gateway/anthropic/claude-4-opus$15.00$75.00$1.50$18.75200K

What Claude 4 Opus costs in practice

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

Snowflake Cortex$22.50
Vercel AI Gateway$67.50
DeepInfra$74.25

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

Snowflake Cortex$55.00
Vercel AI Gateway$165.00
DeepInfra$181.50

Claude 4 Opus features

Use Claude 4 Opus with LiteLLM

Call Claude 4 Opus 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="snowflake/claude-4-opus",
    messages=[{"role": "user", "content": "Hello!"}],
)
Proxy config.yaml
model_list:
  - model_name: claude-4-opus
    litellm_params:
      model: snowflake/claude-4-opus
      # 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-4-opus",
    "messages": [{"role": "user", "content": "Hello!"}]
  }'

Claude 4 Opus FAQ

How much does Claude 4 Opus cost?

Claude 4 Opus costs $5.00 per 1M input tokens and $25.00 per 1M output tokens from Snowflake Cortex, the lowest of 3 providers, with cache reads at $0.50 per 1M tokens.

What is the context window of Claude 4 Opus?

Claude 4 Opus has a 200,000-token context window and returns up to 16,384 tokens per response.

Which providers offer Claude 4 Opus?

Claude 4 Opus is available from 3 providers through LiteLLM: Snowflake Cortex, DeepInfra and Vercel AI Gateway. The lowest price is on Snowflake Cortex.

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

Use the LiteLLM Python SDK with model="snowflake/claude-4-opus", 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 4 Opus support?

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

When did LiteLLM add Claude 4 Opus?

Claude 4 Opus was added to LiteLLM's model price file in June 2025.

Sources

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

LiteLLM docs: Snowflake Cortex, DeepInfra, Vercel AI Gateway.

Provider pages: Snowflake Cortex, DeepInfra, Vercel AI Gateway.