LLM API Cost Calculator: GPT, Claude, Gemini and DeepSeek

Last updated:

Work out what an LLM API costs per request, per day and per month. Choose a model from OpenAI, Anthropic (Claude), Google (Gemini) or DeepSeek, enter your tokens, and compare the same workload across all models. List prices were checked on 22 November 2026.

USD per million tokens, standard processing, short-context rates from each provider’s official price page on 22 November 2026. Prices change often: check the provider before you commit. A month is 30 days. If a model has no cached-input price listed, cached tokens are billed at the normal input price. Taxes, tool fees and free tiers are not included.

How LLM API pricing works

Providers charge per million tokens, with one price for input (your prompt) and a higher price for output (the reply). The cost of a request is input tokens times the input price plus output tokens times the output price, each divided by one million. Reusing the same prompt prefix can make the input much cheaper through prompt caching, and batch processing halves the price for work that can wait up to a day. Not sure how many tokens your text has? Use the AI token calculator.

Prices that change soon

Gemini 4 Argon is listed at $2 input and $10 output per million tokens through 30 November 2026, and $4 and $20 from 1 December 2026. Gemini 3.8 Flash is $0.75 and $3.75 through 31 December 2026, and $1.50 and $7.50 from 1 January 2027. DeepSeek charges half price outside peak hours. Set the “Prices as of” date to see the cost after a change. See the full list in the LLM token pricing comparison.

Frequently asked questions

Which LLM API is cheapest?

On list price the small models are cheapest: Claude Haiku 5.5, GPT-6 Luna and DeepSeek Flash cost well under a dollar per million tokens. The right choice also depends on quality for your task, so compare the models on your own prompts.

Why is output more expensive than input?

Generating each output token takes a full pass through the model, while input tokens are processed in parallel. Output prices are typically four to six times the input price.

Does this include ChatGPT or Claude subscriptions?

No. This covers pay-as-you-go API usage only. Chat subscriptions have their own fixed prices.

All calculators

Sources: Anthropic pricing, OpenAI API pricing, Gemini API pricing, DeepSeek models and pricing.