AI Gateway vs Vercel AI Gateway: same name, different jobs
Vercel AI Gateway is a hosted API for many models with no markup on tokens. AI Gateway by LayerX runs on your servers and puts your GPUs first.
The short answer
Vercel AI Gateway is a hosted API: you call ai-gateway.vercel.sh and reach many models with no markup on tokens, budgets per key or team member, and request logs. AI Gateway by LayerX runs on your servers, or LayerX hosts it for you, and is built for companies serving their own GPUs to many people. If you want hosted access to many models, pick Vercel. If you want your own GPUs first and prompts that never leave your control, look at AI Gateway.
Choose AI Gateway if
Recommended- You have GPUs and want them used before paid vendors.
- Requests should stay in your network for traffic your GPUs can serve.
- Each employee needs their own access: invited by email, own keys, token budgets and allowed models.
- Prompts must never be stored.
Choose Vercel AI Gateway if
- You don't run your own models.
- You want many models and modalities (image, video, speech, realtime) behind one key.
- You build with the AI SDK or need OpenAI Responses or Anthropic Messages formats.
- You want nothing to run.
At a glance
| AI Gateway | Vercel AI Gateway | |
|---|---|---|
| Where it runs | Your servers, or managed by LayerX | Vercel's hosted API |
| Models | Your vLLM and Ollama servers plus OpenAI-compatible vendors | Vercel's catalogue across many providers and modalities |
| API formats | OpenAI-compatible (chat completions, embeddings, models) | OpenAI Chat Completions, Responses, Anthropic Messages, AI SDK |
| Cost model | Commercial licence | No markup on tokens; some add-ons charged |
| Budgets | Daily and monthly token budgets per person; RPM per key | Per team, project, API key or team member (HTTP 402 when exceeded) |
| Caching | None | Automatic prompt caching |
| Logs | Usage and cost in the portal; prompts never stored | Request logs with provider attempts, tokens, cost |
| Your own GPUs | Used first, vendors as backup | Not its purpose |
Tokens you buy vs tokens you don't
Vercel's pitch on cost is that it adds nothing on top of provider prices. That's true, and it means your bill is the providers' bill. AI Gateway's pitch is different: if you own GPUs, traffic they serve costs no tokens at all, so the saving comes from moving requests off paid providers rather than from a lower fee. Which matters more depends on whether you own hardware. If you don't, Vercel's zero markup is hard to beat. If you do, track how much traffic your own servers could absorb.
Using both
They can work together: AI Gateway serves your own models and sends overflow to vendors, and an app that needs Vercel's wider catalogue can call Vercel directly. Keep in mind that two gateways means two places to manage keys and budgets.
Questions
Can I self-host Vercel AI Gateway?
No. It's a hosted API. AI Gateway by LayerX runs on your own servers, or LayerX hosts it.
Is AI Gateway related to Vercel AI Gateway?
No. They're separate products from different companies that share a common category name.
Which one is cheaper?
Vercel adds no markup on tokens. AI Gateway is licensed, with monthly plans from €400, and saves money when your own GPUs serve traffic you'd otherwise buy from a vendor.
Does AI Gateway support image or audio models?
No. It handles chat completions, embeddings and model listing.
Sources
We make AI Gateway, so weigh this page accordingly. Every statement about Vercel AI Gateway comes from the pages below, checked on 3 December 2026. They can change after that date.