One AI Assistant, Every Model: Routing Claude, GPT, Gemini & Ollama
No single model is best at everything. One is sharpest at hard reasoning, another is blisteringly fast and cheap, another runs entirely offline for private work. Locking your assistant to one provider means settling every time. A multi-LLM router fixes that: it sends each task to the model that fits, so you get the right trade-off of quality, speed, cost, and privacy — without thinking about it.
How prefix routing works
In Jarvis, the model you name decides the provider. A short prefix on the model routes the request, so switching is zero-config:
- claude-* → Anthropic (reasoning, code, long context)
- gpt-* → OpenAI (general tasks, instruction following)
- gemini* → Google (vision, very long documents)
- groq/* → Groq (ultra-fast inference, generous free tier)
- ollama/* → a local model on your own machine (fully private)
Beyond those, one OpenRouter key opens access to hundreds more models through a single unified endpoint, andJarvis can also drive coding-CLI tools you already pay for — so those run on your existing subscription rather than a separate API bill.
Or let it choose for you
You don't have to pick. With auto-routing on, Jarvis gauges how hard a request is and sends simple questions to a fast, cheap model while routing complex reasoning to a stronger one — ordered so it reaches for the cheapest capable option first. Ask "what time is it?" and it won't burn a frontier model on it; ask it to refactor a module and it will.
You can always override per message with a prefix — "groq: translate this quickly" or"ollama: keep this completely local" — and set a default model once for everything else.
Routing respects your privacy mode
The router isn't just about quality — it enforces your privacy rules. In STRICT mode only local models are ever used; cloud providers aren't even reachable. In GUARDEDmode, cloud models are allowed but secrets and PII are stripped before anything is sent, and every external call is logged. So "route to the best model" never means "quietly ship my data somewhere I didn't intend."
Fallbacks when a model is down
Providers rate-limit, time out, and have outages. When a call fails, the router doesn't just error — it falls back along a cost-ordered chain to the next capable model, and can drop to a local Ollama model as a last resort so you still get an answer. Circuit breakers keep it from hammering a provider that's clearly down.
The payoff of a router isn't novelty — it's that you stop choosing between smart, fast, cheap, and private. You get whichever one each task actually needs, automatically, with your privacy rules enforced the whole way.
Stop reading. Start commanding.
Jarvis is free. Install it, add a key (or run local), and give it a real task.
