Head to head

Vercel AI Gateway vs OpenRouter: fees, BYOK and which to use

Vercel AI Gateway adds no fee on tokens. OpenRouter charges 5.5% on credits. We compare fees on real volumes, BYOK rules, privacy and when each fits.

Both are hosted gateways: one API key, many models, no servers to run. The main difference is how they charge. OpenRouter adds a 5.5% fee when you buy credits. Vercel AI Gateway charges provider list prices with no markup and no platform fee, including on your own keys. OpenRouter has the bigger catalogue and more privacy controls; Vercel fits best if you already build on Vercel.

Pricing checked on 2 December 2026 against Vercel's docs and OpenRouter's FAQ.

At a glance

Vercel AI GatewayOpenRouter
Fee on tokensNoneNone on tokens; 5.5% on credit purchases ($0.80 minimum)
Bring your own keysPaid tier; no fee while fallback to Vercel keys is on, $0.20 per 1,000 requests if you turn it offFree up to $25,000 of usage a month, then 5%
Add-on surchargesSome, e.g. regional hosting (5% of market rate)Not applicable
ModelsVercel's catalogue400+ models
Privacy controlsRegion pinning and allowlists as add-onsOpt-in logging, zero-data-retention routing, EU endpoint
Self-hostingNoNo
Owned byVercelStripe, since 10 November 2026

The fee maths

Here's what each would charge on top of model prices at three monthly volumes, if you buy model access through the gateway rather than bringing your own keys:

Monthly model spendVercel AI GatewayOpenRouter (credits)
$1,000$0$55
$10,000$0$550
$50,000$0$2,750

Now the same volumes on your own provider keys:

Monthly usage on your own keysVercel AI GatewayOpenRouter
$1,000$0 (fallback on)$0
$10,000$0 (fallback on)$0
$50,000$0 (fallback on)$1,250 (5% of the $25,000 above the allowance)

Two details change the picture:

  • Vercel's BYOK fee depends on one setting. With "fallback to Vercel keys" on, which is the default, failed BYOK requests can retry on Vercel's own keys and there's no BYOK fee. If you turn fallback off, Vercel charges $0.20 per 1,000 BYOK requests. A million requests a month would cost $200.
  • Vercel's add-ons apply to BYOK too. Team-wide provider and model allowlists, region pinning and regional hosting carry surcharges, charged to your Vercel credits.

If you buy tokens through the gateway, Vercel is cheaper. For teams on their own keys below $25,000 a month, both are effectively free.

Privacy and data handling

OpenRouter has the more detailed privacy controls. It doesn't log prompts unless you opt in, labels each endpoint as zero data retention, safety retention, or retention and training, and lets you enforce zero data retention only. On its Business plan, the eu.openrouter.ai endpoint decrypts and routes requests in Europe (OpenRouter FAQ). We go through the settings in Is OpenRouter safe?

Vercel offers region pinning, regional hosting and provider allowlists as paid add-ons. Check Vercel's security documentation for its retention policy before sending regulated data.

With both, requests pass through a third party before reaching the model provider.

Budgets and controls

Vercel AI Gateway has budgets, but they exclude BYOK spend, so Vercel recommends also setting spending limits with each provider. OpenRouter lets you put a credit limit on each API key, optionally reset daily (OpenRouter docs).

Neither is designed to give hundreds of employees their own keys, budgets and model lists. That's where a gateway you run yourself comes in.

Which one should you pick?

  • Pick Vercel AI Gateway if you deploy on Vercel or use the AI SDK, and you want hosted routing without a percentage fee.
  • Pick OpenRouter if you want the largest catalogue, fine-grained data retention controls, or the EU endpoint on the Business plan.
  • Pick neither if prompts must stay inside your network, or you want your own GPUs in the mix.

When a hosted gateway isn't enough

Both are hosted. If you run your own models, or need every person in the company to have their own key and budget, look at a gateway on your own servers. Our self-hosted OpenRouter alternatives guide covers the options.

AI Gateway by LayerX runs on your servers, or we host it for you. It sends requests to your vLLM or Ollama servers first and moves to vendors when needed, and OpenRouter can be one of those vendors. Each person gets their own keys, token budgets and allowed models, and prompts are never stored. It supports OpenAI-compatible providers only, with Anthropic and Gemini reached through OpenRouter.

Questions

Is Vercel AI Gateway free?

It charges no markup and no platform fee on tokens, so you pay provider list prices. Some add-ons carry surcharges, and BYOK with fallback turned off costs $0.20 per 1,000 requests.

Is Vercel AI Gateway cheaper than OpenRouter?

Usually, if you buy model access through the gateway: OpenRouter adds 5.5% on credit purchases and Vercel adds nothing. On your own keys below $25,000 a month, both charge nothing.

Can I self-host Vercel AI Gateway or OpenRouter?

No. Both are hosted services. For a self-hosted gateway, look at LiteLLM, Bifrost or AI Gateway.

Can I use both?

Yes. You could use Vercel for production traffic and OpenRouter to test models outside Vercel's catalogue.

More posts

Keep reading.

See how AI Gateway fits your setup.

Tell us what you run today and how many people need access. We'll get back to you to learn more about your setup.

See how AI Gateway fits your setup.

What do you run today?