Why teams use it
- Cut coding-model spend by more than 50%. Open-weight models on Valar cost well under half of the equivalent Claude call, so routing traffic to them lowers the bill directly.
- Improve efficiency. Every request runs on Valar’s throughput-optimized inference built for agents, which keeps the open-weight models usable as an everyday default and not just a cheap fallback.
- Keep the existing workflow. Engineers connect their harness once with the CLI, and routing is managed server-side on the coding key.
How it works
- An engineer connects their harness with a coding key using the
valarCLI. Connecting changes only the base URL and the key; the model names the harness sends are left unchanged. - On each request, Valar reads which model class the harness asked for (Opus, Sonnet, Haiku, or Fable) and routes it to a target model. Valar picks that target by default; you can also set the mapping yourself per cohort.
- Valar serves the request on throughput-optimized inference tuned for agents, whether the target is a Claude model or an open-weight one.
- Usage is attributed per engineer, and the dashboard shows how serving is performing alongside savings against a Claude-only baseline.
/v1/messages endpoint. Codex uses /v1/responses and Cursor /v1/chat/completions. All require a coding key.
Get started
Set up ValarCode
Install the CLI, create a coding key, and connect a harness.
Model routing
How cohorts and the split decide which model serves each request.
Models
The open-weight targets and the frontier Claude tiers.
Analytics & savings
Per-engineer usage and how savings are worked out.
Supported harnesses
Each harness has its own page covering how to connect it and what the CLI writes behind the scenes:Claude Code
valar claude onClaude Desktop
valar claude-desktop onCursor
valar cursor onCodex
valar codex onPi
valar pi onVS Code
valar copilot onLiteLLM
If you run a LiteLLM proxy, you can keep it and still use ValarCode. Claude Code (or Pi) points at LiteLLM, LiteLLM forwards to Valar, and per-engineer routing and attribution work as long as the client id header survives the hop.LiteLLM integration
Route Claude Code through a LiteLLM proxy without losing per-engineer attribution.