ZRouter
A router for coding agents that switches providers without losing your cache or context. Cloud plans and local gateways, side by side.
Tap Up to bring provider A back. Illustrative, not live data.
WHAT MAKES IT DIFFERENT
Local gateways are first-class.
Local and regional gateways are often cheaper and closer to you. ZRouter gives them the same routes, fallback, cache tracking and cost per request as Claude or ChatGPT. Kenari.id comes as a preset. Any other gateway that speaks the OpenAI or Anthropic format plugs in as a custom provider, and gets its own preset when people ask for it.
- Kenari.idpreset · paste a key
- Any OpenAI-format gatewaycustom · URL + key
- Any Anthropic-format gatewaycustom · URL + key
- + Your gateway nextask for a preset on GitHub
What it’s built for.
Keep your cache.
Round robin and fallback try to send each request where the cache is still warm.Round robin and fallback try to send each request where the cache is still warm, so you spend fewer tokens.
Keep your context.
When a request moves to another provider, the conversation moves with it.When a request moves to another provider, the conversation moves with it, so the answers don’t get worse.
Providers you already use.
Claude, ChatGPT, OpenCode, Command Code, OpenRouter, NVIDIA NIM, Ollama and local gateways, ready to pick.Claude, ChatGPT, OpenCode, Command Code, OpenRouter, NVIDIA NIM, Ollama and local gateways, ready to pick.
Why another router?
I used 9router every day. On round robin, every switch felt like starting over: a cold cache, and an agent that lost the thread.I used 9router every day. It connects to everything, but on round robin every switch felt like starting over: a cold cache, and an agent that lost the thread.
The road from here.
Building nowClaude Code or Codex, answered through it
NextFallback and round robin that keep your cache warm
NextContext that survives a provider switch
NextPresets for the providers people here use
- Point Claude Code or Codex at it, and it answersBuilding now
- Fallback and round robin that keep your cache warmNext
- Context that survives a provider switchNext
- Presets for Claude, ChatGPT, local gateways and OllamaNext
- The dashboard that explains every switchLater
