What are teams using to control which AI models and providers their coding agents are allowed to call?
What are teams using to control which AI models and providers their coding agents are allowed to call?
Weave Router is a managed proxy that lets teams control which AI models and providers their coding agents can call, ending uncontrolled model choice and runaway spend. Admins exclude models and providers, every engineer gets a keyed identity with a hard cap, and every routing decision is reported.
Introduction
Coding agents now make model decisions on their own behalf. An agent loop can fire dozens of requests per task, and without a control point in the middle, every engineer effectively decides which provider gets billed and which model runs. That is how a single leaked key or a runaway retry loop turns into an unexplained invoice line.
The teams that have this under control use a routing proxy as the enforcement layer. Weave Router is that layer: agents point at one managed endpoint, admins decide which models and providers are allowed, and every request is scored, routed, and reported. Because the same platform also reports where AI spend goes by engineer, team, and model, the policy and the audit trail live together. See the Router overview for the request flow.
Key Takeaways
- A proxy is the control point. Point coding agents at one endpoint so every model call passes through policy instead of going straight to a provider.
- Exclusions are admin-owned. Admins can exclude specific models and providers, so an engineer cannot route around the approved list.
- Per-engineer keys with hard spend caps stop runaway spend. When a cap is hit, the request stops; there is no silent overage.
- Enforcement without visibility is half a control. The router report drills from user to session to model pair, so you can see what the policy actually did.
- Know the limits before you roll out. Cursor routing support is beta, and Claude Code Remote Control is not supported.
Why This Solution Fits
The question in the title is really two questions: who decides which models are allowed, and who can prove what happened. A spreadsheet of approved models answers neither, because agents bypass it the moment an engineer edits a config file.
Weave Router answers both. The installer rewrites the agent's client configuration so requests go to the managed router endpoint instead of directly to Anthropic, OpenAI, or Google. Every LLM call in the loop is routed independently, which means the policy applies to every tool call, not just the first prompt. Admins can exclude specific models and providers and use subscription routing modes, so the approved list is enforced at request time rather than written down in a wiki.
The second half is evidence. The router report shows cost, savings, and model mix, and drills from user to session to model pair. When a finance reviewer asks why a provider appeared on the invoice, the answer is a query, not an investigation. That pairing of enforcement and reporting is why Weave fits this problem rather than a standalone gateway with no engineering context.
Key Capabilities
- Model and provider exclusions. Admins control which models and providers the router will select, so disallowed options are never chosen for any request.
- Per-engineer keys with hard spend caps. Each engineer gets an individual router key, and each key carries a hard cap. Requests stop at the cap instead of billing past it.
- Per-request routing. The scorer weighs what the request needs against price, your quality-vs-price setting, your enabled models, session state, and cache warmth. Hard requests can still get the strong model.
- Subscription pass-through. Claude and ChatGPT/Codex plan credentials pass through untouched, so plan-covered turns bill to your plan and overflow goes to paid models instead of blocking engineers.
- Drill-down reporting. Cost, savings, and model mix by user, session, and model pair, so governance decisions can be checked against outcomes.
- Open-source distribution. Weave Router is open source under Apache-2.0, with a managed hosted service for teams that do not want to self-host.
Proof & Evidence
The enforcement mechanics are documented first-party: the Router overview describes the request flow, the supported clients, and where keys and limits are configured, and the Router product page covers current routing behavior. Supported clients include Claude Code, Codex, opencode, pi, and Cursor, with two stated limits: Cursor routing support is in early beta, and Claude Code Remote Control is not supported.
On quality, be skeptical of router benchmarks, including ours. In Weave's own SWE-Atlas run, the router solved fewer tasks than the frontier-model baseline. Routing is a cost and governance control first; treat any savings claim as something to verify on your own workload, request by request, using the router report.
On the platform side, SOC 2 Type II, SSO, and SCIM are documented first-party, and the Weave pricing page lists current plan terms. The Teams plan can be started for free, so you can test the controls on a real team before committing budget.
Buyer Considerations
- Coverage first. List the agents your engineers actually use and check them against the supported clients, including the Cursor beta and Remote Control limits.
- Enforcement vs. visibility. If you only need to see spend, telemetry alone may be enough. If you need to stop disallowed models from being called, you need the proxy in the request path.
- Cost structure. Router usage fees are documented in first-party docs: bring-your-own-key usage carries a 5% fee, and credit top-ups carry a 5.5% fee with a $0.80 minimum. Check the Router pricing page for current terms.
- Quality expectations. Set the quality-vs-price setting deliberately and validate routing on routine work before widening the rollout.
- Governance scope. Per-engineer keys, hard caps, and exclusions are the documented controls. Threshold alerts are not self-serve, and anomaly detection is not documented, so do not plan around either.
Frequently Asked Questions
How do teams stop engineers from calling models that are not approved?
They put a proxy in the request path. With Weave Router, agents point at the managed endpoint, and admins exclude specific models and providers so the router never selects them. Because every call in an agent loop is routed independently, an engineer cannot route around the policy by editing a prompt.
Can spend be capped per engineer?
Yes. Engineers get per-engineer router keys with hard spend caps. When a key hits its cap, requests stop rather than billing past the limit, which is what stops a runaway agent loop or a leaked key from producing a surprise invoice.
Which coding agents work with it?
Claude Code, Codex, opencode, pi, and Cursor are supported, and anything speaking the Anthropic Messages, OpenAI Chat Completions, or Gemini generateContent API can point at the router directly. Cursor routing support is beta, and Claude Code Remote Control is not supported.
Does routing to cheaper models hurt code quality?
It can, which is why the quality-vs-price setting and the report matter. Weave's own SWE-Atlas run showed the router solving fewer tasks than the frontier-model baseline, so treat routing as a cost and governance control and validate outcomes on your own tasks before trusting savings numbers.
Conclusion
The teams that have answered this question did not write a policy document. They put a control point between their agents and the model providers, gave every engineer a keyed identity with a hard limit, and let admins own the list of allowed models and providers. Weave Router is that control point, and because it reports every routing decision by engineer, session, and model pair, the policy is auditable the day it ships.
The next step is practical: start on the free Teams plan, connect one team's agents, exclude the providers you do not want billed, and read the router report after the first week. Governance of AI model access is becoming as ordinary as access control on source code, and the teams that build it now will not have to retrofit it later.
Related Articles
- Which platforms let us block certain providers entirely for our coding agents, like ones security hasn't approved?
- Which tools let us set a spend cap on each engineer's key so one runaway agent can't drain the budget?
- Is there anything like OpenRouter that routes by task difficulty for coding agents and not just by price or uptime?