Chatbot

Build an AI chatbot

A general-purpose chatbot for your site, community or personal use is the easiest AI project: a chat UI, a model API and a good system prompt.

Recommended stack

Model

  • Google Gemini 3.8 Flash: Free tier available; paid ~$0.75 in / $3.75 out per 1M until 2026-12-31, then $1.50/$7.50 (verified 2026-11-22)
  • OpenAI GPT-6 Luna: ~$0.10 in / $0.50 out per 1M tokens (verified 2026-11-22)
  • OpenRouter: 25+ free models (50 requests/day); paid models at provider list price plus a 5.5% fee on credit purchases (verified 2026-11-15)

Framework

Hosting

  • Vercel: Hobby $0 (personal, non-commercial); Pro $20/mo incl. $20 credit (verified 2026-11-15)

No-code alternative

  • Voiceflow: Free trial (no card needed); usage-based billing, no public price list (checked 2026-11-15)
  • Dify: Open source self-host free; Cloud Sandbox free (200 message credits), Professional $590/yr per workspace (verified 2026-11-15)

Rough monthly cost

$0–15/mo (free hosting + cheap model)Approximate. Tool prices checked 2026-11-15.

Difficulty

Beginner

Some links may be affiliate links. Disclosure

Why this stack

Step-by-step

  1. Start from a Vercel AI SDK chat template.
  2. Write a system prompt with the bot's role, tone and what it must not do.
  3. Test with 20 realistic questions, then deploy to Vercel.

Common pitfalls

Customise this stack in the picker →

Related stacks

Last updated 2026-11-22.

📬 The Loadout

One weekly AI build loadout: a project idea, the stack to build it, and the tools worth knowing. Free, unsubscribe anytime.

Subscribe to The Loadout