Skip to content

Portkey AI Gateway

Self-hostable MIT-licensed gateway for routing requests across LLM providers

Permissive (OSI) · MIT AI-native

Listed by , founder & editor

29

Health

Dormant

Overview

Stars

13,436

Last commit

6 months ago

May 2026

Repository age

3 years

since Aug 2023

Latest version

v1.15.2

Jan 2026

Contributors

–

Releases

4

last 12 months

Language

TypeScript

Portkey AI Gateway is an open source gateway that sits between your application and large language model providers. It belongs to the category of LLM gateways and routers, where a single endpoint forwards requests to different model APIs.

You can self-host it, which keeps traffic under your control. It is released under the MIT license, so you can use and modify it with few restrictions.

It suits teams that call more than one model provider and want one routing layer rather than separate integrations in each service. With around 13,000 GitHub stars, it has a sizable following among developers building LLM-based applications.

Who it's for

Developers calling several LLM providers

A single gateway can route requests instead of each service integrating separately.

Skip if: You use one provider and its own SDK is enough.

Teams that want to self-host their LLM routing layer

It can be self-hosted and uses the permissive MIT license.

Skip if: You prefer a fully managed service with no infrastructure to run.

The problem it solves

Applications that use several LLM providers end up with scattered integrations and keys. A gateway gives you one place to route those requests.

Strengths

  • MIT license with few restrictions on use or modification
  • Can be self-hosted
  • About 13,000 GitHub stars

Trade-offs

  • You run and maintain the deployment yourself when self-hosting
  • Overkill if you only use a single model provider

Self-host Portkey AI Gateway

Self-hostable
Yes
Docker Compose
The repository ships a Compose file

Frequently asked questions

Is Portkey AI Gateway open source?

Yes. It is released under the MIT license.

Can I self-host it?

Yes, it can be self-hosted.

Similar tools in LLM gateways and routers

Bifrost

LLM gateways and routers

Self-hosted AI gateway that routes one OpenAI-style API to 23+ LLM providers

10k 1.6k today Thriving Apache-2.0

Manifest

LLM gateways and routers

Self-hosted OpenAI-compatible gateway that routes agent requests across models and keys

7.7k 534 today Thriving MIT

Replaces OpenRouter

ClawRouter

LLM gateways and routers

Local LLM router that sends each request to the cheapest capable model for AI agents

6.7k 656 today Thriving MIT

oh-my-cpa

LLM gateways and routers

Self-hosted web console for monitoring and routing traffic through CLIProxyAPI

487 55 today Thriving MIT

agentgateway

LLM gateways and routers

Rust proxy that routes and secures LLM, MCP and agent-to-agent traffic

6.4k 1.1k today Thriving Apache-2.0

busbar

LLM gateways and routers

Self-hosted Rust gateway routing LLM traffic with budgets, failover and audit logs

241 25 2 months ago Active Apache-2.0

Replaces OpenRouter