Comparison · Evidence checked 20 November 2026

Best Vercel AI Gateway alternative in 2026

Vercel AI Gateway is a strong default when the product already lives on Vercel and uses the AI SDK. Outside that stack, the right alternative depends on whether you need a gateway, a model provider, or both. This comparison keeps the gateway as the baseline, adds five options, and states when each one wins.

Short answer. Keep Vercel AI Gateway if your app is on Vercel, you use the AI SDK, and you want routing, failover, caching and observability without running a proxy. Choose Plugsky when you want a managed multi-model API with flat plans and private deployment options. Choose LiteLLM or Portkey when you need a control plane over your own provider keys. Choose OpenRouter for catalogue breadth, or Cloudflare AI Gateway when your stack is already on Cloudflare.

Key facts

Vercel AI Gateway at a glance, and how Plugsky differs
What it isA model gateway integrated with the Vercel ecosystem
API styleOpenAI-compatible Chat Completions endpoint at https://ai-gateway.vercel.sh/v1
FeaturesRouting, provider failover, caching, observability, budgets and BYOK
Token billingProvider list price with no markup or platform fee on tokens
Free tierMonthly credit, subset of models and lower rate limits
Not a model providerThe upstream provider serves the request; AI Gateway routes it
Plugsky modelManaged API serving all public model IDs directly
Plugsky deploymentCloud, VPC, on-premises or air-gapped

TL;DR

  • The Gateway is strongest inside the Vercel ecosystem and AI SDK.
  • Alternatives for other stacks include self-hosted gateways, aggregators and managed APIs.
  • A managed API is simpler when you want models and billing handled together.
  • Flat monthly plans favour predictable cost; gateways favour provider optionality.
  • Both can coexist if your frontend is on Vercel and some workloads need residency.

How it works, step by step

  1. List the gateway features you use: routing, fallbacks, caching, observability or BYOK.
  2. Confirm whether your application depends on Vercel-specific SDK integrations.
  3. Shortlist alternatives: self-hosted gateway, aggregator, managed platform.
  4. Test one workload on the candidate with identical prompts and tools.
  5. Compare cost, data path and maintainability at your real volume.
  6. Decide whether the gateway stays for the frontend or is replaced entirely.

Try it yourself

The cost calculator lets you put your own token mix against Vercel’s pass-through rates and compare the same workload with a flat plan.

Open the Vercel AI Gateway API cost calculator →

What the Gateway does well

Vercel AI Gateway is a natural fit for teams already building on Vercel. It gives one OpenAI-compatible endpoint across many upstream models, integrates with the AI SDK, and adds routing, provider failover, caching and observability without a separate proxy deployment. Vercel’s documentation also describes per-request cost tracking and spend reporting, which is useful when several teams share one budget.

The commercial model is unusually clear for a gateway: Vercel’s pricing page states that it charges no markup and no platform fee on tokens, and that you pay the provider’s list price on a pay-as-you-go basis. The free tier includes a monthly credit, a subset of models and lower rate limits; BYOK and custom limits are paid-tier features.

It is still a routing layer rather than a model host. The upstream provider serves the request, their terms apply to the data, and usage is metered through the gateway. That distinction matters for residency: the gateway can choose a provider region where the provider supports it, but it cannot make an upstream provider offer a region it does not have.

When Vercel AI Gateway is the better choice

This is not a page that pretends the baseline is always wrong. Vercel AI Gateway wins in five situations:

  • The app is already on Vercel and the AI SDK. The integration is the shortest path from idea to working multi-model code.
  • You want routing without a proxy. Provider failover, ordered fallbacks, caching and request logs are managed for you.
  • You want pass-through token pricing. No markup on tokens, with a free credit to start and BYOK on paid tiers.
  • You need regional controls, not a private deployment. Regional inference is available where a provider supports it; regional hosting endpoints for the EU and US are in beta.
  • You do not need VPC, on-premises or air-gapped delivery. Those are not the Gateway’s model; they are contract-led deployments.

If two or more of those are false, the integration advantage shrinks and the decision becomes architectural.

Best Vercel AI Gateway alternatives

The right alternative depends on whether you need a gateway, a model provider or both. This is the shortlist to test, with the baseline included for comparison.

Six options: role, billing and the main trade-off
OptionBest forBillingWatch out
PlugskyA managed multi-model API with flat plans and VPC/on-premises optionsFlat monthly, free tier to $120/moNot a gateway; no cross-provider fallback with your own keys
OpenRouterCatalogue breadth and automatic fallback across providersProvider list price plus a 5.5% credit-purchase feeCredit-purchase fee; provider-to-provider variance
LiteLLMSelf-hosted routing with your own provider keysProvider bills plus your infrastructureYou run the proxy, database and upgrades
PortkeyA gateway with observability, guardrails and routingOpen-source gateway; managed free tier and paid plansAnother control plane; check the data path
Cloudflare AI GatewayEdge caching, rate limiting and observability on CloudflareCore features free on all plans; 5% fee on Unified Billing creditsBest inside Cloudflare; not a model catalogue
Vercel AI GatewayVercel and AI SDK teams that want routing and failoverProvider list price, zero markup on tokensStrongest inside Vercel; residency depends on provider support

Billing figures above are the published terms on the dates checked, not quotes. Fees and free-tier terms change; confirm them on the provider’s page before you build a budget.

When each alternative wins

  • Plugsky wins when you want one managed catalogue, a predictable flat bill and a private deployment path without operating a gateway.
  • OpenRouter wins when breadth is the requirement: many models, many providers and automatic fallback, and you accept a fee on credit purchases.
  • LiteLLM wins when your own provider accounts, cloud commitments or a self-hosted control point are hard requirements.
  • Portkey wins when you need gateway routing plus guardrails and observability in one managed control plane.
  • Cloudflare AI Gateway wins when your application already runs on Cloudflare and you want caching, rate limiting and logs at the edge.
  • Vercel AI Gateway wins when the app is on Vercel, the AI SDK is the integration path and you do not need private deployment.

Alternatives by stack

If your application does not live on Vercel, the integration advantage shrinks. Self-hosted gateways such as LiteLLM give full control over routing with your own provider keys. Aggregators such as OpenRouter prioritise catalogue breadth. Managed platforms such as Plugsky serve a curated catalogue of all public model IDs directly, with flat monthly self-serve plans, a free plan covering plugsky-micro and plugsky-lite, and deployment that can extend to VPC, on-premises or air-gapped.

Which option fits which stack
Your stackFirst testWhy
Next.js on Vercel with the AI SDKVercel AI GatewayLeast integration work; routing and observability are managed
Multi-cloud or self-hosted platform teamLiteLLMYou keep provider keys and control the routing layer
Product team without platform staffPlugskyOne endpoint, one bill and no proxy to operate
Cloudflare Workers applicationCloudflare AI GatewayCaching and rate limiting sit next to the compute
Catalogue breadth above allOpenRouterWide provider and model coverage with fallback
Guardrails and tracing as a product requirementPortkeyGateway plus observability and policy controls

The honest trade is ecosystem convenience versus control. The Gateway stays inside one vendor’s platform story; a managed platform or a self-hosted gateway keeps the serving layer independent of where the frontend is deployed.

How we evaluated this

We compared the options on five criteria, weighted for a production migration rather than a demo:

Evaluation criteria and editorial weights
CriterionWeightWhat we looked for
Deployment and data path30%Region choice, private deployment, who serves the request and where logs sit
Operational burden25%Proxy, database, upgrades, on-call and the staff required
Model access20%Catalogue depth, model quality for the task and fallback options
Billing predictability15%Pass-through, markup, credits, minimums and idle cost
Migration effort10%OpenAI compatibility, alias mapping and test surface

The weights are editorial, not a published standard. We did not run latency or throughput benchmarks, did not complete a migration, and did not review any provider’s security report. We read the official documentation and pricing pages on 20 November 2026 and treated “not published” as unknown rather than guessing.

Choosing without lock-in

Because every serious option speaks OpenAI-compatible chat, the request layer is portable. That means you can evaluate on substance: cost shape at your volume, data path, model coverage and the governance features you genuinely use. Current Plugsky plans are on the pricing page.

from openai import OpenAI

client = OpenAI(
    base_url="https://api.plugsky.com/v1",
    api_key="YOUR_PLUGSKY_KEY",
)

reply = client.chat.completions.create(
    model="plugsky-lite",
    messages=[{"role": "user", "content": "Draft a release note."}],
)
print(reply.choices[0].message.content)

Vercel’s OpenAI-compatible endpoint uses https://ai-gateway.vercel.sh/v1; Plugsky’s canonical host is above. The public Plugsky docs also accept https://plugsky.com/v1 as an alias. Keep the base URL in configuration so the choice stays reversible.

A pragmatic split exists too: keep the Gateway for Vercel-hosted product surfaces and route backend or regulated workloads to a managed endpoint with residency options. One internal interface and an environment variable make that arrangement cheap to maintain. The Vercel AI SDK integration guide covers the client side.

Honest comparison

Platform architecture, billing and operations compared
ConsiderationPlugskyVercel AI GatewaySelf-hosted gateway
RoleServes all public model IDs directlyRoutes to upstream providersRoutes to providers you connect
Ecosystem fitFramework-agnosticStrongest on Vercel and the AI SDKAny stack
BillingFlat monthly self-serve plansProvider list price, no token markupProvider spend plus infrastructure
Model breadthCurated multi-model catalogueMany models via providersWhatever you connect
Data pathRegion choice and private deploymentRegional controls where the provider supports themYour infrastructure
OperationsNoneNone for the gatewayYou run the gateway

What we did not verify

  • We did not benchmark latency, throughput or model quality on any option. The comparison is architectural and commercial, not a performance test.
  • We did not complete a migration from Vercel AI Gateway. The code path is documented, not run end to end here.
  • We did not review Vercel’s security reports, data-processing terms or subprocessor list. Confirm the data path for your region and plan.
  • We did not verify competitor prices beyond the published figures cited; credit fees, free tiers and rate limits change.
  • We did not test Cloudflare, Portkey or LiteLLM in a production deployment. Their entries describe documented capabilities and trade-offs.

Frequently asked questions

What is the best Vercel AI Gateway alternative in 2026?

For managed models with flat pricing and residency options, Plugsky. For self-hosted routing with your own keys, LiteLLM. For catalogue breadth, OpenRouter. For a Cloudflare-native control plane, Cloudflare AI Gateway. For a gateway with guardrails and observability, Portkey.

Can I use Plugsky with the Vercel AI SDK?

Yes. The AI SDK accepts custom base URLs and OpenAI-compatible providers, so you can point it at Plugsky and keep your existing application structure. Test stream formats, tool calls and error handling before cutover.

Does Plugsky replace gateway features like fallbacks?

No. Fallbacks, caching policies and cross-provider observability are gateway features. Keep a gateway layer if you depend on them, or accept that Plugsky serves one catalogue and you choose a model per request.

Is migration hard?

For OpenAI-compatible clients, it is a base URL and model-name change followed by re-testing tools, JSON mode and streaming behaviour. The hard part is usually alias mapping and evaluation, not the HTTP call.

Which is cheaper?

The Gateway passes through provider list pricing with no markup on tokens, while Plugsky self-serve plans are flat monthly. Compare both at your real volume, including retries and idle capacity, rather than on headline rates.

Can I keep my Vercel deployment and use Plugsky?

Yes. Where the frontend runs is independent of which model endpoint the backend calls. Many teams deploy on Vercel and call a managed API from a server route or worker.

What about data residency?

Plugsky offers region choice plus VPC, on-premises and air-gapped deployment. Vercel offers regional inference where the provider supports it and regional hosting endpoints in beta. In both cases, verify the full path: provider, support access, logs, backups and subprocessors.

Does Vercel AI Gateway charge a markup?

Vercel's pricing page states no markup and no platform fee on tokens; you pay the provider's list price. The free tier includes a monthly credit, a subset of models and lower rate limits. Verify current terms before committing.

When is Vercel AI Gateway the better choice?

When the app already runs on Vercel and the AI SDK, you want routing, failover, caching and observability without running a proxy, and you do not need VPC, on-premises or air-gapped deployment. The integration advantage shrinks outside that stack.

Related pages

Compare on your own workload

Bring one prompt set and one tool schema. We will map the data path, the billing shape and the migration surface.

Start free See pricing

Sources

Every competitor claim below was checked on the linked official page on 20 November 2026. Prices and free-tier terms can change.

Last checked 20 November 2026. Approved product facts live at /facts; Plugsky plan terms live at /pricing. Legal: Terms and SLA.