# Portkey-AI/gateway

> Lightweight AI gateway with routing, guardrails, and 1600+ models

Navigation: [Artificial Intelligence](category/artificial-intelligence.txt) · [Index](../llms.txt)

## Facts

- GitHub: https://github.com/Portkey-AI/gateway
- HTML: https://awesomeopensource.dev/project/portkey-ai-gateway
- Website: https://portkey.ai/features/ai-gateway
- License: MIT
- Language: TypeScript
- stars: 13378
- Topics: ai-gateway, gateway, generative-ai, hacktoberfest, langchain, llm, llm-gateway, llmops, llms, mcp, mcp-client, mcp-gateway, mcp-servers, model-router, openai
- Activity score: 2.9/5 (Maintained)
- Last commit (any branch): 2026-05-25
- Last release: v1.15.2 2026-01-12

## Description

Portkey's AI Gateway is a lightweight gateway that routes requests to 1600+ language, vision, audio, and image models through one API. It adds automatic retries, fallbacks, load balancing, conditional routing, and guardrails without changing application code, and runs from npx, Node.js, Docker, or Cloudflare Workers with an OpenAI-compatible interface. SDKs cover Python, JavaScript, and REST; the core is MIT licensed and the enterprise gateway is merging into the open-source 2.0 release.

## Maintenance activity

- Recency: 27% (weight 40%) — last commit: 172 days ago
- Commit volume: 40% (weight 25%)
- Releases: 65% (weight 25%) — last release: 305 days ago
- Bug fixes: 100% (weight 10%)
- Commits: 0 / 90d, 179 / 365d

## Similar projects

- [openclaw/openclaw](openclaw-openclaw.md): Open-source AI assistant that lives on your own hardware and in your chat apps · Activity score 5.0/5 (Thriving)
- [n8n-io/n8n](n8n-io-n8n.md): Fair-code workflow automation with a visual canvas, custom code and 1500+ integrations · Activity score 5.0/5 (Thriving)
- [langgenius/dify](langgenius-dify.md): Visual platform for building LLM apps with RAG pipelines, agents and model integrations · Activity score 5.0/5 (Thriving)
- [open-webui/open-webui](open-webui-open-webui.md): Self-hosted web UI for chatting with Ollama and OpenAI-compatible models offline · Activity score 5.0/5 (Thriving)
- [langchain-ai/langchain](langchain-ai-langchain.md): Python framework for building agents and LLM applications from composable components · Activity score 5.0/5 (Thriving)
- [paperclipai/paperclip](paperclipai-paperclip.md): Manage a team of AI agents with goals, budgets and task tracking · Activity score 5.0/5 (Thriving)
