Quick answer
AI APIs charge per token, a piece of text about three quarters of a word, for everything the model reads and writes. Because most chat systems resend the whole conversation on every turn, longer and busier months raise both the number of chats and the cost of each one.
Your best month should feel like your best month. On per-token AI pricing it is usually your most expensive one. More customers bring more chats, longer chats and a bigger bill, so finance cannot budget it and teams start switching AI features off to save money. This guide shows why, with the maths you can reuse, and how to keep the bill flat.
What you actually pay for when an AI bills per token
A token is a small piece of text, roughly three quarters of an English word. When a business uses an AI model through an API, the provider counts every token the model reads and every token it writes, then multiplies each count by a rate. Reading is called input and writing is called output, and output is usually priced several times higher than input.
That sounds simple. The surprise comes from what counts as input. It is not only the customer's last message. It is everything sent to the model on that request: your instructions, any documents you attach, and in most chat systems the whole conversation so far.
The formula
Every provider prices a little differently, but the basic sum is the same:
Cost of one request = (input tokens ÷ 1,000,000 × input rate) + (output tokens ÷ 1,000,000 × output rate)
Rates are quoted per million tokens. A monthly bill is that sum repeated for every request, across every conversation, every day. Check the current rates on each provider's own pricing page before you budget, because they change often.
A worked example: why a busy month costs far more than a normal one
Take a customer support chatbot. The rates below are illustrative only, chosen to make the maths easy to follow, not any provider's price: 3 dollars per million input tokens and 15 dollars per million output tokens.
- Instructions sent with every request (the system prompt): 800 tokens
- Each customer message: 40 tokens
- Each reply: 120 tokens
- The full conversation is sent again on every turn, which is how most chat systems keep context
In a normal month, 3,000 conversations of 6 turns each. Turn one sends 840 tokens. Turn two sends those plus the first exchange, and so on. Over six turns that adds up to 7,440 input tokens and 720 output tokens per conversation, or about 3.3 cents. For the month: about 99 dollars.
In a sale month, traffic triples to 9,000 conversations and customers ask more, so chats run to 10 turns. Each conversation now sends 15,600 input tokens and receives 1,200 output tokens, or about 6.5 cents. For the month: about 583 dollars.
| Normal month | Sale month | |
|---|---|---|
| Conversations | 3,000 | 9,000 (3 times more) |
| Turns per conversation | 6 | 10 |
| Input tokens per conversation | 7,440 | 15,600 |
| Cost per conversation | about 3.3 cents | about 6.5 cents |
| Monthly bill | about 99 dollars | about 583 dollars (almost 6 times more) |
Traffic went up three times. The bill went up almost six times. Longer conversations resend more history on every turn, so the cost per conversation climbs at the same moment the number of conversations climbs. That is the pattern behind most "why is our AI bill so high" questions.
It is also why teams start rationing AI. Answers get shorter, use cases get dropped and features are switched off in the busiest week, exactly when customers need them most. You paid for AI and now you are afraid to use it.
Four things that quietly grow a token bill
1. Conversation history
Because the conversation is resent on each turn, the tenth message in a chat costs far more than the first, even if the customer typed the same number of words. Long chats are expensive chats.
2. Long instructions and attached documents
A detailed system prompt, a product catalogue or a few pages of policy pulled in to answer a question are all input tokens, sent again on every request. A short question can easily carry several thousand tokens of baggage.
3. Retries, tool calls and agents
When a request fails and is retried, you pay twice. When an AI agent calls tools, checks its own work or plans several steps, each step is another request with its own input and output.
4. Thinking tokens
Some newer models reason internally before they answer. Many providers bill those hidden reasoning tokens as output, so a reply that looks short can cost as much as a long one.
Pricing models compared
Per-token billing is not the only way to pay for AI. Here is how the common models behave as you grow.
| Pricing model | What you pay for | What makes the bill grow | Best when |
|---|---|---|---|
| Per token (API) | Every token read and written | Traffic, longer chats, bigger prompts, retries | Low or unpredictable volume, experiments, prototypes |
| Per conversation or per resolution | Each chat or each solved ticket | Traffic, and using the AI for more things | You want a price per outcome and accept a variable bill |
| Per seat | Each staff user | Team size | Tools your staff use, not customer-facing chat |
| Self-hosting a model | Servers, setup and upkeep | Engineering time and hardware | You have the team to run models and steady volume |
| Fixed monthly fee | One price for an agreed volume | Only moving to a bigger plan | Steady, busy workloads and a finance team that needs one number |
A fixed fee is not always the cheapest choice. If you send a few hundred requests a month, or you are still testing an idea, paying per token is usually simpler and cheaper. Fixed pricing wins when volume is steady and growing, when peaks would make a per-token bill jump, and when someone has to put the number in a budget.
The same pattern in your industry
Every business has its own sale month. The busy weeks differ, but on per-token pricing the bill jumps in all of them:
- E-commerce and retail: sale days, festivals and launches
- Clinics and healthcare: flu season, health camps and new branches
- Real estate: the night an ad brings in a flood of leads
- Hospitality and travel: peak season, long weekends and holidays
- Education: admission season and exam results
- Home services: the first hot week of summer and the monsoon
- Financial services: month end, due dates and tax season
- Professional services: tax season, year end and filing deadlines
- Logistics and manufacturing: the festive rush and year end
How to keep a per-token bill under control
- Send less history. Keep only the last few turns, or replace older turns with a short summary.
- Trim the instructions. Every word in the system prompt is paid for on every request.
- Use rules for the obvious. Greetings, yes or no answers, opening hours and order status do not need a large model.
- Use the smallest model that does the job well. Keep the large model for the hard cases.
- Reuse answers. Cache replies to questions you see every day instead of generating them again.
- Read your usage logs. Every API response reports its own input and output token counts. Check them before you guess.
What we do differently: one flat bill
We build the system and run it for one fixed monthly fee with the AI included. The plan is sized to your real volume in conversations or calls, not tokens, with room to grow written into an agreed fair-use limit. Quiet month, sale month or a year of growth, the bill stays the same. If you grow past the plan, nothing switches off. We simply suggest the right plan for the next month.
The fee covers the whole system: the AI itself on open-source models on our private servers in your region, the security of everything we build, daily monitoring and fixes, and monthly improvements. We can hold the price because fixed rules handle the clear cases, a small model handles routine work and a large model is kept for the hard questions, so the cost of each conversation stays low and steady.
We start with a pilot on one job, with a success measure agreed in writing. If it misses the target, you walk away. See token pricing and our fixed fee side by side, read how we keep AI automation costs low, or send us your last few months of usage and book a call to see what a flat plan would look like.
Frequently asked questions
One fixed monthly fee. The AI is included.
No token bills and no per-use charges, within a written fair-use volume.
Size your agent with us Free AI bill check