Guides · Cost and speed

LLM API cost calculator: cost per request, per 1,000 runs and per month

Updated 2026-12-02

Short answer: cost per request = input tokens × input price ÷ 1,000,000 + output tokens × output price ÷ 1,000,000. Multiply by your monthly requests. Example: 1,200 input and 300 output tokens on a model priced $2 / $10 per million is $0.0054 per request, $5.40 per 1,000, and $216 a month at 40,000 requests.

Calculator

Prices for 25 current models are in the LLM API pricing comparison.

Get real token counts, not guesses

Every major API returns token usage with each response (input tokens, output tokens, and on some models reasoning tokens and cached tokens). Run 20–50 of your real prompts and average those numbers. Estimates like "about 4 characters per token" are fine for a first guess, but models tokenize differently and output length varies a lot by model, so measure on each model you're considering.

Why the bill differs from the estimate

Cost per 1,000 runs is the number to compare

Comparing models on price per token is misleading: one model can be cheaper per token and more expensive per answer. Run the same prompts on each candidate, compute cost per 1,000 runs from the real usage, and put it next to the pass rate. The full comparison method.

Let every new model take your test, automatically

Modeldrop (in development) keeps your prompts and your rules for a correct answer. Every time a major lab releases a model, it runs your prompts on it, compares the results with the model you use today and emails you the verdict: how many pass, what it would cost at your volume and how fast it is. No API keys, no eval code.

See the founding offer

Related guides