HN 提问:最佳 AI 网关?

1 分•作者: petemilly•4 个月前
哪些 AI 网关效果好?我们目前直接在我们的 AI 代理(在 val.town 上)中使用 Anthropic 的路由器,但正在考虑添加 OpenRouter 或 Vercel AI Gateway,或者其他完全不同的方案。 我对网关知之甚少,只知道它们似乎是新的 VS Code 分支(即,每个人都在做)。我初步的研究表明,OpenRouter 拥有最多的模型/提供商,*但是* 会收取 5.5% 的即用即付平台费用(我们将推理成本转嫁给客户),*并且* 不支持提示缓存等功能。 我们主要使用 Cloudflare,几分钟前我了解到他们也有一个 AI 网关——但到目前为止,我找到的“2026 年最佳 LLM 网关”之类的文章都是由……拥有网关的公司发布的。
查看原文
What AI gateways work well? We currently use Anthropic&#x27;s router directly for our AI agent (on val.town) but are considering adding OpenRouter or the Vercel AI Gateway, or something else entirely.<p>I know little about gateways except that they seem to be the new VS Code forks (i.e. everyone is doing it). My cursory research tells me that OpenRouter has the most models&#x2F;providers, <i>but</i> charges a 5.5% pay-as-you-go platform fee (we pass-through inference costs to customers) <i>and</i> doesn&#x27;t support features like prompt caching.<p>We&#x27;re mostly a Cloudflare shop, and I learned minutes ago that they, too, have an AI gateway--but so far the &quot;Best LLM Gateway 2026&quot; type articles I&#x27;ve found are published by...companies with a gateway