Claude Sonnet 4
Newer version available: Claude Sonnet 5.5
- Family
- Claude 4
- Released
- 2025-05-22
- Context
- 200K
- Max output
- 64K
- Openness
- Proprietary
- License
- ProprietaryRestricted
- Weights
- Not released
- Code
- Unknown
No tracked provider pricing is available yet.
No tracked provider pricing is available yet.
About
Claude Sonnet 4 API snapshot (claude-sonnet-4-20250514) is deprecated and scheduled to retire from Anthropic-operated platforms on June 15, 2026. Use Claude Sonnet 4.6 for current integrations.
Providers(1)
Compare API pricing across 1 tracked provider route for input and output tokens, batch, and cached reads when available.
| Provider | Input / 1M | Output / 1M | Route |
|---|---|---|---|
| GCP Vertex AI | - | - | ServerlessPartial |
Deprecated provider routes(6)
| Provider | Status | Catalog ID |
|---|---|---|
| Anthropic | DeprecatedRetired June 15, 2026 | claude-sonnet-4-20250514 |
| Snowflake Cortex | DeprecatedRetired October 14, 2026 | claude-4-sonnet |
| AWS Bedrock | DeprecatedRetired October 14, 2026 | anthropic.claude-sonnet-4-20250514-v1:0 |
| Replicate API | Deprecated | anthropic/claude-4-sonnet |
| OpenRouter | DeprecatedRetired June 15, 2026 | anthropic/claude-sonnet-4 |
| Vercel AI Gateway | DeprecatedRetired June 15, 2026 | anthropic/claude-sonnet-4 |
Available via routers & gateways(15)
LiteLLM
GatewayOpen-source Python SDK and proxy server that unifies 100+ LLM APIs behind a single OpenAI-compatible interface, with load balancing, cost tracking, and configurable failover.
OpenRouter
HybridUnified hybrid gateway to 500+ models from 80+ providers via a single OpenAI-compatible API, with an optional Auto Router that selects a model per prompt from market spend data.
Portkey
GatewayProduction AI gateway routing to 1,600+ LLMs with failover, load balancing, caching, and guardrails; MIT-licensed open-source core is self-hostable. Now part of Palo Alto Networks as Prisma AIRS AI Gateway.
AIRouter
RouterCommercial LLM router (branded "AI Router" on its site) that picks the best model per request via a Decision API or an OpenAI-compatible Chat Completions endpoint, with a private selection mode that routes on anonymized patterns; sold as BYOK subscription plans priced by routed tokens.
Amazon Bedrock Intelligent Prompt Routing
RouterAWS Bedrock's native prompt router that predicts each model's performance per request and routes between two models of the same family (Anthropic Claude, Meta Llama or Amazon Nova).
Helicone
GatewayObservability-first AI gateway with routing, caching, rate limiting, and request tracing; Apache-2.0 open-source platform with a managed hosted tier for logging and analytics.
Capabilities
Benchmark peer barsfor Coding
Benchmark scores(6)
| Benchmark | Score | Version | Evaluation | Source |
|---|---|---|---|---|
| 68.5 | 2026-04 (with thinking)Observed 2026-04-14 | — | ||
| 61.3 | 2026-04 (32k thinking tokens)Observed 2026-04-14 | — | ||
| 74.4 | —Observed 2026-04-15 | — | ||
| 83.7 | —Observed 2026-04-14 | — | ||
| 72.7 | —Observed 2025-05-14 | — | ||
| 1342.0 | text creative_writing 2026-10-22Observed 2026-10-22 | Configuration: Claude Sonnet 4 (20250514) Harness: LMArena blind pairwise human votes, Bradley-Terry Evaluator: LMArena Confidence: confirmed Notes: LMArena Text arena, Creative Writing category (no style control), board published 2026-10-22 (HF lmarena-ai/leaderboard-dataset @a467e6b9, text config, latest split). Board entry 'Claude Sonnet 4 (20250514)' (category creative_writing in text/latest-00000-of-00001.parquet): rank 179 of 416, rating 1342.0 (95% CI 1333.1-1350.9), 4910 votes. Other board entries for this model, not used: 'Claude Sonnet 4 (Thinking 32K, 20250514)' 1344.8 (rank 174). Source: LMArena (CC BY 4.0). Retrieved 2026-10-27. | Source Source: LMArena (lmarena.ai), CC BY 4.0 |
Migration checks
No linked migration route is available for this model yet.