AI economics · Free calculator

AI Chatbot Cost Calculator

Work out what an AI chatbot actually costs to run: cost per conversation, monthly token spend, and cost per user — including the system prompt you pay for on every single turn.

Disclaimer: Model prices move constantly. Every rate here is an editable input, not a quote — pull the current price page for your provider before you lock a margin model. Token counts are estimates (~0.75 words per token) and vary by tokenizer and language.

25,000
6

One turn = one user message + one model reply.

1,200

Instructions + tools + persona. Resent on every turn.

80
300
1
2
0%

Cached input usually bills at 10–25% of normal input.

Try it like this

Tap a scenario to load realistic numbers, then tweak the sliders.

New here? Watch it work in 2 seconds — then tweak it for you.
Advertisement
Formula used

Chatbot cost with compounding history

The mistake nearly everyone makes is pricing one turn and multiplying. Turn 6 resends the system prompt plus five turns of history, so a 6-turn conversation costs far more than 6× a single turn. This calculator walks the conversation turn by turn.

Cost = Σ(system + history_t + user)·P_in + turns·output·P_out
Typical support-bot cost / conversation
$0.002 – $0.05
Cached input discount
75–90% off input rate
Output vs input price ratio
3–5×
Tokens per English word
~1.33
Backlink-friendly embed

Embed this calculator

Free to embed on any site. Inputs preserved, link back to RevenueLab. Each format trades polish for SEO juice.

<iframe src="https://www.revenuelab.fyi/embed/ai-chatbot-cost-calculator?conversations=25000&turns=6&systemTokens=1200&userTokens=80&outputTokens=300&inputPrice=0.5&outputPrice=2&cacheHitPct=0" width="100%" height="680" style="border:0;border-radius:12px;max-width:100%" loading="lazy" title="AI Chatbot Cost Calculator"></iframe>
<p style="font:12px/1.4 system-ui;color:#666;margin:6px 0 0">Calculator by <a href="https://www.revenuelab.fyi/ai-chatbot-cost-calculator?conversations=25000&turns=6&systemTokens=1200&userTokens=80&outputTokens=300&inputPrice=0.5&outputPrice=2&cacheHitPct=0" target="_blank" rel="noopener">RevenueLab</a></p>

Easiest to install — passes referral traffic and a referring-domain signal.

Cite this calculator

Writing about this topic? Grab a citation — every link helps keep these tools free.

APA
RevenueLab. (2026). AI Chatbot Cost Calculator. Retrieved from https://www.revenuelab.fyi/ai-chatbot-cost-calculator
HTML
<p>Source: <a href="https://www.revenuelab.fyi/ai-chatbot-cost-calculator" target="_blank" rel="noopener">AI Chatbot Cost Calculator — RevenueLab</a> (2026).</p>
Markdown
Source: [AI Chatbot Cost Calculator — RevenueLab](https://www.revenuelab.fyi/ai-chatbot-cost-calculator) (2026).

Why your bill is bigger than your estimate

Almost every AI chatbot budget is built from a single-turn estimate multiplied by conversation count. That undercounts by 2–5× because every turn resends the system prompt and the full prior conversation. A 10-turn chat with a 2,000-token system prompt sends 20,000 system tokens, not 2,000.

The three levers that actually move the number

In order of impact: cache the system prompt (75–90% off that portion), summarize history after 4–6 turns (routinely a 90% history-token reduction), and cap reply length (output is 3–5× the input price, so 300 tokens instead of 800 is the single biggest per-turn saving).

  • Cache the system prompt and any fixed retrieved context.
  • Summarize and discard raw history after 4–6 turns.
  • Cap max output tokens — and prompt for brevity, don't just truncate.
  • Route classification and routing steps to a cheap tier; reserve the premium model for the final answer.

Model against the 99th-percentile user, not the median

Median users are cheap; power users are what kill 'unlimited' plans. Run this calculator twice — once at your median conversation count and once at your 99th percentile — then price so the heavy tail is survivable. If the p99 user costs more than your plan price, you need credits, caps, or fair-use limits.

FAQ

How much does it cost to run an AI chatbot?

For a typical support bot on a cheap/fast model — 6 turns, a 1,200-token system prompt, 300-token replies — expect roughly $0.005–$0.02 per conversation, or $125–$500/month at 25,000 conversations. Frontier models with long system prompts run 10–30× that.

Why does the system prompt cost so much?

Because it is resent on every single turn. A 2,000-token system prompt across 10 turns is 20,000 input tokens per conversation, often more than all user messages combined. Prompt caching is the fix.

Is caching worth setting up?

Almost always. Cached input typically bills at 10–25% of the normal input rate, and the system prompt is the most cacheable thing you have. On a prompt-heavy bot it routinely cuts total spend by 40–60%.

Should I use a cheap model or a frontier model?

Tier your pipeline. Route classification, intent detection, and retrieval decisions to the cheapest model; use the premium model only for the final user-facing generation. Production stacks that do this typically see 60–80% cost reduction with no perceived quality drop.

How do I convert words to tokens?

Roughly 1 token ≈ 0.75 English words, so multiply your word count by about 1.33. Code, non-Latin scripts, and heavy punctuation tokenize less efficiently — add 20–40% for those.

Do I need to include embedding costs?

Only if your bot retrieves documents. Embeddings are usually a rounding error at query time but can be significant at index time — model that separately in the RAG pipeline cost calculator.

How this calculator is built

Independently maintained

Written by Sam Doshi and the RevenueLab editorial team. We don't sell the data feeds this tool is built on.

Sourced from primary data

Benchmarks come from public AdSense / Stripe / IRS disclosures and reader-submitted data — never third-party "$X per view" claims. Full methodology.

Last editorial review

Reviewed on a rolling quarterly cycle. Dated reviews are published on the methodology record for each calculator.

Editorial standards

See our editorial policy and disclaimer. Results are estimates, not advice.