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
| What it is | A model gateway integrated with the Vercel ecosystem |
|---|---|
| API style | OpenAI-compatible Chat Completions endpoint at https://ai-gateway.vercel.sh/v1 |
| Features | Routing, provider failover, caching, observability, budgets and BYOK |
| Token billing | Provider list price with no markup or platform fee on tokens |
| Free tier | Monthly credit, subset of models and lower rate limits |
| Not a model provider | The upstream provider serves the request; AI Gateway routes it |
| Plugsky model | Managed API serving all public model IDs directly |
| Plugsky deployment | Cloud, 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
- List the gateway features you use: routing, fallbacks, caching, observability or BYOK.
- Confirm whether your application depends on Vercel-specific SDK integrations.
- Shortlist alternatives: self-hosted gateway, aggregator, managed platform.
- Test one workload on the candidate with identical prompts and tools.
- Compare cost, data path and maintainability at your real volume.
- 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.
| Option | Best for | Billing | Watch out |
|---|---|---|---|
| Plugsky | A managed multi-model API with flat plans and VPC/on-premises options | Flat monthly, free tier to $120/mo | Not a gateway; no cross-provider fallback with your own keys |
| OpenRouter | Catalogue breadth and automatic fallback across providers | Provider list price plus a 5.5% credit-purchase fee | Credit-purchase fee; provider-to-provider variance |
| LiteLLM | Self-hosted routing with your own provider keys | Provider bills plus your infrastructure | You run the proxy, database and upgrades |
| Portkey | A gateway with observability, guardrails and routing | Open-source gateway; managed free tier and paid plans | Another control plane; check the data path |
| Cloudflare AI Gateway | Edge caching, rate limiting and observability on Cloudflare | Core features free on all plans; 5% fee on Unified Billing credits | Best inside Cloudflare; not a model catalogue |
| Vercel AI Gateway | Vercel and AI SDK teams that want routing and failover | Provider list price, zero markup on tokens | Strongest 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.
| Your stack | First test | Why |
|---|---|---|
| Next.js on Vercel with the AI SDK | Vercel AI Gateway | Least integration work; routing and observability are managed |
| Multi-cloud or self-hosted platform team | LiteLLM | You keep provider keys and control the routing layer |
| Product team without platform staff | Plugsky | One endpoint, one bill and no proxy to operate |
| Cloudflare Workers application | Cloudflare AI Gateway | Caching and rate limiting sit next to the compute |
| Catalogue breadth above all | OpenRouter | Wide provider and model coverage with fallback |
| Guardrails and tracing as a product requirement | Portkey | Gateway 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:
| Criterion | Weight | What we looked for |
|---|---|---|
| Deployment and data path | 30% | Region choice, private deployment, who serves the request and where logs sit |
| Operational burden | 25% | Proxy, database, upgrades, on-call and the staff required |
| Model access | 20% | Catalogue depth, model quality for the task and fallback options |
| Billing predictability | 15% | Pass-through, markup, credits, minimums and idle cost |
| Migration effort | 10% | 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
| Consideration | Plugsky | Vercel AI Gateway | Self-hosted gateway |
|---|---|---|---|
| Role | Serves all public model IDs directly | Routes to upstream providers | Routes to providers you connect |
| Ecosystem fit | Framework-agnostic | Strongest on Vercel and the AI SDK | Any stack |
| Billing | Flat monthly self-serve plans | Provider list price, no token markup | Provider spend plus infrastructure |
| Model breadth | Curated multi-model catalogue | Many models via providers | Whatever you connect |
| Data path | Region choice and private deployment | Regional controls where the provider supports them | Your infrastructure |
| Operations | None | None for the gateway | You 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 pricingSources
Every competitor claim below was checked on the linked official page on 20 November 2026. Prices and free-tier terms can change.
- Vercel: AI Gateway documentation — routing, failover, caching, observability and BYOK. Checked 20 November 2026.
- Vercel: AI Gateway pricing — no markup or platform fee on tokens, free-tier credit and BYOK terms. Checked 20 November 2026.
- Vercel: regional inference — provider-region selection where supported. Checked 20 November 2026.
- LiteLLM: self-hosted AI Gateway — OpenAI-compatible proxy, virtual keys, budgets and fallbacks. Checked 20 November 2026.
- OpenRouter: FAQ — pass-through pricing and the credit-purchase fee. Checked 20 November 2026.
- Cloudflare: AI Gateway pricing — free core features and the Unified Billing credit fee. Checked 20 November 2026.
- Portkey: what is Portkey — open-source gateway, managed free tier and paid plans. Checked 20 November 2026.
- Plugsky docs — OpenAI-compatible API and endpoint reference. Checked 20 November 2026.
- Plugsky models — all public model IDs and context. Checked 20 November 2026.
- Plugsky status — live component health. Checked 20 November 2026.
Last checked 20 November 2026. Approved product facts live at /facts; Plugsky plan terms live at /pricing. Legal: Terms and SLA.