Monthly AI API Cost Calculator

Planning a chatbot, an assistant, or any feature that calls an AI model every day? Fill in your numbers to see what it would cost per month on 10 popular models.

what the user types

what the model writes back

system prompt sent with every message (0 if none)

ModelPer messagePer monthPer year

Estimates use standard API prices as of November 2026 and about 1.33 tokens per English word. Claude 5.5 and Fable models count roughly 30% more tokens for the same text, which is included. Gemini 3.8 Flash is shown at its introductory price through December 31, 2026. Prompt caching and batch processing can lower real costs, sometimes by half or more.

Example: a small support chatbot

With the default numbers above (100 messages a day, 50-word questions, 150-word answers, and a 300-word system prompt), a month of traffic costs about $0.57 on Claude Haiku 5.5, $1.00 on GPT-5.6 Luna, $10 on GPT-5.6 Terra, and $46 on Claude Fable 5.2. The same workload can cost 80 times more depending on the model you pick.

Common questions

Why does the system prompt matter so much?

Your instructions are sent along with every single message, so you pay for them every time. A 300-word system prompt on 100 messages a day adds up to about 1.2 million tokens a month before anyone has asked a question.

Why do replies cost more than questions?

Output tokens cost several times more than input tokens on every major model. Asking for shorter answers is often the quickest way to cut a monthly bill.

Does this include conversation history?

No. If your app sends earlier messages back with each new one, input grows as the conversation goes on. Add the average length of that history to “Words per message” for a closer estimate.

Count the exact tokens in your own text →

More ways to save: 10 ways to actually cut your AI API costs.