If you are looking for the best AI API gateway in 2026, OpenRouter alternatives or the cheapest Claude API, you are usually choosing between a hosted gateway and a self-hosted proxy. This page compares five options: OpenRouter, Vercel AI Gateway, Portkey, LiteLLM and TokenLab. TokenLab publishes this page, so check the numbers against the linked sources. Everything was read on 2026-11-11.
How the five are compared
There is no single best gateway. The right one depends on four questions:
- Where does it run? A hosted service is simple to start. A self-hosted proxy keeps traffic in your own network.
- What do you pay on top of tokens? Check for a markup on token prices, a fee when you add credit and a monthly plan.
- Which APIs does it offer? Check the text formats you use and whether you need image, video or audio.
- What is the token price for the models you use? The Claude table below shows the difference.
Cost and hosting
| Gateway | Where it runs | Token price | Fees and plans | Best when |
|---|---|---|---|---|
| OpenRouter | Hosted | No markup. Inference is billed at the provider's list price. | 5.5% fee on Standard and 8% on Business, charged when you buy credits | You want one hosted API across many providers and accept the credit fee |
| Vercel AI Gateway | Hosted, from any cloud | No markup, including with your own keys | No platform fee on tokens. A free tier gives a monthly credit for a subset of models. You pay payment processing fees. | You build on Vercel or the AI SDK |
| Portkey | Hosted, or the open-source gateway on your own servers | Plans are priced by recorded logs, not tokens | Developer plan free (10k logs a month, not for production). Production plan $49 a month (100k logs, then $9 per extra 100k requests). Enterprise is custom. | You need production observability and guardrails and a monthly plan is fine |
| LiteLLM | Open source, self-hosted | You attach your own provider keys | You run the open-source gateway yourself. Enterprise features, such as SSO and support SLAs, need an enterprise license. | You must self-host or keep traffic inside your own network |
| TokenLab | Hosted | Verified route below the maker's list price on many models. Official route at the maker's list price. | No subscription, no fee when you add credit, top-ups from $5 | You want a low token price, one key for text, image and video models, and no self-hosting |
Who TokenLab is not for: if you need self-hosting or a private deployment, choose LiteLLM or Portkey's open-source gateway. TokenLab is a hosted gateway.
API coverage
| Gateway | What it offers |
|---|---|
| OpenRouter | Chat Completions, Responses and Messages, plus image, video, audio, embeddings and rerank endpoints (API spec) |
| Vercel AI Gateway | The AI SDK, OpenAI Chat Completions, OpenAI Responses and Anthropic Messages. Modalities include text, image, video, speech, transcription, realtime, embeddings and reranking (docs). |
| Portkey | A universal API with fallbacks, load balancing and retries, plus observability and prompt management (plans) |
| LiteLLM | Chat completions, responses, messages, embeddings, images, audio, batches and rerank (README) |
| TokenLab | Chat Completions, Responses, Messages and Gemini native requests, plus image, video, audio, music, 3D, Worlds, embeddings and rerank (docs) |
Claude prices compared
Prices are USD per 1M tokens, as input / output. TokenLab prices are from its pricing API. The Official column is the maker's list price in the same read. The OpenRouter column is the price of its direct Anthropic endpoint.
| Model | TokenLab Verified | Official price | OpenRouter |
|---|---|---|---|
Claude Sonnet 5.5 (claude-sonnet-5-5) |
$0.70 / $3.50 | $2.00 / $10.00 | $2.00 / $10.00 |
Claude Opus 5.5 (claude-opus-5-5) |
$1.40 / $7.00 | $4.00 / $20.00 | $4.00 / $20.00 |
Claude Haiku 4.5 (claude-haiku-4-5) |
$0.35 / $1.75 | $1.00 / $5.00 | $1.00 / $5.00 |
TokenLab Verified is 35% of the list price for all three models. OpenRouter bills the provider's list price, and Vercel AI Gateway lists Claude Sonnet 5.5 at the same $2.00 / $10.00. That is why searches for the cheapest Claude API often end at a gateway with a below-list route. Prices change, so read the live prices before you budget.
OpenRouter
OpenRouter does not mark up token prices. Its fee is charged when you buy credits: 5.5% on Standard and 8% on Business. Its FAQ gives the card fee as 5.5% with a $0.80 minimum, and the crypto fee as 5%. With your own provider keys, the first $25,000 of list-price inference each month has no fee, then the fee is 5%. Its FAQ says unused credits can expire after one year, and its pricing page lists models from 80+ providers. OpenRouter is a hosted service. See its pricing page and FAQ. For a detailed comparison, read OpenRouter vs TokenLab.
Vercel AI Gateway
Vercel AI Gateway adds no markup and no platform fee to token prices, and it works from any cloud. You need a Vercel account to create a key, but not a Vercel project. A free tier gives a monthly credit for a subset of models, and buying credits moves you to the paid tier. You are responsible for payment processing fees. Some add-ons cost extra, such as team-wide zero data retention at $0.10 per 1,000 requests. See the AI Gateway pricing. For the $30 Token Pass add-on, read TokenLab vs Vercel Token Pass.
Portkey
Portkey has a free Developer plan and a Production plan at $49 a month, and an open-source gateway you can host yourself. On 2026-05-29, Palo Alto Networks said it had closed its acquisition of Portkey (see the press release). It plans to make Portkey the core AI gateway for Prisma AIRS. Portkey's site now calls its enterprise product Prisma AIRS AI Gateway. Choose Portkey when you want a production gateway with observability and a monthly plan is fine, or when enterprise security packaging matters more than the lowest Claude price. See Portkey pricing.
LiteLLM
LiteLLM is an open-source AI gateway that you run yourself, as a Python SDK or as a proxy server. Its README lists Docker images and deployment modules for AWS and GCP. You pay for the machines and the provider keys you attach. Enterprise features such as SSO and support SLAs need an enterprise license. It is the default shortlist when legal, data residency or air-gapped rules rule out a hosted gateway. The trade-off is that you own uptime, upgrades and routing configuration. See the LiteLLM README.
TokenLab
TokenLab has one base URL, https://api.tokenlab.sh/v1, for chat, image, video and audio models. Check the live model list for the models you need. Many models have two delivery options. Official is the maker's list price. Verified, where a model has it, usually costs less. Auto, the default, tries Verified first. The delivery tiers guide explains how they work.
On the 2026-11-11 read, the three Claude models above are 35% of the maker's list price on the Verified route. Other models have other shares. For example, gpt-6.1-terra is 30% and gemini-3.8-flash is 50%. TokenLab is not the right pick if you must self-host or run a private deployment. There is also a TokenLab MCP server.
Migrate in two lines (OpenAI SDK)
Most OpenAI-compatible clients need only a new base URL and key:
from openai import OpenAI
client = OpenAI(
base_url="https://api.tokenlab.sh/v1",
api_key="YOUR_TOKENLAB_KEY", # was your previous provider key
)
resp = client.chat.completions.create(
model="claude-sonnet-5-5",
messages=[{"role": "user", "content": "Hello from a gateway migration"}],
)
print(resp.choices[0].message.content)
The same change in environment variables:
export OPENAI_BASE_URL=https://api.tokenlab.sh/v1
export OPENAI_API_KEY=YOUR_TOKENLAB_KEY
Model IDs differ between gateways. OpenRouter uses anthropic/claude-sonnet-5.5, and TokenLab uses claude-sonnet-5-5. List current IDs with GET https://api.tokenlab.sh/v1/models.
How to choose
- You must self-host or keep traffic in a private network: LiteLLM, or Portkey's open-source gateway. Not TokenLab.
- You already build on Vercel: Vercel AI Gateway, with its free monthly credit for light use.
- You want one hosted API across many providers and accept a credit fee: OpenRouter.
- You want production observability and guardrails at $49 a month: Portkey.
- You want one OpenAI-compatible URL, media models and Claude below list price: TokenLab.