AI Tool Compare

Tool profile

Vercel AI Gateway: cost, fit and limits

Vercel AI Gateway is a hosted LLM gateway from Vercel that routes requests to models from many providers through one API, with request logs, budgets, provider failover and bring-your-own-key support. It works from any cloud or language and doesn't require a Vercel deployment.

What to know first

Vercel AI Gateway is a hosted endpoint at ai-gateway.vercel.sh. You create a key in a Vercel account, point an OpenAI, Anthropic or AI SDK client at it and get routing across providers. Token prices carry no markup. Money comes from credits you buy and from optional add-ons that the pricing page itemizes, which is more transparency than most hosted rivals offer.

Vercel AI Gateway at a glance

MakerVercel, United States
Free planYes
Entry pricePay as you go at provider list price, no token markup
API accessYes
CategoryBest LLM Gateway Software in 2026, rank 4 of 11
Websitevercel.com/ai-gateway

Who Vercel AI Gateway is best for

Teams already shipping on Vercel

Deployments can authenticate with OIDC instead of a stored key, and the same dashboard shows spend, logs and budgets next to the app.

Buyers who hate surprise fees

Add-ons carry exact prices, such as $0.10 per 1,000 requests for team-wide zero data retention, so the bill can be modeled before launch.

Multi-modal builders

Docs list text, image, video, speech, transcription, realtime, embeddings and reranking, which saves a second gateway for non-chat workloads. That helps when one product mixes chat, search and speech.

Vercel AI Gateway plans and pricing

PlanPriceWhat it includes
Free tier$0 in monthly free creditsA subset of models only, with lower per-model rate limits than the paid tier. Credits start at the first request and stop applying once you buy credits.
Paid creditsProvider list price, no markupPurchased AI Gateway Credits with auto top-up. BYOK requires purchased credits and a positive balance. You also cover any payment processing fees.
Add-onsItemized per useCustom Reporting at $0.075 per 1,000 writes and $5 per 1,000 queries, trace drains at $0.05 per 1,000 traces, regional hosting at 5% of inference cost.
EnterpriseCustomInvoiced billing without payment processing fees and custom discounts on token spend for volume buyers.

Checked November 2026.

What Vercel AI Gateway does

Per-request routing log
Each request records status, provider, latency, token usage, cost and every routing attempt. That makes it possible to see why a fallback fired instead of guessing from an error rate.
Fallbacks and provider order
You can set a preferred provider order and model fallbacks, then read response metadata to verify which provider answered. Provider allowlists restrict failover to approved companies.
Budgets
Spend limits can apply to a team, project, API key or member. Past the limit, new requests are rejected with an HTTP 402, and the docs call these soft caps that may overshoot slightly.
Prompt caching
Setting caching to auto enables prompt caching across providers, so cached input tokens bill at the provider's reduced read rate. Full response caching is left to your application.
Provider headquarters filter
A setting lets you route only to providers whose parent company is headquartered in countries you choose, a rare control for procurement teams with jurisdiction rules.

How Vercel AI Gateway handles your data

Vercel's security documentation states that the gateway uses zero data retention by default and permanently deletes prompts and responses after requests complete. For stricter needs, a per-request flag routes only to providers with verified ZDR agreements, and a separate setting blocks providers from training on prompts. Team-wide ZDR costs $0.10 per 1,000 requests and needs Pro, Enterprise or purchased credits. Regional endpoints for the EU and US are in beta and add 5% of inference cost. Each provider's own terms apply to the models you call, and Vercel's AI Product Terms govern use.

Where Vercel AI Gateway falls short in practice

  • Budgets skip BYOK spend. Budget caps cover spend billed through Vercel's keys only. Provider-side limits are still needed for your own keys, even though a budget breach returns 402 on BYOK requests as well.
  • Add-ons stack up. Allowlists, ZDR, regional hosting, custom reporting and trace drains each carry a price. Each looks small, but a high-volume team that switches all of them on will see a different bill than the zero-markup headline.
  • No self-hosting. The gateway is a hosted API. The docs describe no self-hosted or in-VPC version, so teams that must keep the proxy inside their network need another product.

Works with

Alternatives to Vercel AI Gateway

Vercel AI Gateway: common questions

Does Vercel AI Gateway mark up token prices?

No. The pricing page states that there is no markup and no platform fee on tokens, including when you bring your own key. Revenue comes from add-ons such as regional hosting at 5% of inference cost and a $0.20 per 1,000 charge for BYOK without fallback.

Do I need to host my app on Vercel?

No. The docs call it a hosted API usable from any server, cloud or local environment. You need a Vercel account to create a key and manage billing, but not a project or deployment. Vercel deployments can use OIDC in place of a key.

What happens when a budget runs out?

New requests in the budget's scope are rejected with an HTTP 402 response, including BYOK requests. The docs describe budgets as soft caps, so a request in flight may push spend slightly beyond the limit. Budgets cover team, project, key or member.

Can the gateway route only to certain countries?

Yes, in two ways. A provider headquarters setting routes only to providers whose parent company sits in countries you choose, and regional endpoints for the EU or US control where the gateway receives requests. Regional hosting is in beta and costs 5% of inference cost.

Is there a free tier?

Yes. Every Vercel team gets free credits starting at the first request, but only for a subset of models and with lower rate limits. Buying credits moves the team to the paid tier, and the monthly free credit stops. BYOK needs purchased credits.

Sources