{"type":"post","id":"jev-router-route-to-the-cheapest-model-in-4a05f4","slug":"jev-router-route-to-the-cheapest-model-in-4a05f4","title":"jev-router: Route to the cheapest model in claude code for your task using jev-router","description":"Thesis: jev-router makes model selection a per-turn routing layer around Claude Code and Codex, rather than a manual choice for each task.","retrieval_nugget":"Thesis: jev-router makes model selection a per-turn routing layer around Claude Code and Codex, rather than a manual choice for each task.","published_at":"2026-10-06","updated_at":"2026-10-06","record_date":"2026-10-06","date_kind":"published_at","topics":["claude","claude-code","codex"],"source_urls":["https://github.com/gargpratyush/jev-router"],"schema_version":"newruntime-agent-readable-v0.2","stable_id":"post:jev-router-route-to-the-cheapest-model-in-4a05f4","status":"published","visuals":[],"editorial_provenance":{"schema_version":"newruntime-editorial-copy-v1","content_status":"source_grounded_final","final_copy_sha256":"sha256:fa15470cc990eb0b4462085a840b9052af762997ae4e796fa4e597d80c711bdb","reviewed_at":"2026-10-06T20:10:41.795Z","source_evidence_count":1,"verified_claim_count":3,"site_analysis_schema_version":"newruntime-site-analysis-v1","site_object_kind":"field_note","observed_fact_count":3,"implication_count":2,"watch_condition_count":2,"related_record_count":0},"analysis":{"schema_version":"newruntime-site-analysis-v1","object_kind":"field_note","thesis":"jev-router makes model selection a per-turn routing layer around Claude Code and Codex, rather than a manual choice for each task.","observed_facts":[{"text":"The repository README describes jev-claude and jev-codex as launchers for the real upstream CLI, with model selection for a fresh user turn.","source_urls":["https://github.com/gargpratyush/jev-router"]},{"text":"It says setup requires Node.js 20.12 or later, a supported CLI, and a Jev API key.","source_urls":["https://github.com/gargpratyush/jev-router"]},{"text":"It documents a loopback proxy and a control for pausing routing by selecting a concrete model.","source_urls":["https://github.com/gargpratyush/jev-router"]}],"mechanism":"The router sends the prompt and model-tier information to Jev for a decision, then uses the selected tier while forwarding the CLI's existing authorization headers. The README says those headers are not read, stored, or modified.","why_now":"The project documents support for both Claude Code and OpenAI Codex, making automatic tier selection a practical workflow option for users who otherwise choose models manually.","implications":["The first implication is that model choice becomes part of the agent workflow and can reduce manual switching between tiers.","A further implication is that the routing decision depends on an external decision service, so users should understand what task context is sent to it."],"evidence_boundary":"Evidence here is the public GitHub repository README and its descriptions of setup and behavior; it is not an independent test, security audit, or evaluation of routing outcomes.","watch_conditions":["Check for independent measurements of cost and task quality across routed and manually selected models.","Check what prompt data reaches the Jev decision service and whether the project documents retention and privacy controls beyond the stated handling of CLI authorization headers."],"related_records":[],"new_branch_reason":"No prior New Runtime record was supplied; this is a distinct record for jev-router's documented per-turn model-routing workflow."},"editor":{"role":"editor","name":"Andrey Reshetnikov","profile":"https://newruntime.com/owner-profile.md","profile_json":"https://newruntime.com/owner-profile.json","same_as":["https://www.linkedin.com/in/reshetnikov1/","https://t.me/lapetuse"]},"routes":{"html":"https://newruntime.com/posts/jev-router-route-to-the-cheapest-model-in-4a05f4/","markdown":"https://newruntime.com/posts/jev-router-route-to-the-cheapest-model-in-4a05f4.md","json":"https://newruntime.com/posts/jev-router-route-to-the-cheapest-model-in-4a05f4.json"},"next_reads":[{"type":"topic","path":"/topics/claude/","url":"https://newruntime.com/topics/claude/","title":"Claude","reason":"Explore the claude topic hub.","media_type":"text/html","markdown_url":"https://newruntime.com/topics/claude.md","json_url":"https://newruntime.com/topics/claude.json"},{"type":"topic","path":"/topics/claude-code/","url":"https://newruntime.com/topics/claude-code/","title":"Claude Code","reason":"Explore the claude-code topic hub.","media_type":"text/html","markdown_url":"https://newruntime.com/topics/claude-code.md","json_url":"https://newruntime.com/topics/claude-code.json"},{"type":"topic","path":"/topics/codex/","url":"https://newruntime.com/topics/codex/","title":"Codex","reason":"Explore the codex topic hub.","media_type":"text/html","markdown_url":"https://newruntime.com/topics/codex.md","json_url":"https://newruntime.com/topics/codex.json"},{"type":"collection","path":"/posts/","url":"https://newruntime.com/posts/","title":"Field Notes","reason":"Open the latest editorial analysis.","media_type":"text/html","json_url":"https://newruntime.com/posts.json"},{"type":"collection","path":"/source-ledger.json","url":"https://newruntime.com/source-ledger.json","title":"Source Ledger","reason":"Inspect the public source evidence graph.","media_type":"application/json"}]}
