Back to blog
·7 min read

Runtime AI Cost: The Bill Most Teams Forget Until After Launch

Runtime AI cost is the bill your product creates after launch when users interact with AI features. It is not the cost of Cursor, Claude Code, Copilot, or any other tool your team uses while building. It is the metered API cost of the shipped product itself: chat messages, document extraction, report generation, embeddings, RAG lookups, tool calls, retries, and model responses.

This cost is easy to ignore during the build because early testing uses tiny volumes. Ten demo users can make an AI feature feel cheap. Ten thousand active users can turn the same design into a margin problem.

The formula is simple

Runtime AI cost is mostly driven by four things: monthly active users, AI interactions per user, input and output size, and extra work per interaction. Extra work includes RAG context, tool calls, retries, routing, moderation, and background enrichment. You do not need perfect token math for a first estimate, but you do need to know which side of the spectrum you are on.

Chatbots are not all the same

A short support chatbot that answers from a small knowledge base is very different from an analyst agent that reads uploaded documents, searches a database, calls tools, and writes a long report. Both may look like "chat" in the UI. Their token usage, latency, and retry behavior can be completely different.

Free users can be expensive

The most dangerous runtime AI pattern is an open-ended free tier. If free users can run expensive AI tasks without caps, your cost scales before your revenue does. That does not mean you cannot offer a free tier. It means you need limits: message caps, document-size caps, cheaper default models, caching, abuse detection, and clear upgrade paths.

Design choices that reduce runtime cost

  • Use a cheaper default model and reserve stronger models for hard cases.
  • Cache stable answers, extracted document fields, embeddings, and repeated summaries.
  • Limit context length instead of sending every possible document chunk every time.
  • Set retry caps so failures do not silently multiply API calls.
  • Measure cost per active user, not just the total provider invoice.

Estimate before pricing

If your product charges $12 per month and your expected AI cost is $3 per active paying user, the business may still work. If the same product has a generous free tier where every free user can generate long AI reports, the blended margin can collapse quickly. Runtime AI belongs in the pricing conversation before launch, not after the first invoice.

Forecost estimates runtime AI separately from build and maintenance cost for this reason. The product AI bill follows user behavior. The build AI bill follows your team behavior. They should not be mixed into one vague "AI cost" number.