jev-router
gargpratyush
High-throughput semantic router for Claude Code and CLI tools, directing requests to the most cost-effective model via Jev.
- License
- MIT
- GitHub Stars
- 174
- Source reviewed
- 2026-09-19
Where Jev makes a decision
Classifies task complexity with Jev discrete choice queries, dispatching trivial edits to lightweight models and reserving large models for complex logic.
What this project offers
Reduces aggregate API costs for developer tools while preserving quality on challenging architectural questions.
Review scope
Source code verified against pinned commit. Includes wrapper binaries and policy configs; cost savings vary with workload distribution.
Sources and implementation
- gargpratyush/jev-router/blob/38da6b84ea01241bfc41fbddc0928d0f40a703f0/src/policy.mjs
- gargpratyush/jev-router/blob/38da6b84ea01241bfc41fbddc0928d0f40a703f0/bin/jev-claude.mjs
- gargpratyush/jev-router/blob/38da6b84ea01241bfc41fbddc0928d0f40a703f0/bin/jev-codex.mjs
- gargpratyush/jev-router/blob/38da6b84ea01241bfc41fbddc0928d0f40a703f0/bin/jev-explain.mjs
- gargpratyush/jev-router/blob/38da6b84ea01241bfc41fbddc0928d0f40a703f0/bin/jev-statusline.mjs
- gargpratyush/jev-router/blob/38da6b84ea01241bfc41fbddc0928d0f40a703f0/README.md
Related projects
jev-codex-router
0xNatoshi · Model Routing
Uses Jev to classify each Codex turn, then applies local rules to choose the model, reasoning effort, and speed mode.
jev-research
sherajdev · Model Routing
A Jev and Herdr integration guide with a prototype for routing tasks to different Agents.
jev-demo
minghanminghan · Model Routing
A customer-service routing demo that batches Jev questions before following the resulting route.
jev-router-playground
hugo-alves · Model Routing
A model-routing playground where Jev picks a candidate and users compare the resulting answers.