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.

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

What Portkey Offers

01

AI Gateway

Controls access to AI models and manages API requests, ensuring secure and regulated usage of LLMs.

02

Observability Dashboard

Provides real-time monitoring of LLM behavior, allowing teams to catch anomalies and proactively manage usage patterns.

03

Guardrails

Enforces safety and compliance rules on LLM responses, preventing unintended outputs and ensuring responsible AI usage.

04

Prompt Management

Offers tools for creating, versioning, and managing prompts used by LLMs, improving AI application performance and consistency.

Common Use Cases

01

Production AI Applications

Deploying and scaling GenAI models for real-world applications, such as chatbots or content generation tools.

02

AI Governance & Compliance

Monitoring and controlling AI models to ensure they adhere to safety regulations and organizational policies.

03

LLM Observability

Tracking the performance and behavior of large language models to identify issues and optimize results.

04

AI Agent Development

Building and managing AI agents that interact with external systems and data sources.

Open Source Alternatives

Python
84%
MIT

LiteLLM

AI Development · Developer Tools

56,720

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
92
Repo Health
81
Technical
71
Dependency
Built with
Python84%
TypeScript14%
Updated yesterday
TypeScript
95%
MIT

OmniRoute

AI Agents

50,700

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
86
Repo Health
70
Technical
75
Dependency
Built with
TypeScript95%
Updated yesterday
TypeScript
79%
LGPL 3.0

Latitude

AI Agents · Monitoring

4,593

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

View details
86
Repo Health
88
Technical
67
Dependency
Built with
TypeScript79%
Python11%
Updated yesterday
Rust
64%
Apache 2.0

agentgateway

AI Development · Developer Tools

4,420

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
88
Repo Health
82
Technical
72
Dependency
Built with
Rust64%
Go24%
Updated 2 days ago
TypeScript
95%
Other

LLM Gateway

AI Development · Devops

1,555

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

View details
85
Repo Health
80
Technical
72
Dependency
Built with
TypeScript95%
Updated yesterday
Python
69%
Apache 2.0

otari

AI Development · Developer Tools

393

A self-hosted, OpenAI-compatible LLM gateway that puts one endpoint in front of 40+ providers, with virtual API keys, per-user budgets enforced before spend, and full usage tracking.

View details
77
Repo Health
88
Technical
78
Dependency
Built with
Python69%
TypeScript30%
Updated yesterday
TypeScript
87%
MIT

RelayPlane

AI Agents

198

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
63
Repo Health
68
Technical
75
Dependency
Built with
TypeScript87%
JavaScript10%
Updated 3 days ago

Join founders buildingwith open source

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

Subscribe on Substack
Join 750+ subscribers

Search