Routing rules now available on AI Gateway
Vercel Blog - AIJul 24 min read
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 Rewrite 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 mod
