Jev Router
A local router chooses a model tier for each Claude Code or Codex turn.
A local router chooses a model tier for each Claude Code or Codex turn.
Jev receives the fresh prompt, current model and context token count, and available model IDs. It scores complexity dimensions and chooses an exact model ID; routing policy applies confidence and context rules before the CLI starts the turn.
Choose the cheapest exact available model that can complete the request in one pass.
New request text, current model and context tokens, with the default Haiku, Sonnet, and Opus model IDs available.
Score overall task complexity including ambiguity, scope, and blast radius.
New request text, current model and context tokens, with the default Haiku, Sonnet, and Opus model IDs available.
Read prompt, current model, context size, and available model tiers.
Request complexity Scores and a model Choice in one call.
Use confidence, overrides, context size, and available tiers to settle on a model.
Pass the selected model through the existing CLI interface.
It routes only fresh turns while preserving native CLI behavior, and explicitly accounts for the prompt-cache cost of switching models.