model: "auto"messages + tools
Smart routing across 7 providers and 27 models — DeepSeek, GLM, Qwen, Doubao, MiniMax, Kimi, and Claude. Pick the right model for every task, automatically.
model: "auto"No single model is best at everything. Route to the right one, every time.
8 intents × 3 difficulty levels → 24-cell matrix picks the best model automatically. Override any cell via API, no restarts.
Multiple keys per provider, encrypted at rest. Free-tier-first selection. Automatic cooldown on 429 with transparent fallback.
SSE streams flow through untouched — zero buffering, zero content-type mangling. Works with Cursor, Continue, LangChain.
Claude Sonnet 4, Opus 4, Haiku 3.5 — full protocol adaptation from Messages API to OpenAI-compatible format, transparent to clients.
Live request monitoring, provider stats, intent×difficulty heatmap, timeline charts — all in a single-file HTML panel.
Express + better-sqlite3 + dotenv. That's it. No Redis, no Docker, no Kubernetes. npm install && npm start
Every request is classified by intent and difficulty, then routed to the best-fit model.
| Intent | 🟢 Easy | 🟡 Medium | 🔴 Hard |
|---|---|---|---|
| 💬 chat | glm-4-flash | deepseek-v3 | qwen-max |
| 💻 code | glm-4-flash | qwen-coder | deepseek-coder |
| 🧠 reasoning | deepseek-v3 | deepseek-r1 | minimax-m1 |
| ✨ creative | doubao-lite | minimax-creative | glm-z1 |
| 🔍 search | glm-4-flash | kimi | qwen-max |
| 👁️ vision | glm-4v | qwen-vl | kimi-vl |
| 🌐 translation | qwen-turbo | deepseek-v3 | glm-4 |
| 📝 summarization | glm-4-flash | qwen-long | glm-4-long |
Domestic-first, global-ready. All behind a single OpenAI-compatible endpoint.
Monitor requests, track provider performance, visualize routing decisions — all from a single page.