Portkey
5.8/10$240/yr moreBest OSS production gateway, Apache 2.0 with caching and guardrails
Apache 2.0 production gateway since March 2026 with caching, fallbacks, prompt management, and guardrails.
| Plan | Monthly | Annual | What you get |
|---|---|---|---|
| Open Source | Free | — | Apache 2.0 self-hosted gateway with Universal API, retries, routing, guardrails, automatic fallbacks, basic dashboard, and load balancing; free forever (open-sourced March 2026) |
| Developer Free | Free | — | Free hosted tier with 10K recorded logs a month, Universal API, key management, 3 prompt templates, and basic observability |
| Production | $49.00/mo | $588.00/yr | $49 a month for 100K logs with unlimited prompt templates, alerts, LLM guardrails, semantic caching, RBAC, and overages at $9 per additional 100K (up to 3M) |
| Enterprise | $2,000.00/mo | $24,000.00/yr | Custom contract with 10M-plus logs, custom retention, advanced guardrails, SSO, VPC hosting, SOC 2 Type II, GDPR, and HIPAA |
Portkey is the OSS production-gateway pick that fully open-sourced under Apache 2.0 on March 24, 2026. Founded 2023 in San Francisco. The wedge: Apache 2.0 self-host ships caching, fallbacks, prompt management, guardrails, RBAC, and observability across 40-plus providers; the same feature set that production teams pay for on Cloud is available free for self-host. Cloud handles around one trillion tokens a day across roughly 24,000 organizations.
Open Source Apache 2.0 is free forever for self-host with Universal API, retries, routing, guardrails, fallbacks, and load balancing. Developer Free hosted covers 10,000 logs a month. Production is the upgrade tier at forty-nine dollars monthly with 100,000 logs, unlimited prompt templates, semantic caching, LLM guardrails, and RBAC. Enterprise covers VPC hosting, SSO, SOC 2 Type II, GDPR, and HIPAA.
The trade-off versus LiteLLM is scope; Portkey is a full production gateway where LiteLLM is a focused routing proxy. The trade-off versus Langfuse is layer; Portkey bundles routing with observability where Langfuse is observability-only. For OSS production teams who want caching and guardrails on one self-hosted gateway, Portkey is the right call.
Pros
- Apache 2.0 OSS gateway since March 2026; production feature set free for self-host
- Caching, fallbacks, prompt management, guardrails, and observability on one dashboard
- Cloud handles around 1 trillion tokens daily across roughly 24,000 organizations
- Production upgrade at forty-nine dollars monthly for managed hosting
- Enterprise covers VPC hosting with SOC 2 Type II, GDPR, and HIPAA
Cons
- Self-host requires you to run and monitor the gateway versus managed Cloud
- Younger OSS community than LiteLLM at this stage
Best for: OSS production teams who want caching, guardrails, and observability on one self-hosted Apache 2.0 gateway with full feature parity to managed Cloud.
- Routing
- 9
- Latency
- 9
- DX
- 8
- Value
- 8
- Support
- 8