Verified LLM API prices, a cost calculator, and a CI budget for AI spend
Official list prices for Claude, OpenAI and Gemini, each with the date it was checked and a link to the source. Price your own workload below, then put a budget contract in CI so a model change cannot quietly raise the bill.
Current prices
USD per 1 million tokens, read from each provider's official page on 2026-11-08. Each table links to the full list for that provider.
Claude API
| Model | Input | Output | Cache read | Batch | Verified |
|---|---|---|---|---|---|
Claude Fable 5.1anthropic/claude-fable-5-1 | $10.00 | $50.00 | $0.25 | 50% | |
Claude Opus 5.5anthropic/claude-opus-5-5 | $4.00 | $20.00 | $0.20 | 50% | |
Claude Sonnet 5.5anthropic/claude-sonnet-5-5 | $2.00 | $10.00 | $0.10 | 50% | |
Claude Haiku 4.5anthropic/claude-haiku-4-5 | $1.00 | $5.00 | $0.10 | 50% |
OpenAI API
| Model | Input | Output | Cache read | Batch | Verified |
|---|---|---|---|---|---|
GPT-6.1 Solopenai/gpt-6.1-sol | $2.00 | $10.00 | $0.10 | 50% | |
GPT-6 Solopenai/gpt-6-sol | $2.00 | $10.00 | $0.20 | 50% | |
GPT-6 Lunaopenai/gpt-6-luna | $0.10 | $0.50 | $0.01 | 50% | |
GPT-5.6 Solopenai/gpt-5.6-sol | $4.00 | $20.00 | $0.40 | 50% | |
GPT-5.5openai/gpt-5.5 | $5.00 | $30.00 | $0.50 | 50% | |
GPT-5.4 miniopenai/gpt-5.4-mini | $0.75 | $4.50 | $0.075 | 50% |
Gemini API
| Model | Input | Output | Cache read | Batch | Verified |
|---|---|---|---|---|---|
Gemini 3.1 Pro Previewpreviewgoogle/gemini-3.1-pro-preview | $2.00 | $12.00 | $0.20 | 50% | |
Gemini 3.1 Flash-Litegoogle/gemini-3.1-flash-lite | $0.25 | $1.50 | $0.025 | 50% | |
Gemini 3.6 Flashgoogle/gemini-3.6-flash | $0.75 | $3.75 | $0.075 | 50% | |
Gemini 2.5 Flashgoogle/gemini-2.5-flash | $0.30 | $2.50 | $0.03 | 50% |
Azure OpenAI prices and a side-by-side comparison of every model are on their own pages.
Cost calculator
Enter your volume and token counts. The result is computed on the server from the prices above, so it works without JavaScript and every result has a shareable address.
Claude Sonnet 5.5 at 1,000 requests per day costs $0.0120 per request, $12.00 per day, $360.00 per month and $4,380.00 per year.
Prices effective 2026-12-06Verified 30 day month, 365 day year
| Line | Quantity per request | Unit price | Per request | Per month |
|---|---|---|---|---|
| input | 3,000 | $2.00 per 1m tokens | $0.006000 | $180.00 |
| output | 600 | $10.00 per 1m tokens | $0.006000 | $180.00 |
Cheapest current models for a 3,000 in, 600 out workload
| Model | Provider | Per request | Per month at 1,000 req/day |
|---|---|---|---|
| GPT-5 nano | Azure OpenAI (Foundry Models) | $0.000390 | $11.70 |
| GPT-5 nano | OpenAI | $0.000390 | $11.70 |
| GPT-4.1 nano | Azure OpenAI (Foundry Models) | $0.000540 | $16.20 |
| Gemini 2.5 Flash-Lite | Google (Gemini API) | $0.000540 | $16.20 |
| GPT-6 Luna | OpenAI | $0.000600 | $18.00 |
| GPT-4o mini | Azure OpenAI (Foundry Models) | $0.000810 | $24.30 |
| GPT-4o mini | OpenAI | $0.000810 | $24.30 |
| GPT-5.6 Luna | OpenAI | $0.001320 | $39.60 |
Compare every model side by side or price your own workload.
Budget contracts for CI
This is what a one-line model change looks like to SpendLint. The pull request swaps Claude Sonnet 5.5 for Claude Opus 5.5 on a workload of 1,000 requests a day. The contract below allows $500 a month and a 20% rise, so the check fails and names the rules that broke.
| Change | Workload | Model | Tokens per request | Per request | Per month |
|---|---|---|---|---|---|
| − | Baseline | Claude Sonnet 5.5 | 3,000 input, 600 output | $0.01 | $360.00 |
| + | Proposed | Claude Opus 5.5 | 3,000 input, 600 output | $0.02 | $720.00 |
| = | Delta per month (+100.00%)FAIL | +$360.00 | |||
1,000 requests per day, 30 day monthPrices effective 2026-12-06Verified Source Anthropic
Add a spendlint.yaml to your repository, describe the workload, and the GitHub Action reports PASS, WARN or FAIL with the projected before and after cost and the rule that broke.
version: 1
rules:
max_monthly_usd: 500
max_cost_per_request_usd: 0.02
max_regression_pct: 20 npx spendlint check --contract spendlint.yaml --workload workload.json --baseline workload.baseline.json For the swap above the command exits 1 and prints FAIL, the delta of +$360.00 per month (+100.00%), the violated rules and the cheaper compliant models. Check a contract in the browser.
About
SpendLint is made and maintained by Chudi Nnorukam, an independent developer. It is free, has no paid tier and takes no money from the providers it lists. Every price comes from an official provider page and carries its source link and verification date. If a price is wrong, write to hello@chudi.dev. See also the privacy page and the terms.
What SpendLint does not do
- It does not read your provider invoices or API keys. Every number is a projection from list prices and your declared workload.
- It does not track spend after the fact. It stops the regression in review, where it is cheap to fix.
- It does not guess prices. Every row carries the official source URL and the date it was checked, and stale rows raise a warning instead of quietly staying live.
Reference pages
- Claude API pricing
- Every Claude model with input, output, cache and batch prices.
- Claude API price history
- Dated price changes per Claude model, free to reuse under CC BY 4.0.
- OpenAI API pricing
- GPT-6, GPT-5.x, o-series and mini models, cached input and batch.
- Gemini API pricing
- Gemini 3.x and 2.5 with long-context tiers and promotional periods.
- Azure OpenAI pricing
- Global Standard list prices from the Azure Retail Prices API.
- Claude Code cost
- What a developer seat costs per day and month, with Anthropic's own figures.
- JSON API
- The same dataset as machine-readable JSON with provenance on every row.