LLM API Pricing Comparison
Turn each provider's quoted per-1M-token input and output rates into monthly and annual totals, cost per request and a break-even verdict — computed locally.
At a glance
LLM API Pricing Comparison is a free, client-side calculator that compares the monthly cost of up to four LLM API providers for your exact token workload. Enter each provider's per-1M-token input and output rates, your request volume and token counts to get exact totals, cost per request and the cheapest option.
100% Private LLM Cost Math
All rates are your own inputs. Nothing is uploaded — the comparison runs locally in your browser.
Your monthly token workload
One workload, up to four provider rate cards — the engine computes exact monthly and annual costs for each. Reconcile token counts with your usage dashboard; this tool does not count tokens from text.
Provider rates (from their pricing pages)
Enter each provider's quoted USD price per 1M input tokens and per 1M output tokens, plus any fixed monthly spend. Leave both rates blank to exclude a provider; a single blank rate counts as $0 for that token bucket.
Worked example loaded. Review the static table below, or press “Compare costs”.
Worked example — 100,000 requests · 1,000 input / 500 output tokens per request
| Provider | $/1M input | $/1M output | Input cost | Output cost | Monthly total | Blended $/1M |
|---|---|---|---|---|---|---|
| Provider A | $2.5000 | $10.0000 | $250.00 | $500.00 | $750.00 | $5.0000 |
| Provider B | $3.0000 | $15.0000 | $300.00 | $750.00 | $1,050.00 | $7.0000 |
| Monthly saving with Provider A | $300.00/mo — $3,600.00/yr | |||||
Token volumes: 100,000 requests × 1,000 input = 100M input tokens; × 500 output = 50M output tokens. Formula: input cost = input tokens ÷ 1,000,000 × input rate; output cost = output tokens ÷ 1,000,000 × output rate; monthly total = fixed spend + input cost + output cost; blended $/1M = monthly total ÷ total tokens × 1,000,000. The rates above are example user inputs, and the verdict is calculated from entered numbers.
Why Use This LLM API Pricing Comparison?
How to Use LLM API Pricing Comparison
Describe your workload
Enter requests per month and the average input and output tokens per request (reconcile token counts with your usage dashboard; this tool does not count tokens from text).
Enter each provider's rates
For up to four providers, type a label, the quoted USD price per 1M input tokens, price per 1M output tokens and any fixed monthly spend. Take the rates from the providers' own pricing pages.
Read the verdict
Compare monthly totals, the input/output cost split, cost per request, blended $/1M tokens, annual projections and the break-even request count; copy a summary for your notes.
100,000 requests at 1,000 input / 500 output tokens per request
The engine multiplies request volume by the average token counts to get monthly token volumes, applies each provider's per-1M rates to the input and output buckets, adds any fixed monthly spend, ranks the totals and reports the monthly and annual delta plus the break-even point when fixed spend differs.
Requests/month: 100,000 · Avg input: 1,000 tokens · Avg output: 500 tokens · Provider A: $2.50/1M input, $10.00/1M output, $0 fixed · Provider B: $3.00/1M input, $15.00/1M output, $0 fixed (example rates, not vendor prices)
Token volumes: 100M input + 50M output. Provider A: $250.00 input + $500.00 output = $750.00/mo ($0.0075/request, $5.00 blended per 1M). Provider B: $300.00 + $750.00 = $1,050.00/mo ($0.0105/request, $7.00 blended per 1M). A is cheaper by $300.00/mo ($3,600.00/yr).
Technical Specifications & Engine Details
| Specification | Details |
|---|---|
| Supported Formats | USER-ENTERED-PER-1M-TOKEN-RATES, REQUESTS-PER-MONTH, AVG-INPUT-TOKENS-PER-REQUEST, AVG-OUTPUT-TOKENS-PER-REQUEST, OPTIONAL-FIXED-MONTHLY-SPEND → USD-MONTHLY-TOTALS, USD-ANNUAL-PROJECTION, COST-PER-REQUEST, BLENDED-COST-PER-1M-TOKENS, COMPARISON-TABLE |
| Execution Mode | 100% Client-Side In-Browser (client) |
| Browser Requirements | Modern browser with JavaScript and HTML5 APIs enabled. |
| Performance Constraints | USD only; pay-as-you-go per-token text pricing only — cached-input, batch, fine-tuning, embedding and image-model tiers, taxes and currency conversion are excluded; every rate is a user input and no vendor prices are asserted. |
100% Client-Side Privacy Guarantee
Inputs stay on your device. Zero data is transmitted to external servers.
Frequently Asked Questions
How do I compare LLM API pricing for my workload?
Which LLM API provider is cheapest for my usage?
How is LLM API cost calculated per token?
When do minimum spend and per-token rates cross over?
Does this tool use current OpenAI, Anthropic or other vendor prices?
Is this calculator free and private?
Methodology
Monthly cost = input tokens ÷ 1,000,000 × input rate + output tokens ÷ 1,000,000 × output rate. All rates are user inputs, and the verdict uses only the numbers you enter.
Last updated .