Looking for a Portkey Alternative?

Compare LLM Gateway's open-source core, automatic provider routing, and transparent pricing against Portkey — now part of Palo Alto Networks.

Open-Source CoreAutomatic RoutingImage & Video GenTransparent Pricing

LLM Gateway vs Portkey: the short answer

Portkey and LLM Gateway are both AI gateways with fallback and routing, and both can be self-hosted. Portkey prices its hosted platform by recorded request volume. LLM Gateway charges a 5% fee on credit purchases and no platform fee on your own provider keys.

LLM GatewayPortkey
Pricing5% fee on credit purchases; no platform fee on your own provider keysFree tier with 10,000 recorded logs per month; Production is $49 per month with 100,000 logs
Open-source licenseAGPLv3 core, with enterprise features under a commercial licenseMIT-licensed gateway, with enterprise private-cloud deployments
Beyond routingUsage analytics, cost tracking and cachingPrompt versioning, semantic caching, guardrail integrations and an MCP gateway

Competitor details come from each vendor's public documentation, listed in the sources below.

Compare platforms

Compare gateway hosting and prompt operations

Compare LLM Gateway and Portkey features side by side

Why choose LLM Gateway?

Open-source core — self-host the gateway, dashboard and worker
Automatic routing that scores providers on live metrics
Image & video generation through the same API
Transparent pricing — 5% platform fee, or 0% with your own keys

LLM Gateway

OPEN-SOURCE & PRODUCTION-READY

From $0

Free core; hosting costs separate

Portkey

NOW PRISMA AIRS AI GATEWAY

From $49/mo

Free dev tier, then usage overages

Managed cloud

Fully managed, production-ready hosted service

LLM Gateway:
Portkey:

Self-hosting options

Run the core on your infrastructure; Enterprise terms differ

LLM Gateway:AGPLv3
Portkey:OSS gateway; Enterprise private cloud

Open-source license

What ships under an open-source license

LLM Gateway:Core (AGPLv3); Enterprise commercial
Portkey:Gateway (MIT)

One-command Docker deploy

Single image with dashboard, worker, and gateway

LLM Gateway:
Portkey:OSS gateway and local console

Independent vendor

Who sets the roadmap, pricing, and terms

LLM Gateway:Independent
Portkey:Palo Alto Networks (since May 2026)

Automatic provider scoring

Routes on live uptime, throughput, price, and latency

LLM Gateway:
Portkey:Configurable routing policies

Failover & retries

Transparent retry on a healthy provider

LLM Gateway:
Portkey:

Load balancing

Spread traffic across providers for a model

LLM Gateway:
Portkey:

Response caching

Built-in caching for repeated requests

LLM Gateway:Redis, 10s–1yr TTL
Portkey:Simple cache; semantic cache on eligible plans

Bring your own keys

Use your own provider keys

LLM Gateway:0% markup
Portkey:

Transparent platform fee

Predictable, easy-to-reason-about pricing

LLM Gateway:5% or 0% (BYOK)
Portkey:$49/mo includes 100k logs; $9/100k extra

Real-time cost analytics

Per-request cost tracking in the dashboard

LLM Gateway:
Portkey:

Free to start

Get going without a paid plan

LLM Gateway:Free self-host
Portkey:Free tier (10k logs/mo)

Model coverage

Models and providers available through one API

LLM Gateway:See live model catalog
Portkey:See Portkey catalog

Image generation

Generative media through the same API

LLM Gateway:
Portkey:

Content guardrails

Content checks; coverage and pricing vary by product

LLM Gateway:Enterprise
Portkey:

Versioned prompt management

Prompt registry, templates, and deployments

LLM Gateway:Lounge only
Portkey:

OpenTelemetry & deep tracing

Export traces into an existing observability stack

LLM Gateway:
Portkey:

No credit card required • Self-host option available • Enterprise support available

Weighing more options? See the 8 best Portkey alternatives in 2026.

FAQ

LLM Gateway vs Portkey

Common questions about switching from Portkey to LLM Gateway.

Can't find an answer? Contact us

Yes. Portkey publishes an MIT-licensed gateway and offers enterprise private-cloud deployments. LLM Gateway publishes its core under AGPLv3, with enterprise features under a separate commercial license. Compare the exact edition and included controls before choosing.