⚠️ Disclaimer: This repository has been vibe coded with AI.
A chat application to prompt multiple models at once
- Multiple responses - Each prompt is sent to multiple LLMs
- Voting phase - After all models respond, they then vote and rank each response from other models - 2 points for a top choice and 1 point for second choice. Winning response gets displayed
- Adding more models - The sidebar alows adding of extra models from OpenRouter
- Stateless - Nothing is stored on a server. All chats are kept in localStorage inside the browser.
- Next.js 15 with App Router
- Vercel AI SDK v5 for streaming chat
- Open Router as the LLM provider (access to 100+ models)
- shadcn/ui for beautiful UI components
- Tailwind CSS v4 for styling
- localStorage for chat persistence
- Node.js 18+
- An Open Router API key
- Clone the repository:
git clone <repo-url>
cd ai-multichat- Install dependencies:
npm install- Create a
.env.localfile with your Open Router API key:
OPENROUTER_API_KEY=your_openrouter_api_key_here- Run the development server:
npm run dev- Open http://localhost:3000 in your browser.
MIT