Make Codex and Claude Code subscriptions go further: a local model router that gives routine agent work to economical models and keeps your strongest model for the hard parts.
Rust ai-agentsai-gatewayclaude-codecodexcoding-agentcost-optimizationdeepseekllm-gatewayllm-routerlocal-firstmodel-routingrusttask-routingtauri
{"request_id":"r-a","attempt":1,"revision":1,"team":"research","model":"small","status":"succeeded","input_tokens":100,"output_tokens":20,"cached_input_tokens":40}
{"request_id":"r-b","attempt":1,"revision":1,"team":"support","model":"large","status":"failed","input_tokens":null,"output_tokens":0,"cached_input_tokens":null}