Claude 3 Sonnet API Pricing
- Input / output
- $3.00 / $15.00 per 1M tokens
- Context
- 200K tokens
- Max output
- 4K tokens
As of November 24, 2026, Claude 3 Sonnet costs $3.00 per 1M input tokens and $15.00 per 1M output tokens on Google Vertex AI. It has a 200,000-token context window and returns up to 4,096 tokens per response.
Claude 3 Sonnet pricing by provider
2 listings across 1 provider. Token prices are in US dollars per 1M tokens. The highlighted row is the price quoted above.
| Provider | Model name in LiteLLM | Input | Output | Context |
|---|---|---|---|---|
| Google Vertex AI | vertex_ai/claude-3-sonnet | $3.00 | $15.00 | 200K |
| Google Vertex AI | vertex_ai/claude-3-sonnet@20240229 | $3.00 | $15.00 | 200K |
What Claude 3 Sonnet costs in practice
1,000 requests with 2,000 input and 500 output tokens each
| Google Vertex AI | $13.50 |
100 long-document requests with 100,000 input and 2,000 output tokens each
| Google Vertex AI | $33.00 |
Claude 3 Sonnet cost calculator
At Google Vertex AI's price ($3.00 input, $15.00 output per 1M tokens), 10,000 requests a day with 1,000 input and 500 output tokens each cost $105 a day, about $3,150 a month. Change the numbers for your workload, or compare it with other models.
- Per request
- $0.0105
- Per day
- $105
- Per month (30 days)
- $3,150
Claude 3 Sonnet features
Input: text, image. Output: text.
- Function calling
- Image input
Use Claude 3 Sonnet with LiteLLM
Call Claude 3 Sonnet 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.
from litellm import completion
response = completion(
model="vertex_ai/claude-3-sonnet",
messages=[{"role": "user", "content": "Hello!"}],
)model_list:
- model_name: claude-3-sonnet
litellm_params:
model: vertex_ai/claude-3-sonnet
vertex_project: os.environ/VERTEX_PROJECT
vertex_location: os.environ/VERTEX_LOCATIONcurl http://0.0.0.0:4000/v1/chat/completions \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $LITELLM_API_KEY" \
-d '{
"model": "claude-3-sonnet",
"messages": [{"role": "user", "content": "Hello!"}]
}'Claude 3 Sonnet FAQ
How much does Claude 3 Sonnet cost?
Claude 3 Sonnet costs $3.00 per 1M input tokens and $15.00 per 1M output tokens on Google Vertex AI.
What is the context window of Claude 3 Sonnet?
Claude 3 Sonnet has a 200,000-token context window and returns up to 4,096 tokens per response.
Which providers offer Claude 3 Sonnet?
Claude 3 Sonnet is available from Google Vertex AI through LiteLLM, using the model name vertex_ai/claude-3-sonnet.
How do I call Claude 3 Sonnet with an OpenAI-compatible API?
Use the LiteLLM Python SDK with model="vertex_ai/claude-3-sonnet", 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 3 Sonnet support?
Claude 3 Sonnet supports function calling and image input.
When did LiteLLM add Claude 3 Sonnet?
Claude 3 Sonnet was added to LiteLLM's model price file in March 2024.
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.
LiteLLM docs: Google Vertex AI.
Provider pages: Google Vertex AI.