Skip to content
UtilPouch

LLM API cost calculator

Set the tokens per request and how many requests a day, then compare what each model costs per month. Caching, batch pricing and your own negotiated rate are included.

Your workload

Processed on this device
Start from
tokens
tokens
/ day
days
40%

Share of input tokens that repeat, like a fixed system prompt.

Custom rate

Add your own or a negotiated price, in USD per 1M tokens. It appears as Custom model in the table.

ModelPer month

Prices checked December 6, 2026. Sources: OpenAI, Anthropic, Google, DeepSeek. Confirm current rates before you budget.

How the cost comparison works

  1. Per request first

    Input tokens are priced at each model’s input rate, with the cached share at its cached rate. Output tokens are priced at the output rate.

  2. Then per month

    The per-request cost is multiplied by requests per day and days per month. Batch pricing, where a provider offers it, halves the rates.

  3. Sorted so you can choose

    Models are listed from cheapest to most expensive for your exact numbers, with what caching saves shown beside each.

Questions

How are monthly API costs calculated?

Per request: input tokens × input price + output tokens × output price, with the cached share of input at the cached price. That is multiplied by requests per day and days per month.

How current are the prices?

Each rate was checked against the provider’s pricing page on the date shown under the table. Providers change prices; follow the source links to confirm before you commit a budget.

What does the batch toggle do?

OpenAI, Anthropic and Google offer about 50% off for requests sent through their batch APIs, which return results within hours instead of seconds. Models without a batch discount keep their normal price and are marked. On Gemini, cached input stays at the standard cached rate.

Can I use my own negotiated price?

Yes. Open Custom rate, enter input, cached and output prices per million tokens, and a Custom model row joins the comparison.