LiteLLMLiteLLM/ MODELS

Claude Opus 4 API Pricing

By Anthropic · 4 providersgmi/anthropic/claude-opus-4Compare
Input / output
$15.00 / $75.00 per 1M tokens
Context
400K tokens
Max output
32K tokens

As of November 24, 2026, Claude Opus 4 costs $15.00 per 1M input tokens and $75.00 per 1M output tokens from GMI Cloud, the lowest of 4 providers. It has a 409,600-token context window and returns up to 32,000 tokens per response.

Prices updated Checked

Claude Opus 4 pricing by provider

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

Claude Opus 4 prices by provider in US dollars, token prices per 1M tokens, as of November 24, 2026. Source: LiteLLM model price file.
ProviderModel name in LiteLLMInputOutputCache readCache writeContext
GMI Cloudgmi/anthropic/claude-opus-4$15.00$75.00––400K
Amazon Bedrocksnapshot 20250514anthropic.claude-opus-4-20250514-v1:0$15.00$75.00$1.50$18.75200K
Databricksdatabricks/databricks-claude-opus-4$15.00$75.00$1.50$18.75200K
Vercel AI Gatewayvercel_ai_gateway/anthropic/claude-opus-4$15.00$75.00$1.50$18.75200K
Amazon BedrockEU cross-region, snapshot 20250514eu.anthropic.claude-opus-4-20250514-v1:0$15.00$75.00$1.50$18.75200K
Amazon BedrockUS cross-region, snapshot 20250514us.anthropic.claude-opus-4-20250514-v1:0$15.00$75.00$1.50$18.75200K

What Claude Opus 4 costs in practice

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

GMI Cloud$67.50
Amazon Bedrock$67.50
Vercel AI Gateway$67.50
Databricks$67.50

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

GMI Cloud$165.00
Amazon Bedrock$165.00
Vercel AI Gateway$165.00
Databricks$165.00

Claude Opus 4 cost calculator

At GMI Cloud's price ($15.00 input, $75.00 output per 1M tokens), 10,000 requests a day with 1,000 input and 500 output tokens each cost $525 a day, about $15,750 a month. Change the numbers for your workload, or compare it with other models.

Per request
$0.0525
Per day
$525
Per month (30 days)
$15,750

Claude Opus 4 features

Input: text, image, pdf. Output: text.

Use Claude Opus 4 with LiteLLM

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

Claude Opus 4 FAQ

How much does Claude Opus 4 cost?

Claude Opus 4 costs $15.00 per 1M input tokens and $75.00 per 1M output tokens from GMI Cloud, the lowest of 4 providers.

What is the context window of Claude Opus 4?

Claude Opus 4 has a 409,600-token context window and returns up to 32,000 tokens per response.

Which providers offer Claude Opus 4?

Claude Opus 4 is available from 4 providers through LiteLLM: GMI Cloud, Amazon Bedrock, Databricks and Vercel AI Gateway. The lowest price is on GMI Cloud.

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

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

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

When did LiteLLM add Claude Opus 4?

Claude Opus 4 was added to LiteLLM's model price file in May 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. Maintainers update it from each provider's published pricing, and this page is usually rebuilt within 20 minutes of every change. Provider pricing pages:

LiteLLM docs: GMI Cloud, Amazon Bedrock, Databricks, Vercel AI Gateway.

Provider pages: GMI Cloud, Amazon Bedrock, Databricks, Vercel AI Gateway.