Key Takeaways
- Single interface for 400+ AI models from OpenRouter including Claude, GPT-4, Gemini, and open-source alternatives
- Electron desktop app + web client built from a single React/Vite codebase
- Switch models mid-conversation without losing context or history
- Custom API key support to bypass server credits when needed
- JWT authentication with persistent conversation threads across devices
The Challenge: Why Chattydesk Was Built
Modern AI developers and power users face a fragmented landscape of model providers – OpenAI, Anthropic, Google, Meta, and dozens of open-source alternatives each require separate accounts, interfaces, and payment methods. Comparing outputs across models currently requires:
- Maintaining multiple browser tabs/windows for different provider consoles
- Copy-pasting conversations between platforms
- Managing separate API keys and billing for each service
- Losing context when switching between models mid-task
Chattydesk solves this by serving as a universal proxy client to OpenRouter’s unified API gateway, which provides standardized access to 400+ frontier and open-weight models behind a single authentication and billing system.
Core Architecture & Technical Stack
Hybrid Deployment Model
The system uses a single React/Vite codebase compiled to two targets:
1. Static Web App (HTML/JS bundles)
- Vite-built production assets
- HTML5 History API routing
- Deployable to GitHub Pages/Vercel/Netlify
2. Desktop Electron App
- Electron Forge wrapper
- Hash-based routing (file:// protocol)
- Native installers for Windows/macOS/Linux
Backend Services
- Django REST Framework: Authentication (JWT), conversation persistence
- PostgreSQL/SQLite: Thread history storage and model metadata caching
- OpenRouter Proxy: API gateway handling model requests with client/server key fallback
- Server-Sent Events (SSE): Real-time streaming of model completions
Key Features Breakdown
1. Unified Model Catalog
Dynamically loads OpenRouter’s complete model list with filters for:
- Provider (Anthropic, OpenAI, Google, Meta, Mistral)
- Model type (chat, completion, instruction-tuned)
- Context window sizes
- Pricing tiers
2. Mid-Conversation Model Switching
Unlike web portals tied to single models, Chattydesk preserves your entire chat history when switching between models – letting you compare how Claude, GPT-4, and Command R+ would continue the same conversation.
3. Custom API Key Overrides
Users can store their OpenRouter API key to:
- Bypass server credit limits
- Use personal billing when needed
- Maintain usage visibility via OpenRouter’s dashboard
Real-World Use Cases
- Model Benchmarking: Compare outputs across 5-10 models simultaneously
- Cost-Efficient Development: Quickly test prompts against cheaper open-weight models before committing to GPT-4
- Desktop Power Users: Native app experience without browser tab overload
How It Works: Step-by-Step
- Launch web app or desktop client
- Select target model (or let the system suggest defaults)
- Begin conversation – all messages saved to persistent thread
- Click “Switch Model” button at any point
- Choose new model – previous messages remain as context
- Optionally enable API key override in Settings
Comparison: Chattydesk vs Traditional Approaches
| Feature | Chattydesk | Provider Web Consoles |
|---|---|---|
| Model Access | 400+ via OpenRouter | 1 per provider |
| History Persistence | Full conversation across models | Resets when switching |
| API Key Management | Unified or custom override | Separate per provider |
| Deployment | Web + native desktop | Browser-only |
Frequently Asked Questions
Does Chattydesk store my conversation data?
Threads are encrypted and stored temporarily to enable cross-device sync, but can be permanently deleted from your account.
Can I use my own OpenAI/Anthropic keys?
Currently supports only OpenRouter API keys as a unified proxy – but these can access all supported models.
Is there a mobile version?
The web version works on mobile browsers, but native mobile apps aren’t yet available.
Conclusion & Next Steps
Chattydesk eliminates the friction of testing and comparing modern AI models by providing:
- A unified interface for hundreds of models
- Seamless mid-conversation switching
- Flexible API key management
- Cross-platform accessibility
Try the web version at chatty.nevatal.tech or download desktop clients for your OS.
Leave a Reply