Portkey-AI/gateway
An open-source AI gateway that proxies and routes requests across 1600+ LLM providers with built-in guardrails and observability.

Portkey AI Gateway acts as a unified API layer for routing requests to hundreds of LLM providers including OpenAI, Anthropic, and open-source models. It provides middleware capabilities including guardrails for content safety, retry logic, load balancing, and cost tracking across model calls. The gateway supports the Model Context Protocol for extending agent capabilities and integrates with the LangChain ecosystem for RAG and chain orchestration.