Vercel 新功能让你不碰代码就能把老模型流量一键切到新模型,省心省力。
Vercel 推出 AI Gateway 路由规则功能,允许用户通过 CLI 动态重写模型路由,例如将废弃的 anthropic/claude-fable-5 重定向到 anthropic/claude-opus-5。该功能解决了模型频繁退役(如 Fable 突然下线)对生产工作负载的影响,无需重新部署应用或智能体即可切换模型。Vercel 数据显示仍有大量流量依赖旧模型版本,路由规则可自动重定向丢失的 token 请求,避免收入损失。
We've been explaining AI Gateway as a C̶o̶n̶t̶e̶n̶t̶ Token Delivery Network. Like a CDN for AI model...
We've been explaining AI Gateway as a C̶o̶n̶t̶e̶n̶t̶ Token Delivery Network. Like a CDN for AI models. One great feature of CDNs is the ability to dynamically re-route or deny traffic without redeployment. When Fable was suddenly retired, we worried about production workloads depending on it. Even Fable aside, models get retired quite often as GPU capacity is heavily contested. Yet our data shows people still having happy production traffic of older model versions! We're solving this now with AI Gateway Rules. e.g.: you can now rewrite model "routes" on the fly! 𝚟𝚎𝚛𝚌𝚎𝚕 𝚊𝚒-𝚐𝚊𝚝𝚎𝚠𝚊𝚢 𝚛𝚞𝚕𝚎𝚜 𝚊𝚍𝚍 \ --𝚝𝚢𝚙𝚎 𝚛𝚎𝚠𝚛𝚒𝚝𝚎 \ --𝚜𝚘𝚞𝚛𝚌𝚎 𝚊𝚗𝚝𝚑𝚛𝚘𝚙𝚒𝚌/𝚌𝚕𝚊𝚞𝚍𝚎-𝚏𝚊𝚋𝚕𝚎-𝟻 \ --𝚍𝚎𝚜𝚝𝚒𝚗𝚊𝚝𝚒𝚘𝚗 𝚊𝚗𝚝𝚑𝚛𝚘𝚙𝚒𝚌/𝚌𝚕𝚊𝚞𝚍𝚎-𝚘𝚙𝚞𝚜-𝟻 This adds to the repertoire of capabilities and techniques AI Gateway brings to the table to recover lost tokens. If you drop tokens, you lose revenue and customers 💸 Kudos to @rtaneja_ @crowprose @shaper – we went from CLI design to production-grade capability very quickly! Vercel Developers @vercel_dev AI Gateway now supports routing rules. Migrate to new models by setting rules in the CLI, no code changes in your app or agent required. vercel.com/changelog/ai-g… 🔗 View Quoted Tweet 💬 16 🔄 6 ❤️ 77 👀 9687 📊 18 ⚡