2027 buyer's guide · AI gateways

Best Vercel AI Gateway alternative in 2027

Vercel's gateway is hard to beat on markup: it charges none. The alternatives win on deployment boundary, open-source control and the shape of the bill when your traffic is predictable.

Abstract illustration of a gateway routing requests between model providers
Illustration: gateway routing, budgets and provider fallback. Plugsky Editorial Team.

Vercel AI Gateway is a hosted proxy at ai-gateway.vercel.sh. It gives one key and one request log across providers, adds no markup to token prices, and works from any cloud, not only from a Vercel deployment. That combination is attractive enough that most teams should start by asking whether they need an alternative at all.

The reasons to leave are specific: a private or air-gapped boundary, an open-source gateway the team can fork, a bill that does not move with token volume, or enterprise controls that Vercel prices as add-ons. This guide compares six options on those grounds. Pricing was checked on 23 November 2026.

Vercel AI Gateway alternatives, checked 23 November 2026
OptionBest forPricing modelDeploymentNotable limit
PlugskyFlat spend and a private boundaryMonthly plans at $20, $60 and $120; enterprise quotePublic API, private VPC, on-premises, air-gapped39 public model IDs; not a 600-model catalogue
OpenRouterModel breadth and provider choiceProvider list price plus a 5.5% Standard or 8% Business fee on credit purchasesHostedFree models capped at 50 requests per day before any credit purchase; upstream retention varies
Cloudflare AI GatewayEdge caching and rate limitsCore features free; 5% fee on credits bought through Unified Billing; inference passed throughHosted on CloudflareLogs follow Workers Logs pricing and retention for newer gateways
LiteLLMAn open-source gateway the team operatesOpen source; self-hostedSelf-hostedYou run the proxy, upgrades and availability
Portkey / Prisma AIRS AI GatewayEnterprise gateway controlsQuote required; no public price list on the page checkedSelf-hostedProcurement cycle is longer than a credit-card signup
Vercel AI GatewayZero-markup access from any cloud$5 monthly credit on the free tier, then purchased credits at provider list priceHostedFree tier covers a subset of models; some controls carry per-request fees

What Vercel gets right

The pricing page is unusually clear. AI Gateway charges no markup and no platform fee on tokens. You pay the provider's list price, either from a $5 monthly free credit or from purchased credits. The free tier covers a subset of models and has lower rate limits, but the paid tier is still pass-through.

The product is also more than a proxy. Request logs record model, provider attempts, latency, token usage, status and cost. Budgets can be set by team, project, API key or team member, and requests are rejected with HTTP 402 after a budget is exceeded. Provider and model fallbacks are configuration, not code. The docs state that the gateway works from any server, cloud or local environment; you need a Vercel account for the key and billing, not a Vercel deployment.

The three bills you are comparing

There are three pricing shapes in this shortlist: pass-through with zero markup, pass-through with a fee on credits, and a flat monthly plan. They produce different totals at different volumes.

Take a month of 20 million input tokens and 4 million output tokens on GPT-6.2 Astra, listed by OpenAI at $8 per million input and $40 per million output. The inference is $160 for input plus $160 for output, or $320. Vercel charges that amount with no markup. OpenRouter's Standard plan adds a 5.5% fee when you buy credits, so funding the same $320 through credits costs about $337.60. Cloudflare's 5% Unified Billing fee produces about $336. Those are arithmetic examples from published rates, not quotes, and they ignore free credits and BYOK allowances.

A flat plan is a different bet. Plugsky's $120 plan is less than $320, but only if the models you need are among its 39 model IDs. If the workload depends on a specific frontier model outside the plan, the flat price is irrelevant. The comparison is model fit first, price second.

Boundary and control

Vercel, OpenRouter and Cloudflare are hosted services. Their gateways sit between your application and the model provider, which means the gateway itself is a data processor. Vercel offers zero data retention as a per-request or team-wide setting. OpenRouter offers data-policy routing on its Business and Enterprise plans, with upstream retention varying by provider. Cloudflare offers DLP scanning free on all plans, but logs for gateways created after 24 September 2026 live in Workers Logs and follow that product's pricing and retention.

LiteLLM is the opposite trade. It is an open-source gateway with an SDK and a proxy, supporting 100+ providers, virtual keys, budgets and per-request cost records. You can run it inside your own network. You also own the upgrades, the database and the pager.

Plugsky goes further on boundary: public API, private VPC, on-premises and air-gapped deployment by contract. That is the option to examine when the gateway cannot be a shared hosted service at all. The trade-off is a smaller catalogue and a commercial conversation rather than a self-serve signup.

Portkey, now presented on its pricing URL as Palo Alto Networks' Prisma AIRS AI Gateway, is aimed at enterprises that want gateway controls inside a broader security stack. The page checked for this guide did not publish a price list, so treat it as quote required.

Feature gaps that matter at scale

The first gap is BYOK semantics. Vercel allows bring-your-own-key on the paid tier, and by default falls back to Vercel's provider keys if your key fails. If you turn that fallback off, it charges $0.20 per 1,000 BYOK requests. A team that assumes BYOK means "the provider bills us directly, with no gateway fee" can be surprised by that line.

The second is budget scope. Vercel budgets cover spend billed through Vercel's provider keys; BYOK spend is metered separately and does not count toward those limits. If the requirement is a hard stop across all spend, including BYOK, the gateway has to enforce it at the key or provider level, not only in the dashboard.

The third is audit export. Request logs are useful in the UI, but procurement usually asks for a machine-readable export with a defined retention period. Ask each vendor where the logs live, how long they are kept, and what happens to them when the contract ends.

The fourth is regional routing. Vercel supports regional endpoints for a 5% fee. OpenRouter sells EU and US in-region routing on its Business plan. Cloudflare routes at its edge but does not present the same regional pinning model. If data residency is a hard requirement, the gateway's region controls matter as much as the model's.

  • Per-key budgets with a hard stop, not only an alert.
  • Audit export in a format your SIEM can ingest.
  • Written retention and deletion terms for prompts and outputs.
  • A documented fallback order and a way to disable it.
  • A cost report per application, not only per model.

When a competitor wins

Vercel wins when the team is already on Vercel, wants zero markup and values logs, budgets and fallbacks without operating a proxy. It also wins when the workload is mostly frontier models bought at list price, because a percentage fee on credits is worse than zero.

OpenRouter wins when breadth is the point. Its pricing page lists 600+ models and 80+ providers, with 25+ free models and a 50-request daily cap before any credit purchase. For a team comparing models weekly, that catalogue is the product.

Cloudflare wins when the application already sits behind Cloudflare and the requirement is caching, rate limiting and a simple gateway at the edge. Its core features are free on all plans, and the 5% credit fee only applies when you buy credits through Unified Billing.

LiteLLM wins when an engineering team wants an open-source gateway it can fork, self-host and instrument. Portkey wins inside a Palo Alto Networks security estate where the gateway is one control in a larger platform. Plugsky wins when the bill has to be flat and the deployment has to leave the public cloud, provided the model list fits.

How to test before switching

Run the same 20 requests through two gateways and compare the response bodies, the latency and the cost record. Then break something: revoke a provider key, exceed a budget and send a request to a model that is down. The gateway that fails cleanly is the one to keep.

  • Replay a week of production prompts and compare total cost, not cost per token.
  • Disable a key mid-run and confirm the application gets a clear error.
  • Export the audit log and check that it includes the key, model and cost.
  • Read the BYOK and fallback terms before assuming the provider bill is the only bill.

Verdict

Stay on Vercel AI Gateway if zero markup, request logs and budgets are enough and the workload can live on a hosted service. Move to OpenRouter for model breadth, Cloudflare for edge controls, LiteLLM for an open-source gateway you operate, or Portkey for an enterprise security stack.

Choose Plugsky when a flat monthly bill and a deployment boundary that can become private or air-gapped matter more than catalogue size. Test the failure path before you migrate; a gateway is only as good as its behaviour when a provider key dies.

Frequently asked questions

Does Vercel AI Gateway charge a markup?

No. Vercel's pricing page states that AI Gateway adds no markup and no platform fee on tokens; you pay the provider's list price from credits. Some optional capabilities, such as regional endpoints and zero data retention, carry separate per-request charges.

Can I use Vercel AI Gateway outside Vercel?

Yes. The gateway is a hosted API at ai-gateway.vercel.sh, and the docs say it can be called from any server, cloud or local environment. You need a Vercel account to create the key and manage billing, but not a Vercel deployment.

What is the cheapest alternative to Vercel AI Gateway?

It depends on volume and model fit. OpenRouter charges provider list price plus 5.5% on Standard credit purchases. Cloudflare's core gateway features are free and it adds 5% when you buy credits through Unified Billing. A flat plan can be cheaper at high, steady volume, but only if the models you need are included.

How do I compare gateways fairly?

Replay the same production prompt mix, including retries and failures. Compare completed tasks per dollar, audit export quality and what happens when a provider key is revoked. A zero-markup gateway can still be the more expensive choice if it cannot enforce the controls you need.

Related

Sources

  1. Vercel AI Gateway documentation · 23 Nov 2026
  2. Vercel AI Gateway pricing · 23 Nov 2026
  3. OpenRouter pricing · 23 Nov 2026
  4. Cloudflare AI Gateway pricing · 23 Nov 2026
  5. LiteLLM documentation · 23 Nov 2026
  6. Portkey pricing page, now Prisma AIRS AI Gateway · 23 Nov 2026