Back to the models list Active on this gateway

Anthropic: claude-sonnet-5

claude-sonnet-5 Start building free

claude-sonnet-5 is a mid-tier large language model variant in Anthropic’s Claude family, positioned between lighter, faster models like Haiku and more powerful flagship models like Opus. It is designed to offer a strong balance of capability, speed, and cost, making it suitable for everyday application integration, complex reasoning tasks, and multi-turn assistants where efficiency matters. Sonnet-tier models are generally good at coding, structured analysis, and business workflows while remaining responsive enough for interactive use. They are typically used via API in production systems that need reliable quality without the higher latency and expense of top-tier models.

Modalities
Context 1M tokens
Quota cost Standard (1×)
Added September 23, 2026

Pricing

Current price per 1,000,000 tokens. Every request is billed automatically from its exact usage.

Input $2,40 / 1M tokens ≈ $0,00240 / 1K tokens
Output $12,00 / 1M tokens ≈ $0,01200 / 1K tokens

Included in plans

Titanium Gold Silver

Statistics

Live performance and usage of this model, aggregated across all users.

Rolling 30 days Aggregated across all users · refreshed every few minutes
Requests 3 3 all time
Success rate 100% 0 failed requests
Median latency 2,1 s p95 2,1 s
Throughput 14,1 output tokens per second
Tokens processed 574 191 avg. per request
Est. cost per request $0,00075 ≈ $0,7536 per 1K requests
Popularity #5 of 5 0,04% of all requests
Uptime (24h) — 0 requests

Usage over time

Token usage

Last 30 days
Input tokens
482 84%
Output tokens
92 16%
Avg. input per request
161
Avg. output per request
31
Largest request
508 tokens

Reliability

Last 30 days
Successful
3 100%
Failed
0 0%
  • 200 Success 3 100%

Response time

Successful requests · last 30 days
Fastest2 s
Average2,17 s
Median2,1 s
95th percentile2,1 s
99th percentile2,1 s
Slowest2,41 s

Last 24 hours

≥ 99% ≥ 90% < 90%
Latency (ms)
Requests per hour

Usage rhythm

Last 30 days · site timezone
  • Busiest hour: 03:00
  • Busiest weekday: Wednesday
  • Busiest day: 30 September (3 requests)

All-time record

Total requests
3
Total tokens
574
Active days
1
First request
30 September 2026
Last request
3 هفته ago

API

Call this model from any OpenAI-compatible client using your API token.

curl
curl https://apiex.cloud/api/v1/chat/completions \
  -H "Authorization: Bearer $NEW_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "model": "claude-sonnet-5",
  "messages": [
    {
      "role": "user",
      "content": "Explain quantum entanglement in one paragraph."
    }
  ],
  "temperature": 0.7
}'
Authentication

Every request must include an Authorization: Bearer <TOKEN> header. Generate a token from your account's API Keys page — its access to models is set automatically from your active plans and redeemed codes, and you can set its rate limit and IP restrictions.

Supported parameters
Parameter Type Description
modelstring, requiredThis model's ID, exactly as shown above.
messagesarray, requiredConversation history as role/content objects (system, user, assistant).
temperaturenumber, optionalSampling randomness, typically 0–2.
max_tokensinteger, optionalUpper limit on tokens generated in the reply.
top_pnumber, optionalNucleus-sampling threshold, as an alternative to temperature.
streamboolean, ignoredResponses are always returned in full so the exact cost can be billed; streaming is not available.

Replace YOUR_API_KEY with a token from your account, then see the full API reference for every parameter.

Frequently asked questions

What is claude-sonnet-5?

claude-sonnet-5 is a mid-tier large language model variant in Anthropic’s Claude family, positioned between lighter, faster models like Haiku and more powerful flagship models like Opus. It is designed to offer a strong balance of capability, speed, and cost, making it suitable for everyday application integration, complex reasoning tasks, and multi-turn assistants where efficiency matters. Sonnet-tier models are generally good at coding, structured analysis, and business workflows while remaining responsive enough for interactive use. They are typically used via API in production systems that need reliable quality without the higher latency and expense of top-tier models.

How much does claude-sonnet-5 cost?

Input tokens are priced at $2,40 per 1,000,000 tokens and output tokens at $12,00 per 1,000,000 tokens. Pricing is billed automatically per request; no separate plan is required.

What is the context length of claude-sonnet-5?

claude-sonnet-5 supports a context window of up to 1,000,000 tokens.

Does claude-sonnet-5 support image input?

Yes, claude-sonnet-5 accepts image input in addition to text.

Which provider is claude-sonnet-5 from?

claude-sonnet-5 is developed by Anthropic and made available on this gateway through our routing infrastructure.

When was claude-sonnet-5 added to this gateway?

claude-sonnet-5 has been available on this gateway since September 23, 2026.

Is claude-sonnet-5 currently available?

Yes, claude-sonnet-5 is active and can be used right now through this gateway.

Explore more models