AI Briefing
KO

Routing rules now available in AI Gateway

·2026.07.02 09:00

Key point

Vercel AI Gateway has launched a routing rules feature that lets teams control models without modifying application code.

Details

Vercel AI Gateway now supports a new Routing rules feature. This feature applies firewall-style rules, allowing teams to directly control the models used at the gateway level without modifying application code.

Routing rules are broadly divided into two types.

  • Rewrite: Instantly switches requests for a specific model to a different model. This is useful for rerouting traffic during model outages, or for replacing an expensive model with a cheaper one to reduce costs.
  • Deny: Blocks requests for a specific model. This is used to restrict the use of unapproved models, returning a 403 error when requested.

All rules can be managed via the Vercel CLI. Routing rules only perform model switching, and all other previously configured components—such as BYOK, model fallbacks, and Zero Data Retention—are applied equally to the target model.

This summary was generated automatically by AI. Check the original for the author's claims and context. Copyright belongs to the original author.

Our guide explains how the AI works. Report summary errors, attribution issues, or removal requests via Contact.