Vibe Coding Tools
Vibe Coding Tools / Model Compare / Claude Sonnet 5

Claude Sonnet 5 API Pricing & Context Window

Indicative 2026 rates. Verify on the provider's pricing page before budgeting.

MetricValue
Input price$3.00 / 1M tokens
Output price$15.00 / 1M tokens
Context window1M
Best forBest-value coding

Example monthly cost

At a sample workload of 50,000 requests/month with 8,000 context tokens, 1,000 new input tokens, and 500 output tokens per request, Claude Sonnet 5 costs roughly $1,725.00/month (uncached). Turn on prompt caching and the context portion drops to about 10%, often cutting the bill by half. Estimate your own numbers with the AI Cost Calculator.

How Claude Sonnet 5 compares

Claude Sonnet 5 sits among the current frontier and open-weight models. To see every model side by side — context window, input/output price, and best-fit use case — open the LLM Model Compare tool and filter by what you need (coding, long context, cheap volume, or reasoning).

Frequently asked questions

How much does Claude Sonnet 5 cost per 1M tokens?
Input tokens are $3.00 per 1M and output tokens are $15.00 per 1M (indicative 2026 rates). Output costs more because generating tokens uses more compute.
What is the Claude Sonnet 5 context window?
1M. A larger context window lets you send more code, docs, or conversation history per request without chunking.
Is this Claude Sonnet 5 pricing current?
Rates are a snapshot captured at build time. AI pricing moves often and many providers offer cached-token discounts, so confirm on the official pricing page before committing a budget.
How do I estimate my own Claude Sonnet 5 bill?
Use the AI Cost Calculator — enter your tokens and volume and see the monthly cost instantly, with and without prompt caching.