Alternatives/Portkey

Open Source Portkey Alternatives

Route LLM requests without vendor fees. Open source Portkey alternatives for AI gateway, model routing, and API observability you fully own.

6 alternatives available

Portkey is a platform designed to help AI teams productionize their Gen AI applications. It offers features like an AI Gateway for controlling access and managing API requests, sophisticated Observability tools to monitor LLM behavior and catch anomalies, Guardrails for ensuring AI safety and compliance, and a Prompt Management system. It aims to simplify the complex process of deploying AI models into real-world applications.

However, some users may seek alternatives to Portkey due to its potentially limited customization options or a desire for complete self-hosting and control. While Portkey offers an open source component, users may prefer a fully open source stack for greater flexibility and cost savings. The need for robust LLM monitoring, strong AI governance features, and the ability to manage prompts effectively drive many users to explore alternative solutions.

The core components Portkey provides – AI gateway, observability and guardrails - are critical for any production GenAI application. Building these tools in-house or leveraging a suite of open source alternatives allows teams greater control and potentially lower long-term costs. Additionally, some organizations may have specific security or compliance requirements that necessitate a fully self-managed infrastructure.

Open Source Alternatives

Python
86%
MIT
91

LiteLLM

AI Development · Developer Tools

52,619

Open source AI gateway and Python SDK that gives you one OpenAI-compatible interface to call 100+ LLM providers, with built-in routing, cost tracking, guardrails, and virtual keys.

View details

LiteLLM

MIT
9,469
Forks
2.9 years
Age
Built with
Python86%
TypeScript12%
Updated yesterday
TypeScript
94%
MIT
85

OmniRoute

AI Agents

11,390

A free, open-source AI gateway connecting Claude Code, Codex, Cursor, Cline, and Copilot to 237 AI providers (90+ free) through one endpoint, with automatic fallback and token-compression to stretch free-tier limits further.

View details

OmniRoute

MIT
1,645
Forks
5 months
Age
Built with
TypeScript94%
Updated yesterday
TypeScript
76%
LGPL 3.0
86

Latitude

AI Agents · Monitoring

4,375

Open-source AI agent monitoring that catches what will break next before your users do.

View details

Latitude

LGPL 3.0
351
Forks
2 years
Age
Built with
TypeScript76%
Rust12%
Python11%
Updated yesterday
Rust
62%
Apache 2.0
87

agentgateway

AI Development · Developer Tools

3,677

An open source AI-native proxy that secures, observes, and governs agent-to-LLM, agent-to-tool, and agent-to-agent communication through MCP, A2A, and unified LLM routing.

View details

agentgateway

Apache 2.0
619
Forks
1.3 years
Age
Built with
Rust62%
Go24%
TypeScript11%
Updated 4 days ago
TypeScript
95%
Other
80

LLM Gateway

AI Development · Devops

1,371

One API endpoint for 25+ LLM providers — route, track costs, enforce compliance, and switch models without changing your code.

View details

LLM Gateway

Other
151
Forks
1.2 years
Age
Built with
TypeScript95%
Updated yesterday
TypeScript
92%
MIT
64

RelayPlane

AI Agents

186

An npm-native, drop-in LLM proxy for Node.js — swap in as your OpenAI/Anthropic base URL to get per-request cost tracking, task-aware routing, budget enforcement, and anomaly detection running locally, for free.

View details

RelayPlane

MIT
31
Forks
5 months
Age
Built with
TypeScript92%
Updated 1 months ago

Join founders buildingwith open source

Opinionated takes, migration guides, cost-saving tips, and insights from the open source ecosystem.

Subscribe on Substack

No spam. Unsubscribe anytime.

Join 750+ subscribers
No spam. Unsubscribe anytime.

Search