If your app does not run on Vercel, you can still use Vercel AI Gateway, and that is the first thing most “alternatives” lists leave out. This post gives you what they skip: a fee table built from eleven Vercel documentation pages read on 28 November 2026, a count of the live 522-entry model catalog, a calculator that turns Vercel’s, OpenRouter’s and Cloudflare’s per-request and per-purchase fees into dollars on your numbers, and a decision picker. We publish this post and we sell a competing gateway, so the section on where Vercel is the better choice comes before ours.
Do you need to be on Vercel to use Vercel AI Gateway?
No. The Vercel AI Gateway overview describes it as a hosted API at https://ai-gateway.vercel.sh and says your application does not need to run on Vercel. You call it from any server, cloud or local machine with an AI Gateway API key. The FAQ is blunter: nothing about AI Gateway requires deploying to Vercel, and the key works in local development, CI and production on other cloud providers.
So “outside the Vercel stack” does not rule Vercel out. It changes the question. On Vercel, a deployment can authenticate with an OIDC token and you manage no key at all. Elsewhere you manage a key like any other secret, and you carry three costs that a Vercel-hosted team does not notice:
- A Vercel account and team as your identity. The API keys page says a key’s spend is attributed to your team or to the member who made it, and that when a member leaves the team, Vercel deactivates the keys they created. If nobody on your side lives in the Vercel dashboard, that is a person-shaped dependency.
- A payment method before the free credits work. The getting-started page says to use free AI Gateway Credits you add a valid payment method to your team, and the FAQ lists a
403withcustomer_verification_requiredfor the same reason. - A second billing relationship. You pay Vercel for credits, and with BYOK you also pay the model provider directly.
None of that is a defect. It is how a platform company runs a gateway. It is also the list of things to compare when you look at alternatives. The Vercel 2-line switch is real, as the code below shows, and so is the 2-line switch away from it.
from openai import OpenAI
import os
# Vercel AI Gateway: same SDK, two values change.
client = OpenAI(
base_url="https://ai-gateway.vercel.sh/v1",
api_key=os.environ["AI_GATEWAY_API_KEY"],
)
# Model ids are creator/model slugs, for example "openai/gpt-6-astra" (the id Vercel's own docs use).
reply = client.chat.completions.create(
model="creator/model-name", # copy a real id from GET /v1/models
max_tokens=100,
messages=[{"role": "user", "content": "Say hello in five words."}],
)
print(reply.usage)If you have not used a gateway before, the plain-language explainer on what an LLM gateway is covers the idea, and the guide to the OpenAI API and its alternatives covers the base-URL pattern in detail.
What does Vercel AI Gateway charge, as published on 28 November 2026?
We read the pricing, rate-limit, FAQ, getting-started, BYOK and budgets pages and wrote down every term that changes what you pay or what you can do. The table gives the page for each row. Where Vercel does not print a number, the cell says so, because a number we cannot source is a number we do not print.
| Term | What Vercel’s docs say | Page |
|---|---|---|
| Markup on tokens | None: “no markup and no platform fee on tokens”; you pay the provider list price | Pricing |
| Free tier | A monthly included credit, a subset of models, lower per-model rate limits; the limits are not printed | Pricing, Rate limits |
| Using free credits | A valid payment method must be on the team | Getting started |
| Purchased credits | Expire one year after purchase | FAQ |
| Payment processing | “You’re responsible for any payment processing fees”; the rate is not stated | Pricing |
| BYOK | Paid tier only; needs purchased credits and a positive balance; no markup | BYOK |
| BYOK with fallback to Vercel keys off | $0.20 per 1,000 requests | Pricing |
| Regional endpoints (EU or US, beta) | 5 percent of inference cost, Pro and Enterprise | Pricing |
| Team-wide ZDR routing | $0.10 per 1,000 requests; per-request ZDR has no extra cost | Pricing |
| Team-wide provider allowlist | $0.10 per 1,000 billed requests, Pro and Enterprise | Pricing |
| Custom Reporting | $0.075 per 1,000 tag, user or entity writes; $5 per 1,000 queries | Pricing |
| Trace drains | $0.05 per 1,000 traces plus $0.50 per GB of egress | Pricing |
| Budgets | Team, project, key or user scope; rejected with HTTP 402 when exceeded; BYOK token spend is not counted | Budgets |
Read the table the way an auditor would. The headline claim, no markup on tokens, holds in the sense that matters: Vercel does not add a percentage to the model’s list price. But a gateway can earn money in other places, and Vercel’s pricing page names them. Two of them scale with request count rather than token spend: the BYOK-without-fallback fee and the team-wide ZDR fee. That matters more than it looks, as the next section shows.
The same discipline applies to us. Our fee terms are on the pricing page and in the billing documentation. The comparison post on what LLM gateways add on top of token prices lists the pattern for several vendors, and the prepaid credits guide explains what to check before you add money anywhere, including expiry terms.
What do the add-on fees cost on your traffic?
Percent fees follow your token spend. Per-request fees follow your request count. A chatbot sending long prompts has few requests for the money, so a per-request fee is small next to the token bill. An agent making thousands of tiny calls has a low cost per request, so the same per-request fee can be a large share of the bill.
Worked example. You spend $400 a month on tokens across 200,000 requests, an average of $0.002 a request. Using only the published fee terms:
- Vercel, BYOK with fallback off: 200,000 / 1,000 x $0.20 = $40. That is 10 percent of the token spend.
- Vercel, team-wide ZDR routing: 200,000 / 1,000 x $0.10 = $20.
- Vercel, regional endpoint: 5 percent of $400 = $20.
- OpenRouter, one $400 credit purchase: 5.5 percent = $22, above the $0.80 minimum (OpenRouter FAQ, read 28 November 2026).
- Cloudflare, Unified Billing: 5 percent on credits bought, so $20 on $400 (Cloudflare pricing, page dated 2 November 2026).
Gateway-side fees on $400 of tokens and 200,000 requests (28 November 2026)
- Vercel: BYOK, fallback off$40$0.20 per 1,000 requests
- OpenRouter: one credit purchase$225.5% with a $0.80 minimum
- Vercel: regional endpoint$205% of inference cost
- Cloudflare: Unified Billing$205% on credits bought
- Vercel: team-wide ZDR routing$20$0.10 per 1,000 requests
- One AI API Key: top-up fee$0none stated on the pricing page
Run it with your own numbers. Everything below uses the same published rules and runs in your browser.
Gateway fee check
- Average cost per request
- $0.0020
- Vercel: BYOK with fallback off
- $40.00
- Vercel: team-wide ZDR routing
- $20.00
- Vercel: regional endpoint (5%)
- $20.00
- OpenRouter: credit purchase fee
- $22.00
- Cloudflare: Unified Billing (5%)
- $20.00
- Fee as a share of spend, Vercel BYOK fallback off
- 10.0%
Fee rules as published on 28 November 2026. Vercel's payment processing fees, volume discounts and free-tier credit are not in this check because the pages do not print a rate. Optional add-ons only: a plain Vercel credit purchase with no add-ons has no gateway fee on tokens.
If the “share of spend” row surprises you, that is the point of the exercise. Before you let any gateway into an agent loop, price the request count. The post on the runaway token bill shows how fast a loop multiplies requests, and the cost-control documentation lists the caps that keep it bounded. For turning token counts into dollars, the cost calculator does the model-price half.
What is in Vercel’s model catalog?
Vercel publishes its catalog at GET https://ai-gateway.vercel.sh/v1/models, and unlike most gateways it answers without a key. That makes it checkable. On 28 November 2026 the endpoint returned 522 entries from 56 owners. Most are not chat models: the catalog also covers image, video, speech, transcription, embeddings, reranking and realtime.
Vercel AI Gateway catalog by type, 522 entries (28 November 2026)
- Language models322
- Image44
- Video37
- Embedding28
- Evaluation27
- Speech25
- Transcription18
- Realtime11
- Reranking9
- Extraction1
Among the 322 language entries, from 40 owners, we counted 106 with the open-weights tag, 178 with a context window of 1,000,000 tokens or more and 304 with the tool-use tag. That is a broad catalog, and the breadth is Vercel’s clearest advantage over a small gateway like ours. If your product mixes a text model with image generation, speech and embeddings behind one key, check that the catalog covers all of it before you read further.
We also searched the id, name and description of every entry for “uncensored”, “abliterated” and “heretic”. The result was zero. That fits the product: a platform gateway that routes to first-party and large-provider endpoints has little reason to list community builds with refusals removed. It is also why this post exists for one reader in particular: if you need those models, the gateway has to be one that lists them. Our own list is on the uncensored API page, and the guide to what uncensored and abliterated mean explains how to read a model card instead of trusting a label.
# Count the public catalog yourself (no key needed on Vercel's /v1/models, read 28 November 2026)
curl -s https://ai-gateway.vercel.sh/v1/models | jq '.data | length'
curl -s https://ai-gateway.vercel.sh/v1/models | jq '[.data[] | select(.type=="language")] | length'
curl -s https://ai-gateway.vercel.sh/v1/models | jq '[.data[] | select((.id + .name + .description) | test("uncensored|abliterated|heretic"; "i"))] | length'One caution about counts, ours included. A catalog count says what a gateway lists, not what answers. The only honest test is to call the model and check the reply, which is what the guide to verifying that an API serves the model it names walks through. For ours, the status page probes each listed model, and the rankings show measured usage by model.
How does a request travel through Vercel’s gateway?
Vercel’s docs describe the path in enough detail to draw it. The key or OIDC token is checked, every budget in scope is checked before the request goes out, routing picks a provider with fallbacks, the provider answers, and the gateway records metadata. The diagram uses only steps the docs state.
One request through Vercel AI Gateway
Two details in that path deserve more attention than they usually get. First, the budget check happens before the request, and it is a real hard stop: the docs say AI Gateway rejects new requests with HTTP 402 once a budget applies and is exceeded. For a team running agents, a hard stop at four scopes (team, project, key, user) is a serious feature, and we cover why that matters in the six caps against a runaway bill. Second, BYOK spend is not counted in those budgets, so the control that protects you most does not cover the traffic on your own provider keys. Vercel says so itself and tells you to set provider-side limits as well.
Where Vercel AI Gateway is the right call
We would not move off Vercel AI Gateway in these cases, and you should be suspicious of any alternatives post, ours included, that does not say it.
- You deploy on Vercel. OIDC means no key to store or rotate, and the project-level budget and logs fit how the team already works.
- You need teams and governance. Four budget scopes, a team-wide provider and model allowlist, and per-request ZDR and prompt-training controls. We have none of the team features, and the data questions post shows how to ask any vendor what it covers.
- You want your own provider contracts. BYOK lets you use existing credits and agreements with no markup, with the fee and balance rules in the table above.
- You need breadth beyond text. The catalog above includes video, image, speech and embeddings, with the same key.
- You want observability in your own tool. Request logs list every routing attempt, and trace drains forward OpenTelemetry traces to your own backend for a price.
- You are large enough to negotiate. The pricing page lists volume discounts and invoice billing for Enterprise.
If three or more of those describe you, stay, and use the calculator only to avoid the per-request add-ons. Everything else on this page is for the other reader.
When does an alternative make more sense?
An alternative makes sense when the cost of entry or the catalog is the problem. The friction points we found, all sourced above:
- The card comes first. Vercel wants a payment method on the team before free credits work. A student, a hobbyist, or a company that wants to evaluate before procurement may not have that ready.
- The free tier hides its numbers. The rate-limits page says it “describes behavior rather than fixed numbers” and sends you to support to confirm a limit. A free lane with a printed cap is easier to plan around. Ours prints it: 48 free ids share 100 requests and 3,000,000 tokens a day, from imported site config, so the page cannot drift.
- Credits expire. One year after purchase, per the FAQ. OpenRouter’s FAQ says it reserves the right to expire unused credits after one year as well, so this is a pattern, not a Vercel quirk, and it belongs in your top-up size.
- Per-request fees. The two per-request add-ons earn their place for compliance teams and can sting agents.
- Models not on the list. No uncensored builds, as counted above.
- The identity is a team. Keys die with the member who created them unless attributed to the team.
Anything on that list that bites is a reason to look sideways, not a reason to distrust Vercel.
Which alternatives work outside the Vercel stack?
Five routes cover most readers. We checked each against its own page on 28 November 2026, and the table says where each one wins as well as where it costs you.
| Route | What it is | How you pay | Watch for | Source |
|---|---|---|---|---|
| Vercel AI Gateway | Hosted gateway, any cloud, OpenAI, Anthropic and Responses formats | Credits at provider list price, add-ons extra | Payment method for free credits; credits expire in one year | Vercel pricing |
| OpenRouter | Hosted router with a large catalog | 5.5 percent (minimum $0.80) on credit purchases, no inference markup | Credits may expire after one year; 5 percent BYOK fee above an allowance | OpenRouter FAQ |
| Cloudflare AI Gateway | Gateway with dashboard analytics, caching and rate limiting as core features | Core features free; 5 percent on Unified Billing credits | Credits can only be bought with a credit card | Cloudflare pricing |
| LiteLLM, self-hosted | Open-source server with one OpenAI-style endpoint for 100+ providers | Your servers and your time | You patch it yourself; release v1.107.0 was compromised on 21 October 2026 | LiteLLM docs, incident |
| One AI API Key | Hosted gateway, OpenAI and Anthropic formats, free lane, uncensored list | $10 sign-up credit, free ids at $0 balance, paid models by email | No BYOK, teams or SSO; paid models set up by hand | Pricing, models |
A few notes the table cannot hold. OpenRouter is the closest hosted peer by design and the better pick if you want breadth and a mature community; our OpenRouter alternatives post and side-by-side page are dated and sourced, and the news that OpenRouter is joining Stripe is worth a read before you pick a long-term route. Cloudflare lists analytics, caching and rate limiting as its free core features, and the sibling post on Cloudflare AI Gateway alternatives goes through what it does and does not do. LiteLLM is a strong choice if you have an operations team that wants control, and the LiteLLM alternatives post puts the supply-chain checks and an hours calculator next to the self-host option. For a wider field, the nine-gateway comparison uses stated criteria rather than a ranking by feel.
How do Vercel AI Gateway and One AI API Key compare, point by point?
We publish this post and we run One AI API Key, so treat the right-hand column as a vendor’s own account and check it with the free tests in the next section.
| Question | Vercel AI Gateway | One AI API Key |
|---|---|---|
| Account needed | Vercel account and team | Google sign-in only |
| Card before free use | Valid payment method on the team | No card field |
| Free use | Monthly credit, subset of models, per-model limits not printed | 48 free ids share 100 requests and 3,000,000 tokens a day; free ids work at a $0 balance |
| Sign-up credit for priced models | Monthly free credit, then purchased credits | $10 sign-up credit |
| Buying credit | Dashboard, payment methods, auto top-up | Paid models and credit added by hand by email; checkout is not open yet |
| Formats | OpenAI Chat Completions, Responses, Anthropic Messages | OpenAI and Anthropic compatible, see Anthropic Messages docs |
| Bring your own key | Yes, paid tier | No |
| Budgets and limits | Four scopes with HTTP 402 | Per-key spend limit, expiry, model allowlist, requests per minute |
| Fallback | Provider order and model fallbacks | Retries, then a similar model; up to three ids in X-Fallback-Models |
| Uncensored models | None found in the catalog scan | 41 entries listed on the uncensored page |
| Published status | Per-model uptime and status views | Status page, rankings, transparency page |
| Prompts | Not retained after the request completes, per Vercel | Not stored by default; counts kept; the model company receives the request |
Two rows are worth a sentence each. On fallback, the mechanics differ, but the idea is the same: the call should survive a failing upstream. Vercel configures it through model fallbacks in the request options. We retry the named model up to twice, then fallback rules, presets and automatic routing can move the request to a similar model; the headers reference and the failover rules give the detail, and only the attempt that answers is billed. On budgets, we offer less. A per-key spend limit and expiry stop a runaway key, and the one key per project guide shows the pattern, but there is no team-level cap.
On privacy, the right posture is the same for both: a gateway is a third party. The privacy post and the transparency page say what we can and cannot see, and the privacy policy holds the terms. Do not send secrets or customer data to any provider you have not read the terms of.
What changes when you switch?
Less than you would think, and more than the headline suggests. The two lines that change are the base URL and the key. The things that change quietly are model ids and gateway-specific request options.
from openai import OpenAI
import os
# One AI API Key: same SDK, the same two values change.
client = OpenAI(base_url="https://api.oneaiapikey.com/v1", api_key=os.environ["ONEAIAPIKEY_API_KEY"])
reply = client.chat.completions.create(
model="z-ai-glm-5.3:free",
max_tokens=100,
messages=[{"role": "user", "content": "Say hello in five words."}],
extra_headers={"X-Fallback-Models": "deepseek-v4-flash:free,glm-4.7-flash:free"},
)
print(reply.usage)Model ids first. Vercel uses creator/model slugs, so the model is creator/model-name. On our side a free id ends in :free, and the free models list and the model catalog show every id. Keep a small alias map in config so a model change is a one-line edit, as the exit-plan post shows.
Then request options. Vercel passes routing options in providerOptions.gateway; ours takes fallback ids in X-Fallback-Models. Anything that you set through those fields needs a re-write, so grep your code for them. The wider question of what “compatible” means when you switch is the subject of the compatibility test matrix, and the OpenAI versus Anthropic format guide explains which client formats an endpoint speaks. If you came to Vercel from a self-hosted proxy, the migration guide from OpenRouter has the same base-URL, key and model-id steps.
Finally, tools and streaming. Both gateways forward tool calls and streams for models that support them; the edge cases are in model support, not the gateway, so run your own tool-calling and streaming call against the exact model id before you rely on it. Our tool-calling and streaming pages list what we pass through.
Which route fits you?
Which of these describes you?
My app deploys on Vercel
My stack is elsewhere and I want frontier models at list price
I want to try a gateway without a card
I need bring-your-own-key, teams or SSO
I need uncensored or abliterated models
I want one key for many models across a small team
How do you test any gateway before you trust it?
We cannot ask you to trust us, so run the same free checks on Vercel, on us and on anyone else. Vercel’s public catalog needs no key, so the first step is free there. Everything after that needs a key, and on Vercel using free credits needs the payment method already described.
- Count the catalog. The
/modelscall. Ours needs a key; Vercel’s answers without one. - Make one call with a tiny prompt. Read the
modelfield in the reply and theusageobject. - Compare usage to your own count. The billing audit guide shows how to reconcile one request.
- Check the model. The six checks for a real model cost nothing.
- Trip the limit on purpose. Use a free id until you get a 429, then read the headers, as the 429 guide explains. Vercel returns a
429with an optionalretry-afterheader; ours is documented in the rate-limit reference. - Look at the record. Find the request in the usage log. Ours is at usage; it shows model, token counts and charge, not your prompt.
- Send one message to support. Time the reply. A gateway that cannot answer a pre-sale question will not answer an outage question.
- Read the status page. Ours probes each listed model; Vercel shows per-model uptime and status views built from live traffic, as its uptime docs describe.
Here is a probe script that runs steps 1 and 2 against any OpenAI-compatible base URL. It uses only the Python standard library, so there is nothing to install and no package to audit, which is the lesson of the LiteLLM supply-chain incident. It prints the entry count, whether your model is listed, the model field in the reply and the usage object.
import json, os, sys, time, urllib.request
# usage: python -I probe.py BASE_URL KEY_ENV_VAR [MODEL_ID]
base = sys.argv[1].rstrip("/")
key = os.environ.get(sys.argv[2], "") if len(sys.argv) > 2 else ""
model = sys.argv[3] if len(sys.argv) > 3 else ""
headers = {"Content-Type": "application/json", "User-Agent": "gateway-probe/1.0"}
if key:
headers["Authorization"] = "Bearer " + key
def call(path, body=None):
data = json.dumps(body).encode() if body else None
req = urllib.request.Request(base + path, data=data, headers=headers)
t0 = time.time()
try:
with urllib.request.urlopen(req, timeout=60) as r:
return r.status, json.load(r), time.time() - t0
except urllib.error.HTTPError as e:
return e.code, e.read().decode()[:300], time.time() - t0
status, data, secs = call("/models")
print("GET /models:", status, round(secs, 2), "s")
if status == 200:
ids = [m["id"] for m in data["data"]]
print(" entries:", len(ids), "| first three:", ids[:3])
if model:
print(" model listed:", model in ids)
if model and key:
body = {"model": model, "max_tokens": 20,
"messages": [{"role": "user", "content": "Reply with the single word: pong"}]}
status, data, secs = call("/chat/completions", body)
print("POST /chat/completions:", status, round(secs, 2), "s")
if status == 200:
print(" model field in reply:", data.get("model"))
print(" usage:", data.get("usage"))
else:
print(" error body:", data)Run it like this: python -I probe.py https://ai-gateway.vercel.sh/v1 AI_GATEWAY_API_KEY MODEL_ID for Vercel, and python -I probe.py {OPENAI_BASE} {ENV_KEY} z-ai-glm-5.3:free for ours. Use a cheap non-Claude id for tests and keep max_tokens small. The free-protocol post, how to test an LLM gateway for free, adds streaming, tool-call and latency checks.
A checklist before you choose
Eight checks before a non-Vercel stack picks a gateway
0 of 8 checks passed
Not ready
Pick one gateway and run the probe script before you move any traffic.
What would we do?
If our app ran on Vercel, we would use Vercel AI Gateway and not think about it, then turn on no add-on we could not justify with a line of arithmetic. If our app ran elsewhere and the team had a card and a Vercel login, we would still consider it, because “any cloud” is documented, and we would compare it with OpenRouter on our own request count. If the team had no card yet, or wanted open and uncensored models, or wanted a free daily lane while building, we would try One AI API Key first, because that is the case it was built for.
For a developer, a small team or an agent setup with many models behind one key, the shortest path is a hosted key with a spend limit. Open the free models list and the browser chat, which draws on the same allowance, then follow the quickstart for the first call from code. The guide to picking an LLM provider is the hub of this series. If you are a startup, the post on LLM APIs for startups covers exit cost and runway, and the coding agent key guide shows how to point Cline, Cursor, Codex CLI or Aider at a gateway. Money terms are on the terms page: once a key is created and its usage consumed we do not give money back, and if something on our side breaks you can write to support with a genuine concern, case by case. Paid access is set up by hand, and why we do it by email explains the trade-off. Every request is covered by the acceptable use policy. For a broader set of rivals, see the guide to Portkey alternatives and the post on Helicone alternatives.
Test a no-card gateway before you decide
$10 sign-up credit, 48 free models sharing 100 requests and 3,000,000 tokens a day, no card.