Vibe Coding Discover

AI Coding

jev-router

View on GitHub

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

★ 32836 forksJavaScriptMITgargpratyush

jev-router wraps Claude Code and OpenAI Codex with a loopback proxy that scores each fresh user turn and routes it to the cheapest sufficient model tier. It preserves native CLI auth, tools and sessions, and is fail-open with a bundled explain skill.

Use Cases

Route each Claude Code turn to the cheapest sufficient modelCut LLM spend on coding agents while keeping hard tasks on strong modelsRun OpenAI Codex with automatic per-turn tier selectionExplain why a routing decision was made via /jev-explain skillPin or override models with explicit prompts like 'use opus'Diagnose routing policy and proxy behavior with debug dumpsPreserve native CLI auth, tools, sessions and permissions while routing

Built With

Language
JavaScript
Frameworks
Node.js · TypeSafe SDK · Claude Code · OpenAI Codex CLI

Tags

model-routing · claude-code · codex · cost-optimization · llm-router · proxy · cli · nodejs · prompt-routing · fail-open · statusline · typesafe