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-10-14)
  • OpenAI GPT-6 Luna: ~$0.10 in / $0.50 out per 1M tokens (verified 2026-10-14)
  • OpenRouter: Pay-per-token router across many models (not verified - check site)

Framework

Hosting

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

No-code alternative

  • Voiceflow: Free tier + paid (not verified - check site)
  • Dify: Open source self-host; cloud tiers (not verified - check site)

Rough monthly cost

$0–15/mo (free hosting + cheap model)Approximate

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 →

📬 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