Skip to navigation

Comparison ยท checked 27 November 2026

One AI API Key vs Vercel AI Gateway

Both are hosted gateways with an OpenAI-style and an Anthropic-style endpoint. Vercel ties yours to a Vercel account and sells add-ons; we keep it to one prepaid balance and a key.

PointOne AI API KeyVercel AI Gateway
Token pricingThe published per-token rate on the models page.No markup and no platform fee on tokens: you pay the provider list price.
How you payPrepaid credit packs at 1:1, no purchase fee.Pay-as-you-go credits that expire one year after purchase; you cover payment processing fees. A free tier gives a monthly included credit on a subset of models, which stops once you buy credits.
Account neededA sign-in with Google; no card for the free tier.A Vercel account to create the key and manage billing, but no Vercel project or deployment.
API formatsOpenAI format (chat completions, responses, embeddings) and Anthropic Messages on the same key.OpenAI Chat Completions, OpenAI Responses, Anthropic Messages and the AI SDK.
Your own provider keysThey are stronger hereNot offered.BYOK with no markup; it needs purchased credits and a positive balance, and falls back to Vercel keys unless you turn that off (then $0.20 per 1,000 requests).
FallbacksUp to 3 fallback models per request (X-Fallback-Models header) or one per account.An ordered models array plus provider order or only-list; every attempt is logged.
Spend limitsPer key: spend limit, expiry, model allowlist and a per-end-user budget.Budgets per team, project, key or user, daily, weekly or monthly; a soft cap that returns 402 once exceeded, and BYOK spend is not counted.
Data retentionPrompts are not stored by default and not used for training.Vercel does not train on prompts and deletes content after the request. Zero-data-retention is per request (free) or team-wide ($0.10 per 1,000 requests) and needs a paid account.
Paid add-onsThey are stronger hereNone: one rate, one balance.Custom reporting, team-wide provider allowlists, regional endpoints (5% of inference cost) and trace drains are priced separately.

Our column describes what this gateway does today; the docs page for each control is linked below. Their column comes from the pages in Sources, read on 27 November 2026. A cell that says "not listed" means the page we read did not describe that feature; it does not mean the feature is absent.

Where Vercel AI Gateway is ahead

  • Observability and reporting: custom reporting, OpenTelemetry trace drains and a 30-day routing-attempt log.
  • BYOK with no markup, for teams that keep their own provider contracts.
  • Regional endpoints and a team-wide provider allowlist, for teams with data-location rules.

What we do instead

  • No add-ons to price: the rate on the models page and the credit you hold are the whole bill.
  • No account on another platform: one sign-in, one balance.
  • 100 free requests a day on tested :free models, and $10 of sign-up credit for any model.

Pick Vercel AI Gateway if

  • You already build on Vercel and want the gateway next to your deployments.
  • You want BYOK, trace drains or regional endpoints.
  • You need team and project budgets inside a Vercel team.

Pick One AI API Key if

  • You do not want a platform account to buy credit or manage a key.
  • You want the same key to serve Claude Code and an OpenAI SDK.
  • You want a free daily allowance on :free models without a card.

Switching from Vercel AI Gateway: three changes

  1. Create a key in the console (sign-up includes $10 of credit for any model).
  2. Point your client at https://api.oneaiapikey.com/v1 and load the key from ONEAIAPIKEY_API_KEY.
  3. Replace the model id with one from the model list. Model ids differ: copy the id from our model list. Vercel's models array for fallbacks becomes the X-Fallback-Models header here.
Python (OpenAI SDK)
import os
from openai import OpenAI

# Before:
# client = OpenAI(base_url="https://ai-gateway.vercel.sh/v1", api_key=os.environ["<your old key variable>"])

# After: a new variable name, so the old key is never sent to the new host by accident
api_key = os.environ.get("ONEAIAPIKEY_API_KEY")
if not api_key:
    raise RuntimeError("ONEAIAPIKEY_API_KEY is missing or empty")

client = OpenAI(base_url="https://api.oneaiapikey.com/v1", api_key=api_key)
reply = client.chat.completions.create(
    model="<id copied from the model list>",
    messages=[{"role": "user", "content": "Reply with the single word: ready"}],
    extra_headers={"X-Fallback-Models": "<fallback-a>,<fallback-b>"},  # optional, up to 3
)
print(reply.model)

Questions people ask about Vercel AI Gateway and One AI API Key

Does Vercel AI Gateway add a markup to tokens?
No. Its pricing page says there is no markup and no platform fee on tokens. Costs come from payment processing fees you cover and from paid add-ons such as regional endpoints.
Do credits expire?
On Vercel, purchased credits expire one year after purchase, per its FAQ. See our refund policy and billing docs for how credit works here.
Do I need a Vercel account?
Yes, to create the key and manage billing, though not a project or deployment. Here you sign in with Google and get a key.
Can I use my own provider keys?
On Vercel, yes, with no markup, as long as you hold purchased credits. Here, no: one prepaid balance pays for every model.
Which keeps prompts private?
Vercel says it does not train on prompts and deletes content once the request completes; zero data retention can be enforced for a fee. Our privacy policy says prompts are not stored by default and not used for training. Read both policies for the detail.
When were these facts checked?
On 27 November 2026, from the Vercel pages linked under Sources.

Keep reading

Sources

Checked 27 November 2026. Vercel AI Gateway may have changed its pricing or features since; the linked pages are authoritative.

New accounts$10 credit on sign-up
  • 100requests
    per day
  • 3Mtokens
    per day
  • 47free
    models
  • $0per
    token
  • No card
  • No end date
Claim $10 credit โ†’