Back to feed
Vercel
Vercel
7/2/2026
Routing rules now available on AI Gateway

Routing rules now available on AI Gateway

Short summary

Vercel AI Gateway now supports routing rules—firewall-style controls that let teams manage which models can be used at the gateway level. Two rule types are available: rewrite rules that transparently swap models for failover or cost optimization, and deny rules that block unapproved models. Rules take effect instantly across all requests using team credentials, eliminating code changes.

  • Two new rule types: rewrite (swap models transparently) and deny (block models)
  • Rules apply centrally at gateway level, no code changes needed
  • Use cases: model failover, cost optimization, team approvals, model migration

Generated with AI, which can make mistakes.

Is this a good recommendation for you?

Comments

Failed to load comments. Please try again.

Explore more