opyebCloudCostCal
OPYEB · CloudCostCal · 2026-11-28

What your AI stack actually costs

Compare LLM API tokens, GPU hours and serverless requests against the same workload. Every rate is a vendor list price, dated, with the break-even point spelled out. No login, no upload, nothing leaves your browser.

Token bill for a workload

Pick a model, describe one request, and see the month. The comparison table prices every model on the same workload.

1 token ≈ 4 English characters ≈ 0.75 words

0 for implicit caching (Gemini); 25 for explicit 5-minute writes (Claude, OpenAI 30m)

Monthly cost—
Per request—
Per 1,000 requests—
Per year—
Where it goes · Effective input price /1M: —

Everything is computed in your browser. Share the URL to share the inputs.

Every model, same workload

Sorted by monthly cost. Rates per million tokens.

#ModelMonthlyvs cheapestPer 1k reqIn / cache / out

List prices in USD, before tax, before negotiated discounts. Your bill depends on retries, tool calls, thinking tokens and failed requests.

Rate library

Rates checked 2026-11-28 · Rate library →

ModelInput /1MCache /1MOutput /1M
GPT-5 nanoOpenAI$0.05$0.005$0.40
GPT-6 LunaOpenAI$0.10$0.010$0.50
Claude Haiku 5.5Anthropic$0.10$0.010$0.50
DeepSeek V4.1 FlashDeepSeek$0.15$0.003$0.60
GPT-5.4 nanoOpenAI$0.20$0.020$1.25
GPT-5 miniOpenAI$0.25$0.025$2.00
DeepSeek V4-ProDeepSeek$0.66$0.022$1.98
GPT-5.4 miniOpenAI$0.75$0.075$4.50
Gemini 3.8 FlashGoogle → 1.5 2027-01-01$0.75$0.075$3.75
GPT-6.1 TerraOpenAI$1.00$0.050$5.00

How the maths works

Token bill

cost = requests × [ input_tokens × (uncached × price_in + hit × price_cache + write × price_in × (1 + write_premium)) + output_tokens × price_out ] ÷ 1,000,000. Batch APIs halve the token price; DeepSeek doubles it in peak hours.

Break-even load

cloud = rate × hours. on-prem = hardware ÷ months + kWh × price + ops_hours × ops_rate, where kWh counts the machine at full draw while it computes and at 25% while it idles. Break-even = on-prem monthly ÷ hourly rate.

Serverless

Workers: $5 + requests over 10M at $0.30/M + CPU-ms over 30M at $0.02/M. Lambda: requests over 1M at $0.20/M + GB-s over 400k at $0.0000166667. Vercel Pro: $20 with a $20 usage credit, then invocations, active CPU, provisioned memory and CDN overage.

FAQ

How much does an LLM API cost per 1,000 requests?

It depends on the model and the prompt. At 1,200 input and 400 output tokens per request, 1,000 requests cost roughly $0.01 on a small model such as GPT-6 Luna and around $1.70 on a frontier model such as Claude Sonnet 5.5 with no cache hits. Put your own token counts into the calculator above to see both ends.

Is renting a GPU cheaper than buying one?

Below roughly 200–400 GPU-hours a month, renting almost always wins; above 500 hours a single rented H100 at RunPod's $4.39/hour costs more than an amortised workstation plus electricity. The break-even line moves with utilisation, power price and how much of your own time the machine eats.

Why do the Gemini prices in this table differ from what I pay?

Google's own pricing page lists Gemini 4 Carbon and 4 Argon at $2.00 input / $10.00 output per million tokens only through 30 November 2026, then $4.00 / $20.00 from 1 December 2026. This table shows the current list price and flags the scheduled change.

What is a cache hit worth?

On most providers a cache read costs 10% of the base input price, so a 60% hit rate removes more than half of your input bill. Writes are not free: Claude and OpenAI charge about 25% extra on the first write, which is why the calculator asks for a write share as well as a hit share.

Does this site upload my numbers anywhere?

No. Every calculation runs in your browser and there is no API behind the page. The only stored value is your theme preference, and the inputs appear in the URL only so you can share a scenario.

Where do the rates come from?

Directly from provider pricing pages and price feeds, read on 2026-11-28 and listed with sources on the rate library page. Nothing is estimated except the on-premise hardware street prices, which are labelled as estimates.

Guides

Twelve guides on token bills, GPU break-even, serverless limits and the pricing cliffs nobody warns you about.

Guides →