AI API Cost Calculator

Estimate monthly LLM spend across providers. Enter average input/output tokens per request and your request volume to compare real costs side by side.

๐Ÿ”’ Runs entirely in your browser ยท nothing is uploaded or stored
ModelIn $/1MOut $/1MMonthly cost
Prices reflect published list rates (May 2026) and may change. Edit the numbers to match your real usage. Caching, batch discounts and free tiers are not included.

๐Ÿ’ฐ Cut your bill

  • Use a smaller model for routing/classification
  • Cache repeated context
  • Trim system prompts
  • Batch async jobs (often 50% off)

โšก Cost vs latency

Cheaper models are usually faster too. Reserve premium models for the few requests that truly need top reasoning.

Frequently Asked Questions

Are these prices current?

They reflect published list pricing as of May 2026. Providers change rates often โ€” always confirm on the official pricing page before budgeting.

Does it include caching discounts?

No. Prompt caching, batch API discounts and committed-use deals can cut costs 50โ€“90%. This gives you the un-discounted baseline.