Claude Code model router
jev-router
Routes each Claude Code task to the cheapest suitable model.
Install
git clone https://github.com/gargpratyush/jev-router.gitFrom the README
jev-router Automatic per-turn model routing for Claude Code and OpenAI Codex. Jev sends simple work to the fast tier and difficult work to the strong tier, while preserving each CLI's native interface, tools, sessions, permissions, and authentication. Both commands launch the real upstream CLI. Jev only chooses the model for a fresh user turn. Quick start Requires Node.js 20.12+ and at least one supported CLI: Claude Code or OpenAI Codex. 1. npm package 2. Local repository On Windows PowerShell: Get a key from TypeSafe. Then launch either interface from any repository: No Anthropic or OpenAI API key is required when the corresponding CLI is already logged in with a subscription. Every CLI argument is forwarded: For a local checkout, npm link installs both commands. Without it, run node bin/jev-claude.mjs or node bin/jev-codex.mjs. Claude Code interface jev-claude launches Claude Code with Jev Router selected in /model. Selecting another model pauses routing; selecting Jev Router resumes it. The injected status line shows the model used for the last turn: Claude Code otherwise remains unchanged, including its keybindings, tools, permission prompts, /compact, /resume, and session handling. An existing custom statusLine is preserved; set JEV_NO_STATUSLINE=1 to disable Jev's status line. The explanation skill is bundled with the npm package and loaded automatically: run /jev-explain in jev-claude, or $jev-explain in jev-codex, to see the factors behind the last routing decision: The report is rendered locally from the exact prompt, System One request, and System One response saved when routing occurred. Recent decisions are retained per CLI session; invoking the explanation skill…
Details
- Repository
- gargpratyush/jev-router
- Language
- JavaScript
- License
- MIT
- Last updated
- 19 September 2026
FAQ
What is jev-router?
Routes each Claude Code task to the cheapest suitable model. It is a model router for Claude Code, from gargpratyush/jev-router on GitHub.
How do I install jev-router?
Clone gargpratyush/jev-router from GitHub and follow the setup steps in its README.
Is jev-router popular?
gargpratyush/jev-router has 652 GitHub stars and 101 forks. It was last updated on 19 September 2026.
More model routers & proxies
claude-code-switch
666foreveryh/claude-code-switch
One-command model switcher for Claude Code.
Mcpc
1.1kapify/mcpc
The most compatible MCP CLI client. Supports: tools, resources, prompts, completions, async tasks, skills, stdio and streamable HTTP (MCP 2026-07-28 and 2025-11-25), persistent sessions, OAuth 2.1 with DCR, CIMD, client credentials, and ID-JAG, OS keychain, --json for code mode, grep for tool discovery, proxy for AI sandboxes, x402, and more.
claude-code-proxy
692raine/claude-code-proxy
Local proxy to use Claude Code with ChatGPT, Kimi, Cursor or Grok subscriptions.
Wesight
966freestylefly/wesight
Open-source desktop AI agent workspace with one-click Claude Code, Codex, OpenClaw, Hermes Agent setup and custom LLM model routing.
Code Switch
826daodao97/code-switch
Desktop tool for switching Claude Code and Codex between API providers.
Agentic Flow
836ruvnet/agentic-flow
Easily switch between alternative low-cost AI models in Claude Code/Agent SDK. For those comfortable using Claude agents and commands, it lets you take what you've created and deploy fully hosted agents for real business purposes. Use Claude Code to get the agent working, then deploy it in your favorite cloud.
Browse the most popular Claude Code mods, all model routers & proxies, or the skills and MCP server directories.