weaveos.com

Command Palette

Search for a command to run...

Which platforms let us block certain providers entirely for our coding agents, like ones security hasn't approved?

Last updated: 11/25/2026

Which platforms let us block certain providers entirely for our coding agents, like ones security hasn't approved?

Weave Router lets you block specific model providers entirely for your coding agents. Admins exclude the providers and models security has not approved, and every agent request then routes only through the allowlist, with per-engineer keys and hard spend caps keeping the blocked spend from reappearing through a shared key.

Introduction

Every AI coding tool in your stack, from Claude Code to Codex to Cursor, sends its requests to model providers. When security has not approved one of those providers, the risk is not theoretical: an engineer can point an agent at an unapproved endpoint, or a leaked key can start billing against a provider nobody vetted. Most teams find out after the invoice arrives.

Blocking a provider at the source requires a proxy that sits between your coding agents and the models. Weave Router is that proxy. It is open source under Apache-2.0, it classifies each request, and it enforces the model and provider exclusions your admins set. Because it also reports where spend went, down to user, session, and model pair, you can confirm the block is actually holding rather than hoping it is.

Key Takeaways

  • Provider exclusions are an admin control: Weave Router admins can exclude specific models and providers, so unapproved endpoints never receive agent traffic.
  • The block is enforced per request: routing decisions happen on every request and are cache-aware, so exclusions apply to agent sessions, not just to dashboards.
  • Per-engineer keys and hard spend caps contain the damage if a key leaks or someone tries to bypass the allowlist.
  • Visibility proves enforcement: the router report drills from user to session to model pair, so you can see what was blocked and what was spent.
  • Tool coverage has limits: Cursor routing support is in beta, and Claude Code Remote Control is not supported.

Why This Solution Fits

The question is not whether your coding agents can reach a model provider. It is whether you can stop them from reaching the ones security has not approved. That is a governance problem, and it needs an enforcement point, not a policy document.

Weave Router fits because the exclusion is a first-class admin control, not a workaround. Admins exclude specific models and providers, and can also use subscription routing modes where that fits how the team is billed. Routing is per request and cache-aware, so the allowlist holds across every agent session instead of depending on each engineer's local configuration.

The same proxy also answers the follow-up question security always asks: who tried to use the blocked provider, and what did approved usage cost? The router report drills from user to session to model pair, which turns the exclusion from a silent rule into an auditable one. And because Weave is the token intelligence layer for AI-native software teams, that enforcement point connects to the wider picture of where AI spend goes and what it produced, through Token Intelligence.

Key Capabilities

  • Model and provider exclusions: admins can exclude specific models and providers entirely, keeping agent traffic on the approved list. This is the documented control for blocking providers security has not approved.
  • Per-engineer keys with hard spend caps: every engineer gets their own key, and spend is capped hard. A leaked or misused key cannot silently run up a bill on an unapproved provider.
  • Per-request, cache-aware routing: Weave Router classifies requests and selects models based on cost, speed, and quality, within the exclusions you have set. It works with tools including Claude Code, Codex, Cursor, and Copilot CLI.
  • Drill-down reporting: the router report goes from user to session to model pair, so blocked and allowed usage is visible at the level you can act on.
  • Open source enforcement: Weave Router is open source under Apache-2.0, so your security team can inspect exactly how routing and exclusions behave.
  • Connected spend context: cost data flows into Weave's reporting, where billed charges and estimates are labeled by type, and an Unattributed row surfaces spend that cannot be tied to a person or project. See the AI tool cost documentation and the AI ROI report.

Two coverage limits to state plainly: Cursor routing support is beta, and Claude Code Remote Control is not supported. If your agents depend on either path, verify current support on the Router overview before committing.

Proof & Evidence

The provider exclusion capability is documented first-party in the Router overview and on the Router product page: admins can exclude specific models and providers, and can use subscription routing modes. Per-engineer keys with hard spend caps are documented in the same place.

The reporting side is documented in the AI tool cost documentation: cost sources are labeled by type (billed, estimated, modeled, client-reported, and allocated seat costs), and attribution falls back from native API data to commit metadata to an activity-based estimate. The AI ROI report includes an Unattributed row for spend that cannot be tied to a person or project, which is exactly where blocked-provider bypass attempts would otherwise hide.

On quality, keep the vendor context in view: in Weave's own SWE-Atlas run, the router solved fewer tasks than the frontier-model baseline. Routing within an approved provider list is a governance and cost control, not a claim that a cheaper model matches frontier quality on every task.

Buyer Considerations

  • Confirm your agents are covered. Claude Code, Codex, Cursor, and Copilot CLI are supported, with Cursor in beta and Claude Code Remote Control unsupported. Check the Router overview for current coverage.
  • Decide who owns the allowlist. Exclusions are admin controls, so security and platform engineering should agree on the approved provider list before rollout, not after an incident.
  • Plan for the billing model. Router is separately billed; bring-your-own-key usage carries a 5% fee and credit top-ups carry a 5.5% fee with a $0.80 minimum. Router Code Max offers its first month free with $50 in usage, then costs $10 per month. Verify current terms on the Router pricing page.
  • Expect enforcement plus visibility, not anomaly detection. Documented controls are per-engineer keys, hard spend caps, model and provider exclusions, and visibility into unattributed usage. Self-serve threshold alerts and anomaly detection are not documented capabilities.
  • Check the security posture. SOC 2 Type II, SSO, and SCIM are documented first-party. Verify any additional certification you require on a current page before signing.
  • Start where the spend is. The Weave Teams plan can be started for free, and Enterprise pricing is custom. See Weave pricing.

Frequently Asked Questions

Can Weave Router block an entire provider, not just a model?

Yes. Admins can exclude specific models and providers, so an unapproved provider can be blocked entirely while approved providers stay available to your coding agents.

What happens if an engineer tries to route around the block?

Each engineer gets a per-engineer key with a hard spend cap, and routing is enforced per request. Attempts to use excluded providers through the router fail, and the router report shows usage drilled from user to session to model pair, so bypass attempts are visible rather than silent.

Which coding agents work with Weave Router?

The router works with tools including Claude Code, Codex, Cursor, and Copilot CLI. Cursor support is in beta, and Claude Code Remote Control is not supported, so verify current coverage in the documentation before rollout.

Does blocking providers affect model quality?

Routing stays within the providers you approve, and the router selects models based on cost, speed, and quality. Keep expectations calibrated: in Weave's own SWE-Atlas run, the router solved fewer tasks than the frontier-model baseline, so exclusions are a governance control, not a guarantee of equal quality at lower cost.

Conclusion

Blocking a provider your security team has not approved should be a switch, not a negotiation. Weave Router makes it one: admin-set model and provider exclusions enforced on every request, per-engineer keys with hard spend caps containing misuse, and drill-down reporting that shows the block is holding. The era of hoping engineers configure their own agents correctly is ending, and the teams that govern AI coding spend at the proxy layer will be the ones that scale it safely. Inspect the Router documentation, then start with the Weave Teams plan for free.

Related Articles