portkey-ai/gateway

A blazing fast AI Gateway with integrated guardrails. Route to 1,600+ LLMs, 50+ AI Guardrails with 1 fast & friendly API.

View on GitHub ↗Jump to charts ↓

Summary Information

Updated 29 minutes ago
Added to GitGenius on September 4th, 2026
Created on August 23rd, 2023
Open Issues & Pull Requests: 258 (+0)
GitHub issues: Enabled
Number of forks: 1,297
Total Stargazers: 12,936 (+1)
Total Subscribers: 61 (+0)

Repository Insights (GitGenius)

Median issue/PR response: 3.7 days
Mean response time: 55.4 days
90th percentile: 180.9 days
Tracked items: 393

How this project is maintained

Around half of the issues opened in the past year never receive a reply. 94% of open issues come from outside the core team, so the backlog reflects real-world use rather than internal planning. Work labelled "bug" is answered fastest, typically in about 2 days, while "provider" waits about 3 months. 60% of tracked open issues have had no activity in three months, so the open count overstates what is actively being worked. Only 4% of issues opened in the past year have been closed.

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Open issues: 111
New in 7 days: 4
Closed in 7 days: 0
Avg open age: 231 days
Stale 30+ days: 91
Stale 90+ days: 75

Recent activity

Opened in 7 days: 4
Closed in 7 days: 0
Comments in 7 days: 1
Events in 7 days: 1

Top labels

  • triage (414)
  • enhancement (162)
  • bug (131)
  • good first issue (33)
  • provider (24)
  • hacktoberfest (16)
  • guardrails (7)
  • plugin (3)

Detailed Description

Portkey Gateway is an AI gateway that routes requests to multiple language models through a single unified API.

The gateway solves the problem of managing integrations with numerous AI providers and models by abstracting away provider-specific differences. It accepts requests in a standard format and routes them to the appropriate model or provider, handling concerns like automatic retries, fallbacks to alternative models when one fails, and load balancing across multiple endpoints. The tool includes integrated guardrails for protecting deployments and supports multi-modal capabilities for language, vision, audio, and image models.

Teams should adopt the gateway if they work with multiple AI providers or need reliability features like automatic failover and load balancing. It suits projects ranging from simple integrations to complex AI applications requiring enterprise-grade routing logic. The gateway is designed for quick setup, claiming integration with any language model in under two minutes, and operates with minimal latency and a small footprint.

The project maintains active development with regular updates and enhancements. A major version upgrade is in pre-release, indicating significant architectural improvements and new capabilities being prepared for general availability. The tool processes substantial production traffic, demonstrating stability and real-world reliability at scale. The project provides comprehensive documentation and multiple deployment options, including hosted and self-hosted variants, reflecting investment in supporting different user needs.