Estimating and controlling the cost of support AI
AI model providers bill per token. How token pricing works, a worked monthly estimate with current list prices, and the levers that keep the bill predictable.
Model providers such as Anthropic and OpenAI bill API use per token, a small chunk of text. You pay for input tokens (your instructions, the help content retrieved for the question, the conversation so far and the customer's message) and for output tokens (the reply, plus any hidden reasoning the model does). To estimate a monthly cost, multiply conversations per month by tokens per conversation and by the price per million tokens, then measure real usage and adjust. To control it, keep retrieved content lean, use the smallest model that passes your tests, cap reply length, hand over looping conversations early and set a hard monthly budget with a clear fallback to people.
If you buy AI answers through a support platform rather than directly from a model provider, the platform may price them differently, for example per conversation or as included credits. Check its terms. The token arithmetic below still explains what drives the underlying cost.
How token pricing works
What a token is. OpenAI's rule of thumb for English is that one token is about four characters, or about three-quarters of a word, so 100 tokens is roughly 75 words. Other languages can have different ratios (OpenAI Help Center, What are tokens).
Token counts depend on the model. The same text can produce different numbers of tokens on different models. Anthropic says its Claude 4.7 and later models use a newer tokenizer that produces approximately 30% more tokens for the same text than earlier models (Anthropic, Pricing). OpenAI makes the same point from the other side: a lower price per million tokens does not guarantee a lower total cost (OpenAI Help Center).
Input and output are priced separately. Prices are quoted per million tokens (MTok), and output usually costs several times more than input. In the price table below, output costs five times the input price for the Claude models and six times for the OpenAI models.
Every turn resends the conversation. Chat APIs are usually stateless by default: Anthropic's documentation says you "send the full conversation history with each request" (Anthropic, Using the Messages API). So the third reply in a conversation pays again for the first two exchanges. Long conversations cost more than their length suggests.
Hidden reasoning is billed as output. Models that "think" before answering are billed for that thinking as output tokens, even though the customer never sees it (Anthropic, Using the Messages API; OpenAI Help Center).
Discounts exist, with conditions. Prompt caching reuses a repeated prefix, such as your fixed instructions, at a fraction of the input price. On Anthropic's models, a 5-minute cache write costs 1.25 times the base input price and a cache read costs 0.1 times on most models (0.05 times on Claude Opus 5.5 and Sonnet 5.5), so caching saves money after one cache read (Anthropic, Pricing). OpenAI lists a separate, lower "cached input" price (OpenAI API pricing). Both providers offer batch processing at a 50% discount, but batches are processed asynchronously (OpenAI's complete within 24 hours), which does not suit live chat (Anthropic, Pricing; OpenAI, Batch API).
A price snapshot (checked 30 November 2026)
List prices in US dollars per million tokens, standard tier, before tax. Prices change often, so check the official pages before you budget.
| Provider | Model | Input ($/MTok) | Output ($/MTok) |
|---|---|---|---|
| Anthropic | Claude Haiku 5.5 (prompts up to 100,000 tokens) | 0.10 | 0.50 |
| Anthropic | Claude Sonnet 5.5 | 2.00 | 10.00 |
| Anthropic | Claude Opus 5.5 | 4.00 | 20.00 |
| OpenAI | gpt-5.4-mini | 0.75 | 4.50 |
| OpenAI | gpt-5.6-terra (up to 272K input tokens) | 2.00 | 12.00 |
Sources: Anthropic, Pricing and OpenAI API pricing (both checked 30 November 2026). The selection is illustrative, not a recommendation. A cheaper model is only cheaper if it answers your test questions well enough.
A worked estimate
Example (hypothetical): a small online shop expects its AI agent to handle 1,500 conversations a month. Every number in the assumptions below is invented for illustration. Replace them with your own measurements.
| Assumption | Value |
|---|---|
| AI-handled conversations per month | 1,500 |
| Customer messages per conversation | 3 |
| Fixed instructions sent with every request | 1,500 tokens |
| Help content retrieved per request | 3,000 tokens (roughly 2,250 English words) |
| Customer message | 100 tokens |
| AI reply | 250 tokens |
| Caching, reasoning tokens, tool calls | None |
Tokens per conversation. Each request sends 4,500 tokens of instructions and help content, plus the history and the new message:
- Turn 1: 4,500 + 100 = 4,600 input tokens, 250 output tokens
- Turn 2: 4,600 + 350 (turn 1 resent) = 4,950 input, 250 output
- Turn 3: 4,600 + 700 (turns 1 and 2 resent) = 5,300 input, 250 output
- Total: 14,850 input and 750 output tokens per conversation
Tokens per month: 1,500 × 14,850 = 22.275 million input tokens; 1,500 × 750 = 1.125 million output tokens.
Monthly cost at the list prices above:
| Model | Input cost | Output cost | Monthly total |
|---|---|---|---|
| Claude Haiku 5.5 | $2.23 | $0.56 | $2.79 |
| gpt-5.4-mini | $16.71 | $5.06 | $21.77 |
| Claude Sonnet 5.5 | $44.55 | $11.25 | $55.80 |
| gpt-5.6-terra | $44.55 | $13.50 | $58.05 |
| Claude Opus 5.5 | $89.10 | $22.50 | $111.60 |
This applies the same token count to every model for simplicity. In reality each model tokenizes the same text differently, so treat the comparison as approximate.
What the example shows. Input makes up between about 77% and 80% of the cost in every row, and most of that input is the retrieved help content, resent on every turn. Choosing a different model changes the bill by a factor of about 40 between the cheapest and the most expensive row. Both are bigger levers than the length of the replies.
How sensitive the estimate is (Claude Sonnet 5.5 row, same assumptions otherwise):
| Change | Monthly total |
|---|---|
| Baseline | $55.80 |
| Retrieved help content doubles to 6,000 tokens per request | $82.80 |
| Conversations run to 6 customer messages instead of 3 | $121.05 |
| The model uses 500 reasoning tokens per reply | $78.30 |
Doubling the conversation length more than doubles the cost, because each extra turn resends everything before it. The reasoning row assumes earlier reasoning is not sent back as input; on some models, reasoning from previous turns does count as input, which raises the cost further (Anthropic, Token counting).
Measure instead of guessing
An estimate tells you the order of magnitude. Real numbers come from measuring:
- Count tokens on real prompts. Anthropic offers a free token-counting endpoint that returns an estimate for a request before you send it (Anthropic, Token counting). Count against the model you plan to use, because counts differ between models.
- Run your test set and read the usage figures. If you have built a test set (see testing chatbot answers before launch), record the input and output tokens per conversation. That gives you a measured tokens-per-conversation figure to replace the assumptions above.
- Track cost per AI-handled conversation after launch, and separately the share of conversations handed to a person. A conversation that runs for six turns and then goes to a person costs tokens and staff time.
Ways to control the cost
- Retrieve less, but better. Retrieved content is usually the largest input. Fewer, tighter passages cost less. OpenAI notes that limiting the number of search results can reduce token usage and latency "but may come at the cost of reduced answer quality" (OpenAI, File search), so test the effect. Well-structured help content helps here: see preparing help content for an AI agent.
- Use the smallest model that passes your tests. Anthropic's own cost advice starts with choosing an appropriate model for the task (Anthropic, Pricing). Decide with your test results, not the price list alone.
- Ask for concise replies. Shorter answers are usually better in chat anyway, and output tokens cost the most per token.
- Cache stable instructions where traffic allows. A 5-minute cache only pays off if requests arrive often enough to reuse it. A shop with a handful of chats an hour may see little benefit.
- Hand over loops early. A conversation that circles for eight turns costs more and helps nobody. Clear hand-off rules save money as well as goodwill; see when an AI should hand a conversation to a person.
- Set a hard monthly budget and decide what happens at the limit. The safe behaviour is that the AI stops and new conversations go to people, not that answers quietly get worse. Add early warnings, for example at half and at 80% of the budget, so the limit is never a surprise.
- Review monthly. Volume, conversation length and prices all change. Re-run the estimate with last month's real figures.
How this works in Convoray
- Supported — switched on during setup The AI agent answers from approved knowledge and is switched on during setup; it is not active by default. A monthly AI budget cap can be set: when it is reached, conversations go to people rather than the AI. See how the AI assistant works.
Sources
- What are tokens and how to count them? — OpenAI Help Center; token rules of thumb, language differences, reasoning tokens billed as output, lower price per token not guaranteeing lower cost (checked 30 November 2026)
- Pricing — Anthropic documentation; per-model prices, prompt caching multipliers, batch discount, tokenizer note, cost-optimisation advice (checked 30 November 2026)
- Pricing — OpenAI API documentation; per-model standard prices, cached input prices, batch prices (checked 30 November 2026)
- Using the Messages API — Anthropic documentation; stateless API resends the full conversation; thinking tokens billed as output (checked 30 November 2026)
- Token counting — Anthropic documentation; free token-counting endpoint returning an estimate; thinking from previous turns counts as input on some models (checked 30 November 2026)
- Batch API — OpenAI API documentation; asynchronous batches at a 50% discount, completed within 24 hours (checked 30 November 2026)
- File search — OpenAI API documentation; limiting search results reduces tokens and latency but may reduce answer quality (checked 30 November 2026)