AI Chatbot for Your Website: Options, Setup and Costs
· AI & Automation · 13 min read · By Prashant Kumar
How to add an AI chatbot to your website: chat-tool add-ons vs no-code builders vs a custom bot, step-by-step setup, RAG, lead capture, handover, privacy and monthly costs.
An AI chatbot for website visitors answers their questions in plain language, using your own pages, FAQs and policies, then collects enquiry details and hands the chat to a person when it should. You can add one in three ways: switch on a live-chat tool's AI feature, train a no-code builder on your pages, or have a custom bot built on your content and connected to your CRM.
What an AI website chatbot can and cannot do
Unlike scripted bots with fixed buttons, an AI chatbot uses a large language model, so visitors can ask in their own words, even with typos or in Hinglish, and usually get a sensible reply if the answer is in your content (test this before launch). It handles these jobs well:
- Pre-sales questions: "Do you deliver to Gurugram?" or "Which course suits a fresher?"
- Lead capture: a few qualifying questions, then a name and phone number.
- First-line customer service: answering order, booking and policy questions, linking the right page and passing complaints to your team.
- After-hours cover: answering at 11 pm and booking a callback for the morning.
It should not quote prices missing from its content, promise refunds or exceptions, give medical, legal or financial advice, or argue with an upset customer. Those are moments to hand over.
The stakes are real. In February 2024, Global News reported that British Columbia's Civil Resolution Tribunal ordered Air Canada to pay just over $650 after its website chatbot wrongly told a customer he could claim a bereavement fare after booking. The tribunal rejected the airline's argument that it could not be held liable for the chatbot's information. Treat your bot's answers as your staff's own.
Not sure which route fits? Book a free consultation with your website link and a rough monthly enquiry volume, and we will compare the three routes for your site.
Three ways to add an AI chatbot to your website
| Aspect | Chat tool with AI add-on | No-code builder | Custom bot |
|---|---|---|---|
| How it works | Live-chat or helpdesk software whose AI agent replies first | Learns from your URLs, PDFs and FAQs; you paste an embed code | Your widget and backend call a model API, search your content and update your systems |
| How you pay | Plan fee plus seats, conversations or outcomes | Monthly plan with message credits | One-time build, then model fees, hosting and upkeep |
| Integrations | Strong inside the vendor's inbox | Common CRMs and webhooks, by plan | Any system with an API, including your ERP or booking database |
| Data control | Vendor's rules | Vendor's rules | You choose the model, retention period and log location |
| Best fit | Teams already handling chats or tickets | Content-heavy sites with light lead capture | High volume, live data, custom workflows or strict data rules |
If most enquiries arrive on WhatsApp rather than your website, our WhatsApp AI chatbot guide covers that channel.
Route 1: a chat or helpdesk tool with an AI add-on
If your team already answers chats, this is the smallest change. On 23 November 2026, Tidio listed its Starter plan with Lyro AI at $33 a month billed annually ($390 a year) for 50 conversations, AI and human combined, and Growth from $63 a month billed annually for 100. Intercom charges $0.99 per Fin outcome (a confirmed resolution, a visitor who asks for no more help after Fin replies, or a completed workflow), with no seat costs when Fin runs on your existing helpdesk. The bill grows with volume.
Route 2: a no-code builder trained on your pages
These tools crawl your site or take uploads, then give you a script to paste. Chatbase, for example, lists a Basic plan at $120 a month billed yearly, with 4,000 message credits. This suits brochure sites, coaching institutes and service firms whose answers already live on their pages.
Route 3: a custom bot built on your content
A development team builds the widget, a backend that calls a model API (OpenAI, Anthropic or Google, for example), a search index over your content, and links to your CRM or booking system. You own the prompts, data and logs and pay model fees at list price, after a one-time build. Our AI product development team does this work; our AI agent development cost guide breaks down build effort.
Is a custom GPT for business the same as a website chatbot?
No. A custom GPT lives inside ChatGPT, not on your domain, and it is being phased out: OpenAI's help centre says the company plans to retire custom GPTs and help creators move their workflows to plugins, with standard retirement scheduled for 11 December 2026. For your own site, use one of the three routes above.
How to add an AI chatbot to your website, step by step
- Pick one launch goal: pre-sales answers, lead capture or repeat support questions.
- Collect your content: FAQs, policies, service areas and hours. Remove outdated pages and add answers your site lacks.
- Choose a route. With a tool, check training sources, lead export or CRM sync, human handover, branding and where chats are stored.
- Write the bot's instructions: tone, what it must never promise, and when to hand over.
- Set up lead capture and handover, as described below.
- Install it: paste the script before the closing
</body>tag, use a WordPress, Shopify or Wix plugin, or deploy your custom widget, loaded through a facade so pages stay fast. - Test, then launch on a few pages first, and review transcripts weekly.
Adding an AI chatbot to a WordPress website
WordPress works with all three routes: a vendor plugin, a footer script or a custom bot. For a custom build, the REST API can list your posts as structured data, so a scheduled sync or a publish hook can keep the bot's index current. Check where any plugin sends visitor messages.
Training a chatbot on your own data: retrieval vs fine-tuning
A chatbot "trained on your data" almost always uses retrieval-augmented generation (RAG), not a retrained model. As Anthropic explains, your content is split into chunks, turned into embeddings (numeric fingerprints of meaning) and indexed; each question pulls the most relevant chunks into the prompt. That keeps an AI knowledge base chatbot tied to your material.
The same 2024 post says a knowledge base under about 200,000 tokens (roughly 500 pages) can go into the prompt whole, with prompt caching. That raises input tokens on every reply, and some models charge more for long prompts: Anthropic lists Claude Haiku 5.5 at five times its base rate for prompts over 100,000 tokens.
OpenAI's accuracy guide frames the choice as knowledge versus behaviour: retrieval supplies missing context, while fine-tuning teaches consistent format and tone.
| Question | Retrieval (RAG) | Fine-tuning |
|---|---|---|
| What it changes | What the model knows for this answer | How the model behaves every time |
| When a page changes | Re-index that page | Prepare new examples and train again |
| Can it cite the source? | Yes, it can link the page used | Not by itself |
| Where to start | Almost always here | Only if tests show a behaviour problem |
Capturing leads and handing over to a person
- Answer first, ask second: a form on the first message feels like a gate.
- Ask only what your team needs: name, phone or email, and one or two qualifiers such as city, budget band or timeline.
- Send leads where your team works: each lead, with transcript and source page, goes to your CRM or shared inbox. If sales needs its own system, see CRM development.
Hand over when the visitor asks for a person, raises a complaint, refund or negotiation, mentions health, legal or safety issues, or asks something the bot cannot answer, and pass the full transcript along. After hours, the bot should say when someone will reply and take a callback number. Our real estate and healthcare chatbot guides cover industry flows.
Tell us which CRM or inbox your team uses, and we will map the lead capture and handover flow for your site.
Testing answers and keeping them accurate
- Build a test set of real questions from enquiry emails, call notes and chats, with correct answers. OpenAI's accuracy guide suggests ideally 20 or more.
- Add hard cases: off-topic questions, discount requests, Hinglish, typos, angry messages and attempts to make the bot ignore its instructions.
- Score each answer: correct, drawn from your content, and declined or handed over when it should be.
- Fix in order: content, then instructions, then retrieval settings. In Anthropic's 2024 tests, combining contextual embeddings with contextual BM25 keyword search cut top-20 retrieval failures by 49%, and adding reranking took that to 67%.
- Re-run the set after every change.
After launch, track weekly: chats closed without a handover, handovers and why, leads captured and accepted by sales, and unanswered questions, which become your content to-do list.
The OWASP Top 10 for LLM applications ranks prompt injection, where crafted input changes a model's behaviour, first. Its fixes apply directly: give the bot only the access it needs, keep sensitive functions in code, and require human approval for risky actions.
Privacy notices and data retention
Transcripts often contain personal data. In India, the government's summary of the DPDP Rules, 2025 describes standalone, clear consent notices that explain the purpose of collection, and a 90-day limit for responding to requests to access, correct or erase data. Most of these duties start 18 months after the Rules were notified on 13 November 2025, commonly counted as 13 May 2027. See our DPDP compliance checklist.
Check provider terms: by default, OpenAI does not train on API data and keeps abuse-monitoring logs up to 30 days; Anthropic deletes API inputs and outputs within 30 days, with exceptions; and Google's Gemini API pricing page says free-tier content is used to improve its products, paid-tier content is not.
A practical baseline: label the bot as AI, show a one-line notice with a privacy policy link before asking for contact details, delete transcripts on a set schedule, and get vendors' retention terms in writing. This is general information, not legal advice.
AI chatbot for website pricing: what you pay each month
For a custom bot, the monthly bill is mostly model fees: conversations × replies × tokens per reply × price per million tokens. By OpenAI's rule of thumb, one English token is about four characters; other languages differ.
Illustration, not a quote. Assume 2,000 conversations a month, 6 replies each, and per reply about 3,000 input tokens (instructions, retrieved content, recent history) and 200 output tokens: 36 million input and 2.4 million output tokens a month. Prices checked 23 November 2026; rupees at the RBI reference rate of ₹92.97 per dollar on 20 November 2026 (MSEI archive).
| Model (provider) | Price per 1M tokens (input / output) | Monthly fees |
|---|---|---|
| Claude Haiku 5.5 (Anthropic) | $0.10 / $0.50 (prompts up to 100,000 tokens) | About $6 (₹580)* |
| gpt-5.4-nano (OpenAI) | $0.20 / $1.25 | About $10 (₹950) |
| gemini-3.8-flash (Google) | $0.75 / $3.75; $1.50 / $7.50 from 1 Jan 2027 | $36 (₹3,350), then $72 (₹6,700) |
| gpt-5.4-mini (OpenAI) | $0.75 / $4.50 | About $38 (₹3,510) |
| Claude Sonnet 5.5 (Anthropic) | $2 / $10 | About $125 (₹11,600)* |
*Anthropic says Claude 4.7 and later models produce about 30% more tokens for the same text than its earlier models, so we added 30% to the Claude rows as a cautious allowance. Counts differ between providers, so count tokens on your own transcripts. Sources: OpenAI, Anthropic and Google pricing pages.
Prompt caching can cut the cost of repeated instructions. But some models bill thinking or reasoning tokens as output (Google prices Gemini output "including thinking tokens"), so use the lowest reasoning level that passes your tests, or output fees will exceed these figures. Cheaper is not always good enough, so test two or three models.
- Search: OpenAI's hosted file search costs $2.50 per 1,000 calls (about $30 for the 12,000 replies above), or keep the index in Postgres with the open-source pgvector.
- Hosting: AWS Lightsail lists Linux servers at $12 a month for 2 GB of memory.
With gpt-5.4-mini, hosted file search and one Lightsail server, the illustrative running total is about $80 (₹7,420) a month, before the build and your team's time. At Intercom's $0.99 per Fin outcome, 1,000 outcomes cost $990 a month, plus seats if your team works in Intercom's own helpdesk, but with nothing to build or host. Let volume, integrations and data rules drive the choice.
Frequently asked questions
Can I add an AI chatbot to my website for free?
For testing, yes: many tools and APIs have free tiers with low limits. For a live bot, choose a paid plan: limits run out, and some free tiers, such as the Gemini API's, use your content to improve the provider's products.
Can I set up an AI chatbot without a developer?
Yes, with a chat tool or no-code builder: add your URLs or files, then paste the script or install the plugin. You need a developer when the bot must read live data, update your CRM or booking system, or meet strict data rules.
How does AI chatbot integration with a website work?
It has two parts: placing the widget (a short script or WordPress plugin) and connecting the bot to your CRM, booking or order systems, which takes most of the effort.
Will a chatbot slow down my website?
It can, because the widget loads third-party code. Google's Lighthouse guidance suggests a facade, a light placeholder that loads the full widget only when clicked. Measure page speed before and after launch.
Can the chatbot reply in Hindi or Hinglish?
Large language models work in many languages, but test with real Hindi and Hinglish questions first. Token counts differ by language, so check costs with your own samples.
Does the chatbot have to say it is AI?
For EU visitors, yes: Article 50 of the AI Act requires providers to make clear that people are talking to AI unless that is obvious, and Morgan Lewis notes this has applied since 2 August 2026. India's DPDP Rules cover personal data, not AI labels: from May 2027 you will need a clear consent notice before collecting details in chat. An AI label costs nothing, so use one everywhere.
Conclusion
An AI chatbot for website visitors earns its place when it answers from accurate content, captures real enquiries and knows when to step aside. Match the route to your volume and integrations, ground answers with retrieval, test with real questions, and be open about AI and data.
Appsgain builds AI products and web portals from its Noida office, and builds and runs its own products, including Snapkio, a WhatsApp Business platform with AI agents. Share your website and the questions customers ask most, and we will suggest a route and a test plan.
Tags: AI Chatbots, Website Chatbot, RAG, Lead Generation, LLM Pricing, Data Privacy
