A system prompt plus eight turns of conversation, with the full history re-sent each turn, sums to ≈ 6,000 input tokens across the conversation. Eight replies ≈ 900 output tokens.
Cost = (input tokens ÷ 1M × input price) + (output tokens ÷ 1M × output price). Prices come from our daily-verified model data. Batch and cached-input discounts are not applied — they only ever make these numbers smaller.
“Needs chunking” means the model's context window can't hold this job in a single pass, so the real cost is higher than the figure shown and quality usually suffers.
Should you just pick the cheapest?
Chat bills quadratically, not linearly: every turn re-sends the whole history, so a sixteen-turn conversation costs roughly four times an eight-turn one rather than twice. Prompt caching targets exactly this and can cut the input side by up to 90% on a stable system prompt.
Getting this done well, for less
Conversation history is the hidden cost
Every message re-sends the whole conversation so far, so a 20-turn chat costs far more than twenty single questions. Trimming or summarising older turns, and caching the fixed system prompt, are the two biggest levers on a chatbot's bill.
Route by difficulty
Most chatbot messages are simple. A cheap, fast model can handle greetings, FAQs and lookups, and hand harder questions to a stronger model. Routing like this typically cuts cost substantially without users noticing a quality drop.
$0.0009 on Mistral Small 3.1, the cheapest capable option, rising to $0.021 on Claude Sonnet 5.5 at the top end. Claude Haiku 5.5 is the value pick at $0.0011 per run. The job is priced at 6,000 input and 900 output tokens — see the working below.
How did you work out the token count for this task?
A system prompt plus eight turns of conversation, with the full history re-sent each turn, sums to ≈ 6,000 input tokens across the conversation. Eight replies ≈ 900 output tokens.
What does this cost at 10,000 conversations a month?
$8.70 a month on Mistral Small 3.1, $10.50 on Claude Haiku 5.5, and $210 on Claude Sonnet 5.5. Batch APIs typically halve these figures for work that can wait, and prompt caching cuts the input side further when the same context is reused.
Is the cheapest model the right choice for this task?
Chat bills quadratically, not linearly: every turn re-sends the whole history, so a sixteen-turn conversation costs roughly four times an eight-turn one rather than twice. Prompt caching targets exactly this and can cut the input side by up to 90% on a stable system prompt.
Are these prices current?
Yes. Every figure on this page is computed from our model pricing data, which is checked daily against each provider's official pricing page. When a provider changes a price, these numbers change with it.