A high-performance, real-time dashboard for monitoring OpenRouter AI models. This application provides deep insights into model availability, latency, usage metrics, and pricing, helping developers choose the best model for their needs at any given moment.
- Real-Time Monitoring: Live updates of model status, latency, and current load.
- Quick Pick Recommendations: Automatically identifies the top 3 available models optimized for speed and reliability.
- Favorites System: Star your most-used models for instant access in a dedicated section.
- Health-Based Visuals:
- 🟢 Green: Healthy (Low latency, low usage).
- 🟠 Orange: Moderate (Medium latency or load).
- 🔴 Red: Critical (High latency, high load, or unavailable).
- Advanced Filtering: Quickly find models by type (Free, Reasoning, Image, Thinking) or search by name.
- Account Overview: Monitor your OpenRouter API key usage, limits, and rate limits directly from the dashboard.
- Vercel Optimized: Built-in support for Vercel Serverless Functions to handle API proxying and avoid CORS issues.
- Dark Mode UI: A sleek, high-contrast interface designed for developers.
- Frontend: React 19, Vite, TypeScript
- Styling: Tailwind CSS 4, Shadcn UI
- Icons: Lucide React
- Charts: Recharts
- Animations: Framer Motion
- Backend: Vercel Serverless Functions (Node.js/Express)
- API: OpenRouter API
- Node.js 18+
- An OpenRouter API Key
-
Clone the repository:
git clone https://github.com/your-username/openrouter-monitor.git cd openrouter-monitor -
Install dependencies:
npm install
-
Set up environment variables: Create a
.envfile in the root directory:OPENROUTER_API_KEY=your_api_key_here
-
Run the development server:
npm run dev
This project is optimized for deployment on Vercel.
- Push your code to GitHub.
- Connect your repository to Vercel.
- Add your
OPENROUTER_API_KEYto the Vercel Environment Variables. - Deploy!
The vercel.json configuration handles all API routing and SPA fallback automatically.
- API Keys: Users can input their own API keys which are stored securely in
localStorage. - Server-Side Proxy: Sensitive requests are proxied through Vercel Serverless Functions to protect API keys and handle headers securely.
MIT License - feel free to use this project for your own monitoring needs!
Built with ❤️ for the AI Developer Community.