Inferbase vs Portkey
Portkey routes on configs you write over your own providers. Inferbase classifies each prompt and picks the model on evidence, with a decision on the record.
What the routing can see
Both put many models behind one OpenAI-compatible API, with fallbacks, budgets and guardrails. The difference is what the routing is allowed to look at.
Routes on who is asking
Conditions match metadata, params or the path you attach. The prompt itself never picks the model.
Routes on what is asked
No rules to write. Each request is matched to a model that clears the bar for its task, and the decision is recorded.
Security platform, or routing-first gateway
Both govern AI traffic. They differ in where the model decision comes from and how settings are checked.
Portkey, now Prisma AIRS AI Gateway from Palo Alto Networks, is a mature gateway over the provider accounts you hold: fallbacks, retries, load balancing, conditional routing, canary testing, circuit breakers and caching, with guardrails, budgets, rate limits, prompt management and deep observability around every request. Its configs give fine control over each request body, and it runs hosted, hybrid or as an open-source gateway. That is a strong governance layer.
- The rules cannot see the prompt. Conditional routing matches metadata, request params or the URL path you attach. Nothing in the routing reads the request and asks which model would serve it best.
- The model decision is still yours to encode. Every routing outcome traces back to a config someone wrote and must maintain as models, prices and providers change. With model "auto", Inferbase re-ranks on current evidence for each request.
- Declared support is not the same as working support. A gateway that forwards a field trusts the provider to honor it. Inferbase asks each managed route whether it handles images, tools, JSON schema and a forced tool choice, reads the answer for proof, and routes a request that needs one away from a route found to ignore it. Models on your own keys are checked too, for whether they serve at all.
If you need that governance over a provider estate your teams already run, inside a Palo Alto Networks security stack, Portkey is the stronger fit. If you want the model chosen per request from the prompt, routes checked for what they actually support, and managed models, your keys and your cloud accounts under one set of policies, that is where Inferbase is built to win. Still weighing the categories themselves? Start with our breakdown of gateways versus routers.
Side by side
Where the two line up and where they diverge, without hiding what Portkey does well.
| Inferbase | Portkey | |
|---|---|---|
| Routing decision | model "auto" picks the model per request on your objective, or you name one | The target your config selects: fallback, load balancing or conditional rules |
| Per-prompt model selection | Yes, each prompt is classified and models are ranked on benchmark evidence | No, conditions match metadata, request params or the URL path |
| Routing building blocks | Objectives (cost, balanced, quality, latency), model pools, fallback chains | Fallbacks, retries, load balancing, conditional routing, canary testing, circuit breakers, caching |
| Fallback on failure | Yes, to the next qualifying model or provider | Yes, across providers and models |
| Central request settings | Defaults and locks for max_tokens, temperature, top P, thinking, output format, system instructions and stop | default_params, override_params and drop_params per target in a JSON config |
| Guardrails | Unsafe content and prompt injection on prompts, responses and tool results; Off, Log only or Block | 20+ deterministic checks, LLM-based checks and partner integrations; output checks on a stream are informational |
| Budgets and limits | Project budgets and per-key spend caps, each request reserving its maximum cost first; per-key rate limits | Budget limits by cost or tokens; rate limits per minute, hour or day |
| Is a provider’s support checked | Measured: each managed route is asked what it supports, and max_tokens is enforced over reasoning and answer | Guardrails can validate the output, for example against a JSON schema |
| Observability | Logs, usage, a routing decision per request, events, signed webhooks, audit log | Logs, traces, analytics on 21+ metrics, feedback, OpenTelemetry-compliant |
| API | OpenAI-compatible, plus Anthropic Messages and Responses | OpenAI-compatible universal API |
| Provider accounts | Managed models on one bill, or your own keys for 14 providers and your Azure, Bedrock or Vertex account | Yours: integrations hold your provider keys, Azure OpenAI and Bedrock included |
| Deployment | Hosted | Hosted, hybrid with the data plane in your VPC, or the open-source gateway |
| Pricing | Free plan; Pro at $25 a month | Now Prisma AIRS AI Gateway (Palo Alto Networks); pricing on request |
Reflects publicly documented behavior as of December 2026. Portkey ships fast, check their docs for the latest.
Where each one fits
Both are gateways with governance. Pick by where you want the model decision made and how you want settings checked.
Portkey is the better fit when
- You want telemetry, budgets and guardrails over provider accounts many teams already hold
- You need fine-grained request control in config: default, override and drop parameters per target
- You need a hybrid or self-run data plane, or you are standardizing on Palo Alto Networks security
- You want to canary new models and providers behind rules you control
Inferbase is the better fit when
- You want the model chosen per request from the prompt and benchmark evidence, not from rules you wrote
- You want managed models, your own provider keys and your cloud accounts under one set of policies
- You want what each route supports measured, not taken from a provider’s list
- You want governance set in a portal, with locks lower levels cannot loosen, instead of JSON configs
Frequently asked questions
Straight answers on how Inferbase and Portkey 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 does, by configs you write. Conditional routing matches on metadata, request params or the URL path and sends the request to the target your condition names, with fallbacks, retries, load balancing, canary testing and circuit breakers around it. What the conditions cannot see is the prompt, so the model choice is a decision you encoded ahead of time. Inferbase classifies each prompt and ranks the models that clear the bar for that task on the objective you set, and records the decision.
Yes. Portkey’s docs say it is now Prisma AIRS AI Gateway, and its pricing page leads to a Palo Alto Networks contact form, with no public price as of December 2026. If your organization is standardizing on Palo Alto Networks security, that is a point in its favor. Inferbase is an independent hosted gateway with a free plan and a published Pro price.
Portkey has the larger library: 20+ deterministic checks such as regex and JSON schema, LLM-based checks such as prompt injection, and partner integrations. Its output checks on a streamed response run after the stream ends and are informational. Inferbase has two checks, unsafe content and prompt injection, on prompts, responses and tool results, each Off, Log only or Block; with Block on responses, a streamed answer is held until it passes, so a blocked answer is never sent.
Yes. Portkey always runs on your credentials. Inferbase serves its managed catalog on one bill, and also takes your own keys for 14 providers and your Azure OpenAI, AWS Bedrock or Google Vertex account; tokens on your key or account are billed by your provider. One set of policies covers all of them, and the models on your key are checked for whether they actually serve.
Both are OpenAI-compatible, so it is a base URL and key change with the SDK you already use. Portkey configs map to Inferbase configurations: a routing policy, a guardrail policy and request settings, set for the organization, a project or a key in the portal rather than in JSON. Set model="auto" to route, or name a model to pin it. If you rely on a hybrid or self-run data plane, note that Inferbase is hosted only.
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.