cd /news/ai-tools/ask-hn-best-ai-gateway · home topics ai-tools article
[ARTICLE · art-37993] src=news.ycombinator.com ↗ pub= topic=ai-tools verified=true sentiment=· neutral

Ask HN: Best AI Gateway?

A developer on Hacker News is seeking recommendations for an AI gateway to route requests for their AI agent, currently using Anthropic's router directly. They are evaluating OpenRouter, Vercel AI Gateway, and Cloudflare's AI Gateway, noting that OpenRouter charges a 5.5% platform fee and lacks prompt caching support.

read1 min views1 publishedJun 24, 2026

What AI gateways work well? We currently use Anthropic's router directly for our AI agent (on val.town) but are considering adding OpenRouter or the Vercel AI Gateway, or something else entirely.

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/providers, but charges a 5.5% pay-as-you-go platform fee (we pass-through inference costs to customers) and doesn't support features like prompt caching.

We're mostly a Cloudflare shop, and I learned minutes ago that they, too, have an AI gateway--but so far the "Best LLM Gateway 2026" type articles I've found are published by...companies with a gateway

Comments URL: [https://news.ycombinator.com/item?id=48661860](https://news.ycombinator.com/item?id=48661860)

Points: 1

── more in #ai-tools 4 stories · sorted by recency
── more on @anthropic 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
Live at https://your-agent.zahid.host
Get free account → Pricing
from €0/mo · no card required
LIVE [news/ask-hn-best-ai-gatew…] indexed:0 read:1min 2026-06-24 ·