AI Chatbot
FreeA full-featured, hackable Next.js AI chatbot built by Vercel Labs 
FreeFree tier
Inputs: textOutputs: text
About AI Chatbot
A full-featured, hackable Next.js AI chatbot built by Vercel. It is a free, open-source template using Next.js and the AI SDK to build powerful chatbot applications. Features include Next.js App Router, React Server Components and Server Actions, AI SDK for unified API, shadcn/ui components with Tailwind CSS, Auth.js authentication, data persistence with Neon Serverless Postgres and Vercel Blob, and support for multiple AI model providers (OpenAI, Anthropic, Google, xAI, etc.) via the Vercel AI Gateway. Included models: Mistral, Moonshot, DeepSeek, OpenAI, xAI.
Key Features
Next.js App Router for advanced routing and performance
React Server Components (RSCs) and Server Actions
AI SDK for unified API for generating text, structured objects, and tool calls
Supports multiple AI model providers: OpenAI, Anthropic, Google, xAI, etc. via AI Gateway
shadcn/ui components with Tailwind CSS and Radix UI primitives
Auth.js for simple and secure authentication
Data persistence with Neon Serverless Postgres (chat history) and Vercel Blob (file storage)
Included models: Mistral, Moonshot, DeepSeek, OpenAI, xAI
Easy one-click deployment to Vercel
Pros & Cons
Pros
- Free and open-source
- Full-featured template with modern Next.js stack and best practices
- Supports multiple AI model providers through a unified interface (Vercel AI Gateway)
- Easy one-click deployment to Vercel
- Includes authentication and data persistence out of the box
Cons
- Optimized for Vercel deployment; non-Vercel deployments require additional configuration (AI Gateway API key)
- Relies on Vercel ecosystem (Neon, Blob, AI Gateway)
- May be overly complex for simple chatbot needs
Best For
Building powerful chatbot applications quicklyCreating AI assistants with modern web technologiesRapid prototyping of conversational AI interfacesDeveloping hackable and customizable chat experiences
FAQ
What is Chatbot?
Chatbot (formerly AI Chatbot) is a free, open-source template built with Next.js and the AI SDK that helps quickly build powerful chatbot applications. It is built by Vercel.
How do I deploy my own version?
You can deploy to Vercel with one click from the repository, or run locally by cloning the repo, setting up environment variables (using .env.example), and running pnpm install and pnpm dev.
What AI models are supported?
The template uses Vercel AI Gateway to access models from Mistral, Moonshot, DeepSeek, OpenAI, and xAI. It can be extended to support other providers like Anthropic, Google, and more.
Is authentication included?
Yes, the template includes Auth.js for simple and secure authentication.