#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.

Releases and problems feed (RSS)

Stars
13.5k
License
MIT
Last commit
May 2026
Last release
Jan 2026
Language
TypeScript
Stars, last 34 weeks+2,508
28 Mar 2026: 10,946 stars4 Apr 2026: 11,062 stars11 Apr 2026: 11,151 stars18 Apr 2026: 11,247 stars25 Apr 2026: 11,328 stars2 May 2026: 11,448 stars9 May 2026: 11,552 stars16 May 2026: 11,646 stars23 May 2026: 11,742 stars30 May 2026: 11,819 stars6 Jun 2026: 11,900 stars13 Jun 2026: 11,978 stars20 Jun 2026: 12,065 stars27 Jun 2026: 12,145 stars4 Jul 2026: 12,230 stars11 Jul 2026: 12,323 stars18 Jul 2026: 12,398 stars25 Jul 2026: 12,479 stars1 Aug 2026: 12,565 stars8 Aug 2026: 12,615 stars15 Aug 2026: 12,683 stars22 Aug 2026: 12,748 stars29 Aug 2026: 12,806 stars5 Sept 2026: 12,866 stars12 Sept 2026: 12,936 stars19 Sept 2026: 13,001 stars26 Sept 2026: 13,060 stars3 Oct 2026: 13,111 stars10 Oct 2026: 13,158 stars17 Oct 2026: 13,215 stars24 Oct 2026: 13,276 stars31 Oct 2026: 13,308 stars7 Nov 2026: 13,360 stars14 Nov 2026: 13,403 stars21 Nov 2026: 13,454 stars

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

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
Also in Gateways and observability
RankProjectScore
#61orcareplayRecord coding-agent runs and replay or fork them offline onto other models1.2k stars+877 (+253%) in 30 daysApache-2.051 out of 100
#62paritok-4b-v1Compression proxy that shrinks coding-agent prompts before they reach the LLM API1.4k starsApache-2.050 out of 100
#64livebenchContamination-limited LLM benchmark with monthly questions and automatic scoring1.4k starscustom license43 out of 100
#65evalsPython framework and registry for evaluating LLMs and LLM-based systems19.8k starscustom license42 out of 100
#66openclaw-bot-reviewWeb dashboard for monitoring OpenClaw agents, models, sessions and token usage2k starsMIT42 out of 100