Inferbase vs Vercel AI Gateway
Vercel AI Gateway is a hosted gateway with routers, virtual models and budgets. Inferbase is an AI gateway that picks the model for each prompt, checks each route, and enforces its limits.
How the model gets picked
Both put many models behind one stable model id. The difference is what decides between them.
Orders the models you list
The same order for every request, whatever the prompt asks.
Picks for the prompt
Each request is classified, held to a quality bar for its task, and the decision is on the record.
A gateway you configure, or one that decides
Ordered model lists and soft budgets, versus model choice per request and limits that hold.
Vercel AI Gateway is a capable hosted gateway: one API to models across providers, with provider failover, custom routers, virtual models that carry routing and compliance settings for coding agents and apps, zero data retention, budgets at four scopes and BYOK including Azure, Bedrock and Vertex. Its routers choose among the models you list by order, cost or speed.
- The model is chosen for the prompt. A Vercel router orders the models you list by cost or speed. Inferbase reads the request, works out the task and how hard it is, and picks among the models that clear the bar for it on the objective you set.
- Limits are maximums. Vercel documents its budgets as a soft cap: the request that crosses one completes. Each Inferbase request reserves its maximum cost before it is served, so concurrent requests cannot together pass a budget.
- Controls live in the gateway. Inferbase runs guardrail policies on prompts, responses and tool results, and request settings that can lock the output cap or system instructions for every key below the organization.
If you build on Vercel and want routing you configure by hand, Vercel AI Gateway is a natural fit. If you want the model chosen per prompt on evidence, routes whose capabilities have been measured, and limits and guardrails enforced in the gateway, that is where Inferbase is built to win.
Side by side
Where the two line up and where they diverge, without hiding what Vercel AI Gateway does well.
| Inferbase | Vercel AI Gateway | |
|---|---|---|
| Choosing between models | model "auto" reads the prompt, applies a quality bar per task from benchmark evidence, then ranks on your objective | Custom routers over models you list, ordered by declared order, estimated cost, time to first token or output speed |
| Objective | Cost, balanced, quality or latency | Order, cost, time to first token or tokens per second |
| Why a model was chosen | A routing object on every routed response: task, complexity, objective, how clearly the winner won, fallbacks | Logs record the model and provider that served, every routing attempt, latency, tokens and cost |
| Capability support | Measured: each managed route is asked for structured output, forced tool choice, images and logprobs, and routing acts on the answer | Required capabilities filter providers that support caching, reasoning, structured output, tools or vision |
| Output cap | max_tokens enforced by Inferbase over reasoning and answer, whichever provider serves | Not described in its docs |
| Saved configurations | Configurations (config:<slug>): routing policy, guardrail policy and request settings such as output cap, temperature and system instructions | Virtual models (vmc/<slug>): provider order, fallbacks, region, compliance, provider options and tags |
| Policy levels | Organization, project and key; a lower level cannot loosen a locked setting | Team settings, then virtual model, then request; a virtual model cannot loosen a team setting |
| Content guardrails | Unsafe content and prompt injection checks on prompts, responses and tool results; Off, Log only or Block | No guardrail policy in its docs; its migration guide moves guardrails into your application |
| Spend limits | Hard project budgets and per-key daily and monthly caps; each request reserves its maximum cost before it is served | Budgets per team, project, key and member; a soft cap, so the request that crosses it still completes |
| Your own provider accounts | Keys for 14 providers and your Azure OpenAI, AWS Bedrock and Google Vertex accounts, each model checked on your credential | BYOK including Azure, Vertex and Bedrock; a failed request falls back to Vercel’s keys unless you turn that off |
| APIs | OpenAI Chat Completions, Responses and Anthropic Messages | OpenAI Chat Completions, Responses, Anthropic Messages and the AI SDK |
| Runs anywhere | Hosted API, called from any cloud or language | Hosted API; your application does not need to run on Vercel |
| Pricing | Free plan; Pro at $25 a month. Tokens on your own keys are billed by your provider, nothing added | Provider list price with no markup; a free tier on a subset of models; surcharges for some add-ons |
Reflects what Vercel’s own docs say as of December 2026. Vercel ships often, check their docs for the latest.
Where each one fits
Pick by where you want the decisions made: in routes and lists you maintain, or in a gateway that chooses and enforces.
Vercel AI Gateway is the better fit when
- You build with the AI SDK or deploy on Vercel and want the gateway in the same account
- You want routers that order a fixed list of models by cost, time to first token or output speed
- You want coding agents such as Claude Code or Codex configured through one virtual model
- You want provider list prices with no token markup and modalities beyond chat in one catalog
Inferbase is the better fit when
- You want the model chosen per request from the prompt, on an objective you set
- You need capabilities measured on each route rather than taken from what a provider supports on paper
- You need budgets that stop at the limit under concurrent load
- You want guardrails and request settings enforced at the gateway, locked from the organization down
Frequently asked questions
Straight answers on how Inferbase and Vercel AI Gateway differ, and when each one is the better choice.
An LLM gateway is one API in front of many providers: every service calls the gateway with one set of credentials, and the gateway holds the provider keys, enforces limits and budgets, logs the traffic and falls back when a provider fails. Most gateways send each request to the model you named, or to whichever host is up for that model; the model decision stays in your config or in rules you write. Inferbase is a gateway that also makes that decision, on the prompt and on evidence.
A router decides which model should answer; a gateway executes the request and governs it with keys, limits, budgets, logs and failover. Some routers only recommend, leaving you to call the provider; some gateways only proxy to the model you named. Inferbase runs the router inside the gateway, so the decision is served rather than recommended and its record sits beside the usage receipt.
That the same call which chooses the model also runs it. You send model="auto" to one OpenAI-compatible endpoint; the router classifies the request, picks the model that clears the bar for the task on your objective, the gateway serves it with two fallbacks ready, and the response comes back with its decision on the record. There is no second system to operate for the inference and no second bill for it.
When a workload mixes tasks and difficulties, which most production traffic does. We publish no savings percentage: one was withdrawn in September 2026 because the baseline price it was measured against is no longer one we can substantiate, and a ratio is only as good as its denominator. What routing does is send each request to the model that gives the best quality for its price (Balanced) or the cheapest one that clears the quality bar (Cost), so the gain is the gap between what you pay now and what the right-sized model costs. A workload that is all one hard task gains less; the routing page shows the run and its caveats, and Routing Preview measures it on your own traffic.
It chooses among models you list. A Vercel custom router holds up to 50 members and tries them by declared order, lowest estimated cost, fastest recent time to first token or highest recent output speed, after filtering on required capabilities and compliance. Inferbase’s model "auto" reads the request itself: it classifies the task and its difficulty, keeps the models that clear a quality bar for that task on benchmark evidence, and ranks them on cost, balanced, quality or latency.
Vercel sets budgets for a team, a project, an API key or a team member, and documents them as a soft cap: the check runs when a request starts, so the request that crosses the limit completes and spend can end slightly over. Inferbase reserves each request’s maximum cost, from its input and max_tokens, against the project budget and the key’s daily and monthly caps before serving it, so requests running at the same time cannot together pass a limit.
They overlap. A Vercel virtual model, called as vmc/<slug>, saves a model with its provider order, fallbacks, region, zero data retention, provider options and tags, which suits coding agents that cannot send gateway options. An Inferbase configuration, called as config:<slug> or assigned to a key, combines a routing policy, a guardrail policy and request settings, which can set or lock the output cap, temperature, thinking, output format and system instructions, from the organization down to a single key.
Vercel’s AI Gateway docs cover data controls: zero data retention, blocking prompt training, provider and model allowlists and regional inference. A content guardrail policy is not among them, and Vercel’s guide for moving from Cloudflare AI Gateway moves guardrails into your application. Inferbase runs guardrail policies in the gateway: unsafe content and prompt injection checks on prompts, responses and tool results, each set to Off, Log only or Block.
Vercel charges the provider’s list price with no markup on tokens, offers a free tier on a subset of models, and charges for some add-ons such as a team-wide provider allowlist. Inferbase does not compete on per-token price: it has a free plan with no time limit and a monthly Pro plan with included credit, and tokens served on your own provider keys or cloud account are billed by that provider with nothing added.
On evidence, then on your objective. Each request is classified for its task family and complexity; the catalog is narrowed to the models that clear a quality bar for that task on benchmark evidence and that fit the request; the survivors are ranked on the objective you set (cost, balanced, quality or latency). A model with no measurement for the task is treated as unknown and does not qualify on guesswork.
Yes. Every routed request writes a decision record: the task the classifier saw, its complexity, the objective, how many models qualified, which won and how clearly, and each fallback attempt if any. When streaming it is the first event on the stream; afterwards it is retrievable by request id from the API and the dashboard.
One line. Point an existing OpenAI SDK at the Inferbase base URL and send model="auto"; chat completions, streaming, tool calls and structured output pass through unchanged, and Anthropic-shaped clients are served on the Messages endpoint. Name a model instead of auto and it is served as named, so an application can pin where it must and route where it can.
A free plan with no time limit and no card: 5,000 requests a month on any model and any key, with Inferbase's own models free for chat, embeddings and rerank within daily limits. Pro is $25 a month with 50,000 requests, $10 of managed inference credit and no daily limits. Managed inference beyond the free plan is billed per token from credit; on your own provider keys or cloud account the tokens are billed by your provider, with nothing added. Routed or pinned, a request counts the same.
Put intelligence in the middle.
Start on the free plan with 5,000 requests a month, no card required.