Why OmniChat β’ Features β’ Demo β’ Quick Start β’ Pricing β’ Tech Stack
In a world of fragmented AI services, OmniChat stands as the unified solution. No more juggling multiple subscriptions, managing different interfaces, or losing conversation history across platforms.
- AI Fatigue: Too many AI platforms, each with their own subscription
- Context Loss: Switching between models means losing your conversation flow
- Hidden Costs: Surprise bills from unclear pricing models
- Feature Gaps: Each platform has strengths, but you need them all
One platform that speaks to all AIs - with transparent pay-per-use pricing, seamless model switching, and powerful features that amplify your productivity.
Access the world's most powerful AI models in one place:
- OpenAI: GPT-4, DALL-E 2/3
- Anthropic: Claude Opus, Sonnet, Haiku
- Google: Gemini Pro, Gemini Flash
- xAI: Grok models
- DeepSeek: Advanced reasoning models
- Local AI: Ollama integration for privacy-first users
Switch between AI models mid-conversation without losing context. Compare responses from different models side-by-side.
- Upload PDFs, images, documents, and code files
- AI analyzes and references your files in context
- Support for multiple file types in a single conversation
Create alternate conversation paths to explore different approaches without losing your original thread.
15+ pre-built conversation templates for:
- Code generation and debugging
- Content writing and editing
- Data analysis and visualization
- Creative brainstorming
- Business planning
Our revolutionary pricing model: 1 Battery = $0.001
- See exactly what each message costs
- No hidden fees or surprise charges
- Pay only for what you use
Build on top of OmniChat with our fully documented REST API:
- 20+ Endpoints covering auth, chat, files, and more
- OpenAPI 3.0 Specification at
/api/openapi.json - Interactive Documentation at
/api/v1/docs - JWT & OAuth Support for secure authentication
- Streaming Responses for real-time AI interactions
- Go CLI Validator for testing and development
Perfect for building mobile apps, integrations, or custom clients.
- Node.js 18+ and npm
- Cloudflare account (free tier works)
- Stripe account for payments
- Clerk account for authentication
git clone https://github.com/yourusername/omnichat.git
cd omnichat
npm install# Install Wrangler CLI
npm install -g wrangler
# Login to Cloudflare
wrangler login
# Create D1 Database
wrangler d1 create omnichat-db
# Create R2 Bucket
wrangler r2 bucket create omnichat-uploads# Set up secrets
wrangler secret put CLERK_SECRET_KEY
wrangler secret put STRIPE_SECRET_KEY
wrangler secret put STRIPE_WEBHOOK_SECRET
# Optional: Add your own API keys
wrangler secret put OPENAI_API_KEY
wrangler secret put ANTHROPIC_API_KEY# Set your D1 database ID
export D1_DATABASE_ID=your-database-id-here
# Run migrations
npm run db:migrate:prod# Deploy to Cloudflare Pages
wrangler pages deploy# Start development server
npm run dev
# Open http://localhost:3000| Plan | Monthly Price | Batteries | Daily Limit | Best For |
|---|---|---|---|---|
| Starter | $4.99 | 6,000 | 200 | Personal use, trying out AI |
| Daily β | $12.99 | 18,000 | 600 | Regular users, students |
| Power | $29.99 | 45,000 | 1,500 | Professionals, teams |
| Ultimate | $79.99 | 150,000 | 5,000 | Enterprises, heavy users |
- Transparent: Know exactly what each query costs
- Flexible: Use any model without separate subscriptions
- Fair: Only pay for actual usage, not idle time
- Simple: One currency across all AI models
- Next.js 15: React framework with App Router
- React 19: Latest React features
- TypeScript 5: Type-safe development
- Tailwind CSS 4: Utility-first styling
- shadcn/ui: Beautiful, accessible components
- Zustand: Lightweight state management
- Cloudflare Workers: Edge computing runtime
- Cloudflare D1: Serverless SQL database
- Cloudflare R2: Object storage for files
- Drizzle ORM: Type-safe database queries
- Clerk: Authentication and user management
- Stripe: Payment processing
- OpenAI SDK
- Anthropic SDK
- Google Generative AI
- xAI SDK
- DeepSeek SDK
- Ollama for local models
- OpenAPI Specification: Complete API documentation
- Go CLI Validator: API testing and validation tool
- TypeScript Types: Full type safety across the stack
omnichat/
βββ src/
β βββ app/ # Next.js App Router pages
β βββ components/ # React components
β β βββ chat/ # Chat-specific components
β β βββ layout/ # Layout components
β β βββ ui/ # Reusable UI components
β βββ hooks/ # Custom React hooks
β βββ lib/ # Utilities and configs
β βββ services/ # External service integrations
β βββ store/ # Zustand state management
β βββ types/ # TypeScript type definitions
βββ openapi/ # OpenAPI specification and docs
βββ go-cli/ # Go-based API validator CLI
β βββ cmd/ # CLI commands
β βββ internal/ # Internal packages
β βββ pkg/ # Reusable packages
βββ docs/ # Documentation and images
βββ scripts/ # Build and deployment scripts
βββ tests/ # Test suites
Run models locally with Ollama integration for complete privacy and data control.
- 300+ Points of Presence worldwide
- <50ms latency for 99% of users
- 99.99% uptime SLA
- Auto-scaling for demand spikes
- Server-side rendering for instant loads
- Streaming responses for real-time feel
- Intelligent caching strategies
- Progressive enhancement
See the Contributing Guide for details.
- Fork the repository
- Create a feature branch (
git checkout -b feature/amazing-feature) - Commit your changes (
git commit -m 'Add amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request
This project is licensed under the MIT License - see the LICENSE file for details.