Skip to main content
AI & Agents

How Much Does a Custom AI Chatbot Cost? Build, Run and Maintain

A custom AI chatbot has three costs: the one-time build, the monthly running cost (model usage, hosting, messaging fees) and ongoing improvement. The build is driven by integrations and actions, not by the chat itself.

Ahsan Bilal

Principal Software Engineer

6 min read
On this page

A custom AI chatbot has three separate costs: a one-time build, a monthly running cost and an ongoing improvement budget. The chat window itself is the cheap part. What moves the price is how many of your systems the bot connects to, how many actions it can take on a customer's behalf, and how much accuracy and oversight the use case demands. This guide breaks each cost down so you can estimate your own project before talking to any vendor.

What are the three costs of an AI chatbot?

CostWhen you payWhat drives it
BuildOnceIntegrations, actions, channels, knowledge sources, approval flows, testing
RunningEvery monthLLM tokens, vector database, hosting, channel fees (e.g. WhatsApp conversations), monitoring
ImprovementOngoingReviewing conversations, fixing wrong answers, adding new content and tools as the business changes

Most budgeting mistakes come from planning only the first row. A chatbot that nobody reviews after launch gets worse as your products, prices and policies change.

What drives the build cost?

The build cost of a custom AI chatbot is set by scope, in roughly this order of impact:

  1. Actions (tools). A bot that only answers questions is far simpler than one that checks orders, books meetings, issues refunds or updates a CRM. Every action needs a secure API call, permission checks, error handling and tests.
  2. Integrations. Each system the bot reads from or writes to — Shopify, HubSpot, an ERP, a ticketing tool, a custom database — adds work, especially if the system has no clean API.
  3. Knowledge sources. A tidy help center is quick to index. Scattered PDFs, spreadsheets and outdated pages need cleanup first, or the bot will confidently repeat the mess. See hybrid search and reranking for why retrieval quality decides answer quality.
  4. Channels. Website widget, WhatsApp, Slack, Microsoft Teams and email each have their own APIs, formatting rules and approval processes. WhatsApp in particular needs a verified business account and approved message templates — covered in our WhatsApp AI assistant guide.
  5. Human handoff and approvals. Passing a conversation to a person with full context, or requiring a human to approve a refund, is essential for trust and adds real engineering.
  6. Evaluation. A test set of real questions with expected answers, run on every change, is what separates a demo from a product.

A useful rule: a knowledge-only FAQ bot on one channel is a small project; every action and integration you add grows it step by step. Start with the two or three jobs that save the most time, launch, then expand.

What does it cost to run every month?

Running costs scale with conversations, not with build complexity:

  • Model usage (tokens). You pay the LLM provider per input and output token. Cost per conversation depends on the model, how much retrieved context you send, and how many tool calls a conversation needs. Check your provider's current price list — prices change often, and usually fall.
  • Vector database / search. Storing and searching your knowledge. Often small; PostgreSQL with pgvector keeps it inside infrastructure you already pay for.
  • Hosting. The agent service, webhook endpoints and queue. Modest for most businesses.
  • Channel fees. WhatsApp charges per conversation or message category under Meta's pricing; web chat has no per-message fee.
  • Monitoring and logs. Storing conversations for review and analytics.

How to estimate your monthly model cost

Use this formula with your provider's real prices:

text
monthly model cost ≈ conversations per month
                   × messages per conversation
                   × (input tokens × input price + output tokens × output price)

Input tokens per message include the system prompt, retrieved documents and conversation history — usually far more than the customer's own words. Two levers cut this sharply: prompt caching for the fixed system prompt, and routing simple questions to a smaller, cheaper model while sending complex ones to a stronger model.

Off-the-shelf chatbot vs. custom build: which is cheaper?

ChooseWhen
SaaS chatbot (per-seat/per-resolution pricing)You need FAQ answers on a website, few integrations, and want to launch this week
Custom AI agentThe bot must act inside your own systems, follow your business rules, or run on several channels
HybridStart on SaaS to learn what customers ask, then build custom for the high-value workflows

SaaS is cheaper to start; custom is often cheaper at volume and is the only option when the bot must work with in-house systems such as an ERP. The deciding question is not price but "what does the bot need to do?"

How can you keep chatbot costs under control?

  • Scope by jobs, not features. List the five most common customer requests; automate the top two first.
  • Clean the knowledge base before building. It is the cheapest accuracy improvement available.
  • Cache and route. Prompt caching and small-model routing are the biggest running-cost levers.
  • Cap conversation length and summarize long histories instead of resending them.
  • Measure resolution, not messages. A bot that resolves a ticket in three messages is cheaper than one that chats for twenty and hands off anyway.

How AB Scale Forge prices AI chatbot projects

AB Scale Forge scopes every chatbot after a short discovery call and sends a fixed-price quote for the build plus an estimate of monthly running costs at your expected volume, so both numbers are known before work starts. See AI Agents & Chatbots for what's included, or the AI/ML Gateway case study for how slow AI calls run as background jobs without blocking the rest of the product.

Key takeaways

  • A custom AI chatbot costs a one-time build, a monthly running cost and an improvement budget.
  • Build cost is driven by actions and integrations, not by the chat interface.
  • Monthly cost is mostly model tokens plus channel fees; prompt caching and model routing cut it most.
  • Start with the two or three highest-value jobs, launch, measure resolution rate, then expand.
#AI Agents#Chatbots#LLM#Pricing#Architecture
All articles →
AI & Agents••6 min read

AI Agents in Production: A Practical Playbook for 2026

What separates an AI agent demo from one you can trust with customers: tool design, guardrails, human approval, evaluation and observability — with patterns we use in real deployments.

AI AgentsLLM
AI & Agents••4 min read

RAG vs. Fine-Tuning: Which Does Your Business AI Actually Need?

Use RAG when the AI must know your current facts — products, policies, prices, records. Use fine-tuning when it must follow a consistent style, format or narrow task. Most business assistants need RAG first; fine-tuning is an optimization you add later, if ever.

RAGAI