Back to model catalog

Claude Sonnet 4

Anthropic Claude

Released 2025-05-14
ChatJSON modeStreamingTool calling
200K
Context window
Text
Modalities
$3.00 / $15.00
Lowest input / output per M tokens

Providers & pricing (2)

ProviderInput $/MOutput $/MCached input $/MCache write $/MContext
Google Vertex AILowest price
claude-sonnet-4@20250514
$3.00$15.00$0.30$3.75200K
AWS Bedrock
anthropic.claude-sonnet-4-20250514-v1:0
$3.00$15.00——200K

Cloptima's known static list pricing per million tokens; live/negotiated rates may differ.

Example: 1,000 requests of 2,000 input and 500 output tokens costs about $13.50 on Google Vertex AI.

Use it through Cloptima

curl https://api.cloptima.ai/v1/ai/chat/completions \
  -H "Authorization: Bearer $CLOPTIMA_PAT" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "claude-sonnet-4",
    "messages": [{"role": "user", "content": "Hello"}]
  }'

Use the bare model name and Cloptima picks the provider for each request: the lowest estimated cost among the providers your credentials or managed credits can use, filtered by your policy and provider health.

An OpenAI-compatible endpoint with per-team cost attribution, budgets and policy controls.

How the AI gateway works