Claude Sonnet 5

claude-sonnet-5 by Anthropic Released July 1, 2026
Reasoning · Function calling · Structured output · Prompt caching · Web search · Computer use · Image input · File input · EU hosting
Input from
$2 / 1M
Output from
$10 / 1M
Cached input from
$0.2 / 1M
Context window
1M
Endpoints
10
from 5 providers
Regions
Global, Europe, United States

About Claude Sonnet 5

Sonnet 5 is Anthropic's most capable Sonnet-class model, with frontier performance across coding, agents, and professional work.

Claude Sonnet 5 is a chat model by Anthropic, available on Eden AI through 10 endpoints from 5 providers, from $2 per million input tokens and $10 per million output tokens, with a context window of up to 1M tokens.

Providers and prices

10 endpoints from 5 providers, cheapest first, in USD per million tokens. Every one is called with the same Eden AI key: pin one with its endpoint ID, or let Eden AI route for you.

Endpoint
Region
Context
Input / 1M
Output / 1M
Cached / 1M
Supports
Databricks (Europe)databricks/databricks-claude-sonnet-5@eu
Europe
1M
$2
$10
$0.2
Reasoning · Tools · JSON · Cache · Vision
Databricksdatabricks/databricks-claude-sonnet-5
Global
1M
$2
$10
$0.2
Reasoning · Tools · JSON · Cache · Vision
Amazon Web Servicesamazon/anthropic.claude-sonnet-5
Global
1M
$2
$10
$0.2
Reasoning · Tools · JSON · Cache · Vision
Anthropic (United States)anthropic/claude-sonnet-5
United States
1M
$2
$10
$0.2
Official · Reasoning · Tools · JSON · Cache · Vision · Web
Google Cloudvertex/claude-sonnet-5
Global
1M
$2
$10
$0.2
Reasoning · Tools · JSON · Cache · Vision · Web
Amazon Web Services (Europe)amazon/anthropic.claude-sonnet-5@eu
Europe
1M
$2.2
$11
$0.22
Reasoning · Tools · JSON · Cache · Vision
Amazon Web Services (United States)amazon/anthropic.claude-sonnet-5@us
United States
1M
$2.2
$11
$0.22
Reasoning · Tools · JSON · Cache · Vision
Google Cloud (Europe)vertex/claude-sonnet-5@eu
Europe
1M
$2.2
$11
$0.22
Reasoning · Tools · JSON · Cache · Vision · Web
Google Cloud (United States)vertex/claude-sonnet-5@us
United States
1M
$2.2
$11
$0.22
Reasoning · Tools · JSON · Cache · Vision · Web
DeepInfra (United States)deepinfra/anthropic/claude-sonnet-5
United States
1M
$3
$15
$
Reasoning · Tools · JSON · Vision

Performance

Measured on real Eden AI traffic over the last 30 days. Endpoints with too little traffic are not shown.

Fastest first token
1.26 s
Google Cloud (Europe)
Lowest latency
1.6 s
Amazon Web Services (United States)
Highest throughput
79.85 tok/s
Google Cloud (Europe)
Best availability
100%
Databricks (Europe)
Endpoint
First token
Latency p50
Latency p95
Throughput
Availability
Cache hits
Tool errors
JSON errors
Databricks (Europe)
3.94 s
6.13 s
42.66 s
63.95 tok/s
100%
9.11%
0.99%
0%
Databricks
3.95 s
6.23 s
56.47 s
61.64 tok/s
100%
9.64%
5.98%
0%
Amazon Web Services
2.35 s
4.52 s
42.53 s
65.4 tok/s
99.24%
84.31%
1.38%
0%
Anthropic (United States)
1.47 s
2.53 s
98.61 s
63.79 tok/s
100%
89.39%
5.63%
0%
Google Cloud
1.41 s
2.6 s
33.4 s
72.32 tok/s
100%
92.12%
1.1%
0%
Amazon Web Services (Europe)
2.25 s
4.85 s
44.18 s
70.94 tok/s
99.97%
90.41%
0.39%
0%
Amazon Web Services (United States)
4.58 s
1.6 s
25.36 s
31.73 tok/s
71.43%
96.75%
69.77%
0%
Google Cloud (Europe)
1.26 s
3.29 s
29 s
79.85 tok/s
100%
92.54%
0%
0%
DeepInfra (United States)
1.33 s
1.85 s
13.36 s
35.43 tok/s
100%
0%
69.64%
0%

Estimate your monthly cost

Enter your expected volume to compare every endpoint at once.

Call Claude Sonnet 5 with Eden AI

Use the model ID to let Eden AI pick an endpoint, or an endpoint ID from the table above to pin one.

import requests

response = requests.post(
    "https://api.edenai.run/v3/chat/completions",
    headers={"Authorization": "Bearer YOUR_EDENAI_API_KEY"},
    json={
        "model": "claude-sonnet-5",
        "messages": [{"role": "user", "content": "Hello!"}],
    },
)
print(response.json())

Questions about Claude Sonnet 5

On Eden AI, prices for this model start at $2 per million input tokens and $10 per million output tokens. Prices differ by endpoint; the providers table lists each one.

Up to 1M tokens, depending on the endpoint.

10 endpoints from 5 providers, available in: Global, Europe, United States. All of them are called with the same Eden AI API key.

Can I run Claude Sonnet 5 in the EU? Yes. At least one endpoint is hosted in Europe; pin it with its endpoint ID from the providers table to keep requests in the EU. ‖ How fast is Claude Sonnet 5? Over the last 30 days, the fastest first token was 1.26 s (Google Cloud (Europe)) and the highest throughput was 79.85 tokens per second (Google Cloud (Europe)).