llmcost.xyz is a free tool for developers and AI engineers who need to estimate and compare API costs across LLM providers. All calculations run in your browser — no signup, no data collection.
Compare costs across all major models. Enter daily usage, get monthly estimates.
Deep dive into GPT-4o, GPT-4o-mini, o1-preview, and GPT-3.5 pricing.
Anthropic Claude pricing with prompt caching savings estimates.
Side-by-side table of all 18+ models sorted by your actual cost.
Paste text to estimate token count and per-model API cost.
LLM pricing is confusing. Different models charge differently for input vs output. Pricing changes multiple times per year. Most "pricing comparison" pages are static and outdated within weeks of a new model release.
llmcost.xyz is built to stay current. We update pricing data when providers announce changes, and the calculator does the real math — factoring in your actual request volume and typical token lengths — rather than abstract per-token figures.
We source pricing from official provider pages. Prices are for standard API access without volume discounts. If you find an error or a price has changed, please let us know.
All calculations happen in your browser. No text you enter is sent to our servers. See our privacy policy.