cd /news/ai-infrastructure/routing-rules-now-available-on-ai-ga… · home topics ai-infrastructure article
[ARTICLE · art-46963] src=vercel.com ↗ pub= topic=ai-infrastructure verified=true sentiment=↑ positive

Routing rules now available on AI Gateway

Vercel has launched routing rules for its AI Gateway, enabling teams to rewrite or block model requests at the gateway level without code changes. The feature, now in beta, allows instant rerouting when models go down or are retired, and can enforce model usage policies across an entire team.

read1 min views1 publishedJul 2, 2026

Vercel AI Gateway now supports routing rules. Routing rules are firewall-style rules that control which models your team can use, applied at the gateway level instead of in your application code.

When a model goes down or gets retired, you usually have to ship a code change to move off it. With routing rules, you push one rule and every request reroutes instantly. There are two types:

Type | What it does | Use it to | | Serves a request for one model using another | Keep traffic flowing when a model is unavailable, migrate off a retired model, standardize on one model, or route an expensive model to a cheaper one | | Blocks requests for a model | Keep your team off models you haven’t approved |

Rules apply to every request made with your team's AI Gateway credentials. You manage them with the Vercel CLI.

Create a rewrite with a source and a destination model. The Gateway swaps in the destination transparently, so your application keeps requesting the source model:

Create a deny rule to block a model. Requests for it return a 403

:

Rules only change which model serves a request. Everything else you’ve configured still applies to the destination model, including:

Request-level: [BYOK], model fallbacks, sorting, the only

filter, and provider options. Team-level: Zero Data Retention and the provider allowlist.

Routing rules are in beta. For more information, read the routing rules docs.

── more in #ai-infrastructure 4 stories · sorted by recency
── more on @vercel 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
Live at https://your-agent.zahid.host
Get free account → Pricing
from €0/mo · no card required
LIVE [news/routing-rules-now-av…] indexed:0 read:1min 2026-07-02 ·