Guide 2 min read

How to estimate your monthly AI spend before you build

A simple method for turning expected usage into a budget, and the three assumptions that most often go wrong.

It is much easier to choose a model and a provider when you have a rough monthly cost in mind. You do not need precise numbers to get one. You need four estimates and a multiplication.

The basic sum

For a text model, the monthly cost is:

requests per month × (input tokens per request × input price + output tokens per request × output price)

So you need:

  1. Requests per month. Users multiplied by how often each one triggers a call.
  2. Input tokens per request. Your system prompt, plus any documents or history you send, plus the user’s message.
  3. Output tokens per request. The typical length of the answer.
  4. The prices. Per million input and output tokens, for the model and provider you are considering.

As a rule of thumb, a token is about three quarters of an English word.

Three assumptions that go wrong

Conversation history. In a chat, each new message usually resends everything said so far. The tenth message in a conversation can carry many times the input of the first. Estimate the average across a whole conversation, not the opening turn.

Output length. Answers are often longer than expected, and output is the expensive side. Measure real responses from a prototype rather than guessing.

Calls per action. One user action can trigger several model calls: a retry, a tool call, a check on the answer. Count calls, not clicks.

Give yourself a range

Work out a low, a middle and a high case instead of a single figure. If the high case is still affordable, the decision is easy. If it is not, you know which assumption to test first.

Then compare

Once you have token volumes, the cost calculator shows what they cost on every model and provider we track. A model’s cheapest provider page shows how much of that bill depends on where you run it. Standard prices are used throughout, so batch or cached pricing could bring your real cost below the estimate.

Prices last refreshed on . 79 models from 27 providers, from the LiteLLM open price dataset.

How we collect and rank prices