gargpratyush/jev-router

Route to the cheapest model in claude code for your task using jev-router

Open original source ↗

Older snapshot: check the original source for current information.

From the publisher

README & documentation

Source preview

Read the project’s overview, installation instructions and usage examples. The original README is the source of truth.

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. Requires Node.js 20.12+ and at least one supported CLI: Claude Code or OpenAI Codex. 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. 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…

gargpratyush/jev-router on GitHub A short preview, not the full document.

Read the full README ↗ · Preview checked 2026-11-02T19:57:08.581Z

Inside the original README — Document outline
  1. jev-router
  2. Quick start
  3. 1. npm package
  4. 2. Local repository
  5. Claude Code interface
  6. Explanation data location
  7. OpenAI Codex interface
  8. How it works
  9. Routing policy
  10. Configuration
  11. Compatibility notes
  12. Development

Headings are captured from the source. Links open the publisher’s document, not a locally hosted copy.

Links from the README

References supplied by the publisher, not independently verified endorsements. Check the destination before downloading files or entering credentials.

Documentation belongs to its respective authors. Reported project/model license: MIT. A listing is not a grant of reuse or training rights. Confirm the document’s own terms at the source.

What this repository does

Route to the cheapest model in claude code for your task using jev-router

Repository facts

Owner
gargpratyush
Primary language
JavaScript
Stars
355
Forks
41
Open issues + pull requests
27
License
MIT
Archived
No
Default branch
master
Created
2026-09-16T20:39:22.000Z
Last push
2026-09-19T10:28:26.000Z

Topics and intended use

No topics were included in the latest source metadata.

Review the README for scope, installation, examples and limitations. We do not run repository code or certify it.

Evaluate before installing

Review licensing and dependencies, inspect recent commits and unresolved issues, and test in an isolated environment before production use. Stars and forks alone cannot answer these questions.

README and project files

Issues and maintenance discussion

Releases and changelog

Source and freshness

Source: GitHub. Metadata observed 2026-09-23T12:03:29.066Z. Daily imports are snapshots, not real-time monitoring.

Popularity and source listings do not establish security, suitability, licensing rights or benchmark performance.

Open original source

Related repositories

affaan-m/ECC

react/react

trekhleb/javascript-algorithms

CyC2018/CS-Notes

DietrichGebert/ponytail

Snailclimb/JavaGuide