Netlify 集成 OpenRouter,一键切换 11 个模型
推荐指数 59.0 NO. 016 · 2026.08.14
发布2026/08/13Score131Comments57
为什么值得看
Netlify 与 OpenRouter 合作,其 AI Gateway 和 Agent Runners 现已支持任意 OpenRouter 模型,包括 Kimi K3、GLM 5.2、DeepSeek V4 等前沿开源编码模型。对 AI 工程师而言,这意味着在部署 AI 功能时无需再自建模型路由层,可直接按任务和预算动态选型。
编辑判断
Netlify 这一步实际上是把「模型即基础设施」推到了前端部署层。之前团队要在 Vercel、AWS 或自托管环境里搭 OpenRouter 的代理,现在直接内嵌到 CI/CD 管线里,Agent Runners 跑的是完整 coding agent 而非简化版,这意味着你可以让不同模型并行处理同一 prompt 然后投票选最优结果。
对创业团队来说,这降低了 A/B 测试模型成本的门槛,但也要注意:模型选择变多后,延迟和一致性监控的复杂度会指数级上升。建议先锁定 2-3 个主力模型做 fallback,而不是盲目追新模型。
社区反馈
意见分歧 50 条评论
核心争论:AI生成网站高度同质化,是模型缺陷还是提示词不足
相关内容
AI Gateway adds OpenRouter support for more AI model choice Netlify自动注入OPENROUTER_API_KEY和OPENROUTER_BASE_URL到Functions中,无需单独配置密钥和计费即可调用OpenRouter的完整模型目录。 More models, more choice: Comparing 11 different AI models Netlify与OpenRouter合作推出Agent Runners功能,可在同一提示词下对比11个不同AI模型的输出效果,实现一键切换模型而无需修改代码。 Open models are having a moment. We're all in. Netlify、OpenRouter与OpenCode三方合作,为开发者提供快速扩展的开源编码模型生态,同时保持Netlify平台内体验的一致简洁。
> Build a one-page site for a neighbourhood coffee shop: opening hours, the address, a short menu and a photo. Nothing on it changes unless I edit it myself. If that's the entire prompt, it's quite depressing how much alike these all look. I appreciate some of the details from the Opus 5 version, bu
Without more knowledge about the technical aspect, it could be a good thing that they're all so similar. If you tell humans to go from their kitchen to their bedroom, they all stand up and walk the same way. Nobody decides to crab walk. Maybe you'd have to cripple the model in some way to do that. O
This is an interesting point. But even then everyone has their own style. Some might walk with a bit of a swagger, some with a limp, some might have to get in a wheelchair to go over. Would model temperature be another knob to turn beyond a more creative prompt?