Skip to main content
OpenSourceAlternatives

Portkey AI Gateway

Open source · OSI-approvedStatus: unknownNewAcquired

Open-source AI gateway routing 200+ providers with fallbacks

Reviewed lifecycle notice

This Project is marked acquired. These are reviewed catalogue facts and are separate from repository archive, license-change, move, and security observations.

Portkey AI Gateway is an open-source gateway that sits between an application and more than 200 large language model providers, routing every request through one OpenAI-compatible API with fallbacks, load balancing, caching, and guardrails. It serves engineering teams that run multi-model products and want provider failures, cost spikes, and observability handled in one self-hosted layer instead of scattered across application code.[1][2]

Quick verdict

Teams running a production application across several model providers benefit most from Portkey AI Gateway. Its concrete advantage is a single MIT-licensed routing layer with automatic fallbacks, weighted load balancing, semantic caching, and virtual keys, deployable with Docker in their own infrastructure. The material constraint is operational ownership: there is no documented SSO/SAML story and hosting, credential management, and upgrades stay with the adopter, so teams wanting a fully managed gateway with explicit enterprise identity support should look at a hosted alternative such as Helicone instead. If the team can run a container and manage provider keys, choose Portkey AI Gateway; if it needs zero-ops hosting first, choose a managed gateway and revisit Portkey when self-hosting becomes a requirement.[1][2][3]

Key features

  • Unified OpenAI-compatible API across 200+ providers One endpoint and one request shape reach every connected provider, with the gateway translating provider-specific formats in both directions.[1][2]

  • Automatic fallbacks and retries When a provider errors or slows down, the gateway shifts traffic to the next configured target instead of failing the application request.[1][2]

  • Weighted load balancing Traffic spreads across providers, keys, and models by configured weights, which lets teams balance cost, latency, and capacity.[1]

  • Semantic and exact caching Repeated and semantically similar requests are served from cache, cutting response latency and provider spend.[1][2]

  • Guardrails and request validation Policy checks screen prompts and responses for blocked content, PII exposure, and moderation failures before they reach users or logs.[1][2]

  • Virtual keys with budgets and rate limits Teams issue scoped keys carrying spend budgets, rate limits, and usage analytics without sharing raw provider credentials.[1][2]

  • Built-in observability Request logs, traces, and cost views record which model answered, what it cost, and where fallbacks fired.[1][2]

  • Flexible self-hosted deployment The gateway ships as Docker containers and npm packages and also runs on Cloudflare Workers, with configuration files declaring providers, strategies, and plugins.[1]

Who will love it

  • Teams running one application across many providers: a single gateway endpoint replaces per-provider SDK wiring, retries, and format translation in application code.[1]

  • Developers who need reliability without custom infrastructure: fallbacks, retries, and load balancing come from gateway configuration rather than bespoke middleware.[1]

  • Cost-conscious operators with container skills: MIT licensing, Docker deployment, and caching give a self-hosted path to lower provider spend without license fees.[1][2]

Who should avoid it

  • Teams that need fully managed hosting: running, scaling, and upgrading the gateway stays with the adopter; the paid cloud plans are a separate product from the self-hosted core.[1][2]

  • Buyers who require documented SSO/SAML: neither the docs nor the pricing page names single sign-on, so identity requirements cannot be confirmed from public sources.[1][2]

  • Non-technical teams: provider credentials, gateway configuration files, and container deployment assume engineering capacity that a no-code team will not have.[1]

Questions worth asking

What is the best Portkey AI Gateway alternative for non-technical users?

Helicone is the conditional pick: its hosted gateway with a free Hobby tier and managed observability removes the container and configuration work, though its paid tiers are required for larger teams.[1][2]

Is Portkey AI Gateway really no-code?

No. Routing, fallbacks, and caching are declared in gateway configuration files, provider credentials must be managed, and deployment uses Docker, npm, or Cloudflare Workers, so working with it is developer work.[1]

How much does Portkey AI Gateway cost per month?

The open-source gateway is free under the MIT license. Portkey's hosted cloud plans, checked October 12, 2026, list Team at $99 per month and Enterprise at custom pricing; the Enterprise plan adds a security review and SLA.[1][2]

Can you self-host Portkey AI Gateway?

Yes. The MIT-licensed repository documents Docker and npm-based deployment plus Cloudflare Workers support, with no documented edition restriction on self-hosting the gateway core.[1][2]

Sources and editorial review

Source research. Reviewed on October 12, 2026. Written by Sanjib Sah. AI assisted; reviewed by a human editor.

We have not run or tested this product.

  1. Portkey AI Gateway official page

    official · Observed October 12, 2026

    Official Portkey AI Gateway page: blazing-fast open-source gateway connecting apps to 200+ providers; features fallbacks, retries, load balancing, Prompt Cache, guardrails, observability, virtual keys, 25k orgs; banner states Portkey is now part of Palo Alto Networks as Prisma AIRS AI Gateway.

  2. Portkey AI Gateway documentation

    official · Observed October 12, 2026

    Official gateway docs: unified OpenAI API across providers, request/response transformation, Docker/npm/Cloudflare Workers deployment, configuration with provider options, headers, plugins, 3.0.0 release notes dated Aug 13 2026, MIT-licensed GitHub link to Portkey-AI/gateway.

  3. Portkey pricing

    official · Observed October 12, 2026

    Official pricing: open-source free forever, Team $99 per month, Enterprise custom; plan table covers gateways, seats, keys, users, analytics retention, traffic, logging, support, security review and SLA; footer notes SOC2, GDPR, HIPAA, CCPA, ISO 42001, ISO 27001.

  4. Portkey-AI/gateway on GitHub

    official · Observed October 12, 2026

    Repository Portkey-AI/gateway: MIT License, TypeScript 93 percent, about 3.8k stars and 390 forks, 76 contributors, latest commit May 30; readme documents quickstart, config with OpenAI and Anthropic targets, and ColPali multi-vector support.

  5. Portkey AI Gateway discovery lead

    official · Observed October 12, 2026

    Discovery lead page for Portkey AI Gateway on openalternative.co, used only to confirm the requested product name matches the Portkey gateway before resolving official identity.

Compared with these products

No explicit proprietary baseline is recorded.

Similar projects

Related projects with shared categories, technologies, or licensing.

LiteLLM

LiteLLMAIOpen

Open-source AI gateway unifying 100+ LLMs behind one API

Stars60.1K
Commitjust now
LicenseMIT

LiteLLM is an open-source AI gateway that calls more than 100 large language model providers through one OpenAI-compatible interface.

Bifrost

BifrostOpen

Self-hosted LLM gateway with one OpenAI-compatible API

Stars8,531
Commitjust now
LicenseApache-2.0

Bifrost is a self-hosted gateway that puts every large language model call behind one OpenAI-compatible API. An application points its existing OpenAI client at the gateway, and Bifrost routes the request to whichever provider is configured, so switching models or spreading load across providers is a configuration change rather than a rewrite.

LLM Gateway

LLM GatewayAIOpen

Open-source, OpenAI-compatible LLM gateway with cost and latency tracking

Stars2
Commit19d ago
LicenseMIT

LLM Gateway is an open-source gateway that puts OpenAI, Anthropic, and Gemini calls behind one OpenAI-compatible API. An application keeps its existing OpenAI client and points it at the gateway, so switching providers or spreading load across them is a configuration change rather than a rewrite.

LocalAI

LocalAIAIOpen

Self-hosted OpenAI-compatible runtime for local AI models

Stars49.5K
Commitjust now
LicenseMIT

LocalAI is a self-hosted runtime that runs AI models locally behind OpenAI-compatible endpoints.

Envoy AI Gateway

Envoy AI GatewayAIOpen

Self-hosted AI gateway routing LLM traffic through Envoy

Stars2,182
Commitjust now
LicenseApache-2.0

Envoy AI Gateway is a self-hosted gateway that routes application traffic to 17 language model providers through one OpenAI-compatible API.

Proxed AI

Proxed AIAIOpen

Open-source proxy securing AI API keys in iOS apps with DeviceCheck

Stars8
Commitjust now
LicenseAGPL-3.0

Proxed AI is an open-source proxy that keeps AI API keys off iOS devices, checking each request with Apple DeviceCheck while adding rate limits and usage tracking.