Coding router comparison
Weave Router vs OpenRouter
Sources reviewed
The short version
Weave adds managed routing to existing coding clients; OpenRouter offers model access and automatic selection.
Weave Router
Managed coding-model routing
- Installs into Claude Code, Codex, GitHub Copilot CLI, OpenCode and Pi
- Compare recorded Router costs with the requested-model estimate
- Cache-aware selection and escalation
Side by side
Weave Router and OpenRouter, side by side
| What matters | Weave Router | OpenRouter |
|---|---|---|
| How models are chosen945 | A complexity classifier per request, cache-aware switching that routes down when expected savings outweigh the cache rebuild, and an escalation classifier for stalls, loops and misses. | A decision model rates eleven aspects of each turn. The policy weighs pass rate, speed, cost per solved task, live prices and cache status, and picks a model and reasoning effort. |
| Multi-turn behavior945 | Keeps the session on its model when a switch is expected to cost more than it saves, and escalates when the cheaper model stalls. | Session stickiness. Auto Code prefers an effort change over a model switch to keep the cache, and switches when failure signals point at the model. |
| Coding harness setup1135 | Use client flags such as --claude, --codex or --copilot with npx @weave-os/router. OpenCode and Pi are also supported; off --<client> restores the prior setup. Cursor is manual, Agent and Ask only. | Set the model to openrouter/auto-code wherever the harness accepts a model string, and send a session ID. |
| Pricing10472 |
|
|
| Cost evidence13144 | Requested versus actual session cost, including negative savings. Read-only per-call exports separate API-rate usage from actual cost, so included subscription turns retain tokens and API-rate equivalents while recording zero actual API spend. | Router metadata on each response lists the candidates and reasons. Activity logs and exports cover spend. |
| Published evaluations15178 | Self-published, paired against GPT-6 Astra with a public harness: 46–52% of Astra's cost per trial, with pass@2 solve rates of 62.1% vs 60.6% (Terminal-Bench) and 62.1% vs 66.1% (SWE-Atlas). A dated September 2026 Auto Beta arm is described in the FAQ. Not on the Vals Router Index. | Vals Router Index: Jev third on coding, November 3, 2026. |
The key difference
Coding policy and API billing
Why Weave Router
What Weave Router adds over OpenRouter
Client installation
Weave’s installer configures Claude Code, Codex, GitHub Copilot CLI, OpenCode or Pi and can restore the previous setup with off --<client>. Engineers keep their coding environment. OpenRouter Auto Code is configured through its model slug and a session ID; Weave provides the client setup alongside the routing policy.
3115API usage and actual charges
Weave records requested and served models and their usage costs. The billing view identifies the funding source, including a plan, provider key or Weave credits. Include all plan and usage fees when calculating total spending.
1413218Client-specific model pins
Claude Code uses /force-model and /unforce-model. Codex uses $force-model or $fm and $unforce-model or $ufm; headless clients can set x-weave-force-model. Engineers can use automatic selection and still choose a specific model for a task. OpenRouter also supports restricted pools or fixed model slugs; the Weave controls are integrated with its client workflow.
125Source access and published benchmarks
Weave publishes its Apache-2.0 implementation, session-cost API and coding benchmark harness. Your team can inspect cache-aware switching and escalation, then run accepted tasks against the current OpenRouter policy. The September 2026 Auto Beta results below are historical; they do not establish performance against today’s Auto Code.
11131715In practice
Setup and day-to-day use
Try it on your own work
Evaluate Weave Router with OpenRouter
Keep a working baseline
Save the current harness config. Pick 10 to 20 representative tasks with tests and a known-good pinned model.
Connect one harness
Run npx @weave-os/router --claude or --codex, configure the provider access you need and start a fresh session.
Run both on the same tasks
Compare pass rate, elapsed time, cache reads and writes, and total cost.
Review the results before expanding
Roll out to a small group first. npx @weave-os/router off --<client> restores the previous setup.
A few more details
Frequently asked questions
Compare coding routers
All comparisons- Cognition Adaptive and Fusionvs Weave RouterDevin’s built-in routing
- LiteLLMvs Weave RouterConfigurable LLM gateway
- Not Diamondvs Weave RouterMetadata-based recommendations
- Ramp Routervs Weave RouterGateway with optional model selection
- OpenCode Govs Weave Code MaxModel catalog with separate allowances
- Martianvs Weave RouterModel gateway and research tools
- Nadirvs Weave RouterRecommendations and managed proxy
Try Weave Router in your coding client
Install Weave for one coding client and run representative tasks. Compare completed work, elapsed time and total session cost before expanding to the team.
Behind the comparison
Sources and comparison method
Published by Weave. OpenRouter's Auto Router, Auto Code, router overview and pricing pages were reviewed November 13, 2026. Weave facts come from the Router product and pricing pages and the public weave-os/router repository at commit b1f7028. No matched test against the current Auto Router or Auto Code has been published. Weave's earlier Auto Beta run does not establish current superiority.
- Weave’s July 2026 reported product results
- Weave Router billing: per-seat allowances, usage windows and purchased credits
- Weave installer: supported clients and reversible setup
- OpenRouter Auto Router: decision model, cache status, session stickiness and pricing
- OpenRouter Auto Code: per-turn model and effort for coding agents
- OpenRouter model routing overview: Auto, Switchyard, Jev, Pareto and Fusion
- OpenRouter pricing: credit purchase fees and BYOK terms
- Vals AI Router Index, as of November 3, 2026
- Weave Router: routing, cache-aware switching, escalation and subscriptions
- Weave Router pricing: Code Max and Enterprise, billed separately from the platform
- Weave Router README: installer targets, OpenRouter upstream and license
- Weave Router configuration and model controls
- Weave Router session cost: requested vs actual cost per session
- Weave Router analytics export: one raw row per upstream call
- Weave Router 2.0: benchmark results and run notes
- Weave Router benchmark methodology
- Weave Router: reproducible Codex benchmark harness
- Router reporting: comparison model, adjustments, drilldowns and session API