Coding router comparison

Weave Router vs Martian

Weave automatically selects models for coding requests, accounts for cache-rebuild costs and escalates stalled work. Martian’s public Claude Code and Codex guides use explicitly configured models. Weave provides automatic selection, client installation and session cost records as one service. Weave reports average token-spend savings of 40% with Router.

91478

Sources reviewed

The short version

Weave selects coding models automatically for each request.

Weave Router

Automatic coding selection with monthly plans

  • Weave Auto chooses the model for each coding request
  • Accounts for cache rebuilds and escalates stalled work
  • Code Max $10, Enterprise custom
129102
What is Weave Router?

Weave Router chooses the coding model as requests arrive. It evaluates the cost of a cache rebuild before switching and can escalate a stalled task to a stronger model. The client installer and session-cost API let a team change from a named-model configuration to automatic selection and inspect what ran. Code Max has published monthly allowances and limits; it does not include Weave’s engineering analytics.

911102

Martian

Model gateway and research tools

  • API access to 200+ models
  • Named-model coding-client setup
  • ARES and K-Steering
675
What is Martian?

Martian is an AI research lab with a Gateway for 200+ models and setup guides for Claude Code and Codex. ARES supports agent training and evaluation; K-Steering supports inference-time steering. The public Gateway guides describe named-model setup, while additional partner documentation requires login.

456

Side by side

Weave Router and Martian, side by side

What mattersWeave RouterMartian
Who picks the model91378Weave does, per request: a complexity classifier, cache-aware switching and an escalation classifier. Pin a model with /force-model when you need one.Configured model IDs in Claude Code; named profiles in Codex.
Coding agents11785One-command install for Claude Code, Codex, GitHub Copilot CLI, OpenCode and Pi. Cursor is manual, Agent and Ask only.Guides for Claude Code and Codex, plus other integrations listed in the docs.
Model access1062Anthropic, OpenAI and open-source models, depending on plan. Code Max is open-source only.200+ models via OpenAI- and Anthropic-compatible APIs.
Pricing10762
  • Code Max: $0 for the first month with $10 in credits for $50 in usage, then $10/month. Open-source models only.
  • Enterprise: custom, in your infrastructure. Billed separately from the Weave platform.
  • Dashboard for keys and models.
  • No automatic-router price is listed on the reviewed public pages.
Evidence you can check1116171465Apache-2.0 source, a paired benchmark against GPT-6 Astra, a public Codex harness and per-session cost records.Request history and usage; ARES/K-Steering are separate research tools.
Sources and comparison method

The key difference

Automatic selection and named-model access

Weave Router

Weave: automatic model selection

Weave handles the model decision using request difficulty, cache costs and task progress. Your team gets a coding policy to use now, plus session records that show the resulting model mix and cost.

911147

Martian

Martian: broad access, your model choice

Martian’s Gateway connects Claude Code and Codex to its model catalog. The public guides configure a model ID or profile; they do not describe the automatic coding-selection policy a team would run.

911147
Weave connects the coding client, selects models with session context and reports cost. Martian’s client guides connect to the Gateway, configure a named model and record usage.
Weave decides the model for each coding action. Martian's documented setup sends requests to the model you configure. Workflow schematic, not a performance chart. 9678

Why Weave Router

What Weave Router adds over Martian

Automatic model selection

Weave uses a complexity classifier for each request, considers cache-rebuild costs before switching and escalates when the agent stalls or loops. Martian’s public client guides configure a named model. With Weave, engineers can use automatic selection throughout the task and pin a model when they want a fixed choice.

91278

Client installation

Weave’s installer covers Claude Code, Codex, GitHub Copilot CLI, OpenCode and Pi. It changes the selected client’s configuration and can restore that configuration with off --<client>. Start one client at a time, keep existing acceptance tests and inspect session cost before changing the rest of the team’s setup. Cursor requires manual setup for Agent and Ask chats only.

311

Monthly pricing

Code Max is free for the first month with $10 in credits for $50 in usage across open-source models, then costs $10/month. Martian’s reviewed public pages do not provide a current automatic-router price.

106

Session costs and source access

When moving from a named model to automatic selection, Weave’s report shows the model mix, spending by model and user-to-session drilldowns. Set the fixed comparison model explicitly. The dashboard adjusts its baseline using measured harness work ratios, task-success differences and cache economics; it retains negative savings. Unmeasured models, forced requests and subscription-served calls receive no credited savings. The session API separately exposes actual and requested-model costs. The Apache-2.0 source lets engineers inspect the service itself.

141118

Published coding cost and completion results

Weave’s September 2026 paired trials cost 46% to 52% as much as direct GPT-6 Astra per trial. Pass@2 solve rates were 62.1% versus 60.6% on 66 Terminal-Bench 4.0 tasks and 62.1% versus 66.1% on 124 SWE-Atlas tasks. The public harness shows how to measure completed tasks and cost; these were not Martian head-to-head trials.

1617

In practice

Setup and day-to-day use

Choosing models

Weave Router

Use Weave Auto to select the model as requests arrive. Pin a session with /force-model when the task requires a particular model.

Martian

Configure a model ID or Codex profile.

91378

Harder work

Weave Router

The escalation classifier sends stalled, looping or failing tasks back to a frontier model.

Martian

Select a stronger model; inspect request history.

96

Reporting

Weave Router

Requested vs actual cost per session, including sessions where routing cost more.

Martian

Gateway usage and request history.

146

Choose for your workflow

When to choose Weave Router

Use Weave when you need automatic coding-model selection, client installation and session-cost reporting. Martian’s public client setup configures named models; its gateway and research tools are separate capabilities.

659

Try it on your own work

Evaluate Weave Router with Martian

  1. Keep a working baseline

    Save your current endpoint and client configuration. Pick representative tasks with tests and a known-good pinned model.

  2. Connect one coding harness

    Run npx @weave-os/router --claude or --codex, configure the provider access you need, and start a fresh session.

  3. Measure completed work

    Compare accepted changes, session cost, cache reads and writes, retries and elapsed time against the named-model setup.

  4. Expand after review

    Roll out to a small group first. npx @weave-os/router off --<client> restores the previous setup.

A few more details

Frequently asked questions

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. Martian's homepage, documentation, Gateway page and Claude Code and Codex guides were reviewed November 13, 2026. These public pages don't document a current automatic router, its policy or its price. Martian's earlier router identity is historical. Weave facts come from the Router product and pricing pages and the public weave-os/router repository at commit b1f7028. No matched Weave-versus-Martian test has been run.

  1. Weave’s July 2026 reported product results
  2. Weave Router billing: per-seat allowances, usage windows and purchased credits
  3. Weave installer: Weave Auto and native model selection
  4. Martian: research lab positioning
  5. Martian documentation: Gateway, ARES and K-Steering
  6. Martian Gateway: 200+ models through one API
  7. Martian: Claude Code integration with a configured model
  8. Martian: Codex integration and model profiles
  9. Weave Router: routing, cache-aware switching, escalation and subscriptions
  10. Weave Router pricing: Code Max and Enterprise, billed separately from the platform
  11. Weave Router README: installer, self-hosting and Apache-2.0 license
  12. Weave Router semantics: sessions, turns and per-action routing
  13. Weave Router configuration and model controls
  14. Weave Router session cost: requested vs actual cost per session
  15. Weave Router self-hosting: frozen HMM policy sidecar
  16. Weave Router 2.0: paired coding benchmark results
  17. Weave Router: reproducible Codex benchmark harness
  18. Router reporting: comparison model, adjustments, drilldowns and session API

Inspect the evidence