claude-sonnet-4-20250514 is a advanced-tier language model from Anthropic. claude-sonnet-4-20250514 is a proprietary model available exclusively through Anthropic's API. Claude 4 is Anthropic's latest model generation, delivering frontier-level capability with improved reasoning, coding, and long-context performance.
claude-sonnet-4-20250514 is priced at $3/1M input tokens and $15/1M output tokens. Output tokens are 5× more expensive than input tokens — this ratio reflects the sequential nature of autoregressive generation, which requires a separate forward pass per output token versus parallel processing of all input tokens simultaneously. At a typical usage pattern of 1,000 input tokens and 500 output tokens per call, claude-sonnet-4-20250514 costs approximately $10.50 per 1,000 API calls. Prompt caching reduces repeated input tokens to $0.3/1M — a 90% discount that compounds significantly for applications with long shared system prompts, multi-turn conversations, or document Q&A where the same context is reused across many queries.
Its 200K-token context window is in the top tier for production models, enabling full-document analysis, long multi-turn conversations, and large codebase understanding without chunking. Median latency (P50 time-to-first-token) is approximately 620ms — suitable for interactive applications where sub-second response is acceptable. Throughput is approximately 125 tokens/second — adequate for streaming at comfortable reading speed. Maximum output length is 64K tokens — sufficient for long-form content generation, detailed code files, and extended reports.
claude-sonnet-4-20250514 is best suited to chat, coding, vision. Supported capabilities include vision inputs (images alongside text), function calling / tool use for agentic workflows, streaming token output for real-time UIs. Vision support enables document analysis, screenshot understanding, diagram interpretation, and visual question answering — images are converted to tokens at the standard input rate based on resolution. Function calling support makes it suitable for building AI agents, structured data extraction pipelines, and any workflow requiring the model to invoke external APIs or return typed JSON. When evaluating this model for a specific workload, the most important factors are: context window (does your input fit?), output price (how long are your generations?), and latency (is this interactive or batch?). The pricing table above shows how claude-sonnet-4-20250514 compares to similar models across these dimensions.
claude-sonnet-4-20250514 sits in the advanced tier — strong general-purpose models balancing capability and cost, suitable for most production applications. Unlike open-weights alternatives, claude-sonnet-4-20250514 is only available via Anthropic's API — there is no self-hosted option, which simplifies deployment but creates vendor dependency. When comparing claude-sonnet-4-20250514 to alternatives, use the similar models section on this page to find models at comparable price points with different capability tradeoffs. The intelligence score (84/100) reflects aggregate benchmark performance — a useful proxy for general capability, though real-world performance varies significantly by task type. Always test with your specific prompts and use case before committing to a model for production.
Composite quality score based on reasoning, coding, and instruction-following benchmarks.
Input price vs 184 advanced models tracked. Avg: $1.38/1M.
| Model ID | claude-sonnet-4-20250514 |
| Provider | Anthropic |
| Model Family | Claude 4 |
| Tier | Advanced |
| Context Window | 200,000 tokens (200K) |
| Max Output Tokens | 64,000 tokens |
| Input Price | $3 / 1M tokens |
| Output Price | $15 / 1M tokens |
| Cached Input Price | $0.3 / 1M tokens |
| Throughput | 125 tokens/sec |
| Latency (P50) | 620ms |
| Intelligence Score | 84/100 |
| LiveBench Score | — |
| Cost per Task (LiveBench) | — |
| Data Confidence | — |
| HLE Score | — |
| GPQA Diamond | — |
| SWE-bench Score | — |
| OSWorld Score | — |
| BrowseComp Score | — |
| Terminal-Bench Score | — |
| AutoBench Score | — |
| Parameters | — |
| Vision Support | Yes |
| Function Calling | Yes |
| Streaming | Yes |
| Reasoning Model | No |
| Open Weights | No |
| Data Source | Static (verified) |
| Last Updated | 2026-07-01 |
Similar Models by Intelligence Score
Self-hosting claude-sonnet-4-20250514? These GPUs are well-matched for this model's compute and memory requirements.