A web-based tool for exploring and comparing OpenRouter models by throughput, latency, price, context length, and more.
cd openrouter-explorer
pip install -r requirements.txt
python server.pyThen open http://localhost:8765 in your browser.
- Filter by: throughput, latency, price, context length, modality, provider
- Sort by: any metric, ascending or descending
- Search: filter models by name or ID
- Real-time data: fetches live metrics from OpenRouter API
- Caching: 5-minute cache to avoid rate limits
-
GET /api/models- List models with optional filtersq- Search querymin_throughput- Minimum throughput (tokens/sec)max_latency- Maximum latency (ms)max_price- Maximum input price ($/1M tokens)min_context- Minimum context lengthmodality- Filter by modality (text, image, audio)provider- Filter by provider namesort- Sort fielddesc- Sort descending (true/false)limit- Results per pageoffset- Pagination offset
-
GET /api/stats- Get aggregate statistics -
GET /api/refresh- Force refresh data from API
PORT- Server port (default: 8765)