#6363rd of 76 in Gateways and observability
Portkey Gateway
Node.js LLM gateway with fallbacks, load balancing and guardrails
Run it:RackNerd ↗ (opens in a new tab)RepoCloud ↗ (opens in a new tab)Affiliate links, no effect on a rank.
- Stars
- 13.5k
- License
- MIT
- Last commit
- May 2026
- Last release
- Jan 2026
- Language
- TypeScript
10,946 on 28 Mar 202613,454 on 21 Nov 2026
From GitHub's daily star counts.
Checked on GitHub.
Overview
Portkey Gateway is a Node.js proxy that routes requests to 250+ LLM providers through an OpenAI-style API on port 8787, runnable with npx, Docker or Cloudflare Workers. Config objects add retries, fallbacks, load balancing, conditional routing, timeouts and 40+ guardrails; a console at /public shows local logs. Semantic caching, prompt management and RBAC are hosted or enterprise features.
Who it is for: teams needing resilient multi-provider routing with guardrails
Strengths
- Runs with npx in Node.js; 122 KB footprint, sub-millisecond overhead claimed
- Fallbacks, retries, load balancing, conditional routing and timeouts via config
- 40+ built-in guardrails plus bring-your-own
- Works with OpenAI, LangChain, LlamaIndex, CrewAI and Autogen SDKs
Weaknesses
- Semantic caching, prompt management and provider optimization are hosted or enterprise only
- Last commit 2026-05-25; Gateway 2.0 enterprise merge still pre-release
- Docs links are portkey.wiki short links
- RBAC, PII redaction and compliance features are enterprise
What it needs
- no GPU
- Docker + Compose
- Models: OpenAI, Azure OpenAI, Anthropic, Gemini, Cohere, Mistral, Together, Perplexity, Ollama, Bedrock, Groq and 45+ providers
- port 8787
What changed
From the release notes. No flag means the note does not say so, not that the upgrade is safe.
Known problems
Reported, then fixed by a linked change
- 【Security】Gateway crashes with a combination of malicious custom host and forward headers ↗ (opens in a new tab)0 reactions · closed 25 Mar 2026Fixed by do not let people forward x-portkey-forward-headxers header to prevent looping ↗ (opens in a new tab)
- Can NOT connect to Qdrant through Portkey integration ↗ (opens in a new tab)0 reactions · closed 24 Dec 2025Fixed by mark qdrant as a valid provider ↗ (opens in a new tab)
- [anthropic] tool_choice=none doesn't work ↗ (opens in a new tab)0 reactions · closed 22 Dec 2025Fixed by fix(anthropic): add support for tool_choice=none ↗ (opens in a new tab)
Titles are the reporters' own words, taken from the project's GitHub issues and ranked by reactions. We have not tried to reproduce any of them.
Also in Gateways and observability
See all 76| Rank | Project | Score |
|---|---|---|
| #61 | orcareplayRecord coding-agent runs and replay or fork them offline onto other models | 51 out of 100 |
| #62 | paritok-4b-v1Compression proxy that shrinks coding-agent prompts before they reach the LLM API | 50 out of 100 |
| #64 | livebenchContamination-limited LLM benchmark with monthly questions and automatic scoring | 43 out of 100 |
| #65 | evalsPython framework and registry for evaluating LLMs and LLM-based systems | 42 out of 100 |
| #66 | openclaw-bot-reviewWeb dashboard for monitoring OpenClaw agents, models, sessions and token usage | 42 out of 100 |