# Portkey alternatives for AI gateways and observability

**Source:** https://promtable.com/alternatives/portkey

> Choose a Portkey alternative by the layer you need to replace: model routing, a self-run gateway, prompt operations or observability. Separate provider token charges from gateway subscriptions and recorded-log limits.

---
**Short answer:** Our top Portkey alternatives are OpenRouter, LiteLLM and Helicone. Best fit — OpenRouter: Managed model-provider access without running the proxy; LiteLLM: Owning the proxy, provider configuration and key operations; Helicone: Combining a managed gateway with request-level observability.

Choose a Portkey alternative by the layer you need to replace: model routing, a self-run gateway, prompt operations or observability. Separate provider token charges from gateway subscriptions and recorded-log limits.

**Quick answer:** Choose OpenRouter for managed access to model providers, LiteLLM to operate your own proxy, or Helicone for a gateway with request observability. Choose Langfuse when the missing layer is tracing, prompt versions and evaluation. Cloudflare AI Gateway fits teams that want routing controls in their Cloudflare account. Verify the request format, key ownership and data-handling rules before switching.

**Verdict:** Start with the layer that is failing: OpenRouter for managed provider access; LiteLLM when you will operate the proxy and its key-management database; Helicone when gateway routing and request observability belong together. Langfuse addresses traces, prompt versions and evaluations alongside a suitable gateway. Cloudflare AI Gateway is a candidate for teams standardizing controls in Cloudflare, subject to request-format and logging limits. Compare a representative request and failure path before moving production traffic; these are documentation-based recommendations, not measured performance rankings.

**Target query:** portkey alternatives

## Why do people leave Portkey?

A Portkey replacement can change who routes requests, holds provider keys, stores prompts and operates the gateway. For a support assistant, separate the model-provider call from the gateway policy and the trace/evaluation layer. Suggested migration check: use a disposable request, verify the selected provider and model, exercise a failure and fallback, inspect the key budget and access boundary, then check which prompt and response fields were logged. Compare streaming, tool calls and provider-specific parameters your application actually uses. This is an acceptance checklist, not a benchmark or a report of tests we ran.

## At a glance

| # | Alternative | Best for | Main tradeoff | Price |
|---|---|---|---|---|
| 1 | [OpenRouter](https://openrouter.ai/) | Managed model-provider access without running the proxy | A 5.5% (Standard) or 8% (Business) fee is added when you buy credits. | Free; Usage-based; Enterprise: custom pricing |
| 2 | [LiteLLM](https://github.com/BerriAI/litellm) | Owning the proxy, provider configuration and key operations | Hosting, model providers and enterprise features have separate costs or terms. No code example was executed or benchmarked. | Core software is MIT licensed; no hosted cloud price was verified. |
| 3 | [Helicone](https://www.helicone.ai/) | Combining a managed gateway with request-level observability | Usage-based pricing applies on Pro and Team. | Hobby free; Pro $79/mo |
| 4 | [Langfuse](https://langfuse.com/) | Tracing prompt versions and evaluating application behavior | The free Hobby plan keeps 30 days of data and allows 2 users. | Free; Core $29/mo; Pro $199/mo; Enterprise $2,499/mo |
| 5 | [Cloudflare AI Gateway](https://developers.cloudflare.com/ai-gateway/) | Cloudflare-based routing policies with explicit format and log limits | A 5% fee applies to credits bought through Unified Billing. | Core features free; 5% fee on credits |

> This page may show a paid sponsored slot on the HTML version.

## Before you switch

Free; Production $49/mo
- **Free access:** Free Forever plan records 10k logs per month; the vendor says it is not suitable for production workloads.
- Production adds $9 per additional 100k requests. Model-provider charges are separate from the gateway subscription.
- **Official plan details:** https://portkey.ai/pricing

## The ranking

### 1. OpenRouter

- **URL:** https://openrouter.ai/
- **Best for:** Managed model-provider access without running the proxy
- **Price:** Free; Usage-based; Enterprise: custom pricing
- **Official plan details:** https://openrouter.ai/pricing
- **Tradeoff:** A 5.5% (Standard) or 8% (Business) fee is added when you buy credits.
- **Profile:** https://promtable.com/ai-tools/openrouter

OpenRouter is a managed access layer for models from different providers. Choose it when the main requirement is a common provider API rather than operating a proxy. Its FAQ separates provider inference prices from credit-purchase fees and BYOK terms. Confirm the model and provider combination you need; a shared API does not transfer your existing governance policy.

Read more: https://promtable.com/alternatives/openrouter

### 2. LiteLLM

- **URL:** https://github.com/BerriAI/litellm
- **Best for:** Owning the proxy, provider configuration and key operations
- **Price:** Core software is MIT licensed; no hosted cloud price was verified.
- **Official plan details:** https://docs.litellm.ai/docs/proxy/quick_start
- **Tradeoff:** Hosting, model providers and enterprise features have separate costs or terms. No code example was executed or benchmarked.
- **Profile:** https://promtable.com/ai-tools/litellm

LiteLLM provides a self-run proxy configured with model aliases and provider endpoints. It suits teams that want to operate the request path themselves. Its virtual-key setup requires PostgreSQL and a master key for managing access and spend. Budget for the proxy, database, upgrades and credential handling as well as model usage; the core MIT license does not operate those components for you.

Read more: https://promtable.com/alternatives/litellm

### 3. Helicone

- **URL:** https://www.helicone.ai/
- **Best for:** Combining a managed gateway with request-level observability
- **Price:** Hobby free; Pro $79/mo
- **Official plan details:** https://www.helicone.ai/pricing
- **Tradeoff:** Usage-based pricing applies on Pro and Team.
- **Profile:** https://promtable.com/ai-tools/helicone

Helicone AI Gateway combines provider routing and fallbacks with request observability through an OpenAI-compatible endpoint. It is a gateway candidate, not only a log viewer. Its routing guide supports explicit provider selection and ordered fallbacks; pinning one provider prevents automatic failover to other providers. Check that tradeoff before copying a Portkey routing policy.

Read more: https://promtable.com/alternatives/helicone

### 4. Langfuse

- **URL:** https://langfuse.com/
- **Best for:** Tracing prompt versions and evaluating application behavior
- **Price:** Free; Core $29/mo; Pro $199/mo; Enterprise $2,499/mo
- **Official plan details:** https://langfuse.com/pricing
- **Tradeoff:** The free Hobby plan keeps 30 days of data and allows 2 users.
- **Tradeoff:** Code in the ee directories is under a separate enterprise license.
- **Profile:** https://promtable.com/ai-tools/langfuse

Langfuse records application traces and links a prompt version to its generation, metrics and evaluations. Choose it when the missing capability is explaining or improving an LLM workflow while retaining a suitable model gateway. Instrument the application and link the prompt to the intended generation; a tracing integration alone is not a replacement for provider-routing rules.

Read more: https://promtable.com/alternatives/langfuse

### 5. Cloudflare AI Gateway

- **URL:** https://developers.cloudflare.com/ai-gateway/
- **Best for:** Cloudflare-based routing policies with explicit format and log limits
- **Price:** Core features free; 5% fee on credits
- **Official plan details:** https://developers.cloudflare.com/ai-gateway/reference/pricing/
- **Tradeoff:** A 5% fee applies to credits bought through Unified Billing.
- **Profile:** https://promtable.com/ai-tools/cloudflare-ai-gateway

Cloudflare AI Gateway offers configurable routing flows with model, rate-limit and budget nodes in a Cloudflare account. Its Dynamic Routing feature, marked Beta in the documentation, accepts OpenAI chat-completions request shapes, so check compatibility if you use provider-native formats. Logging limits and pricing depend on the applicable Workers Logs or Legacy Logs regime; do not budget an unlimited logging service from gateway access alone.

## Head-to-head comparisons

- [OpenRouter vs Portkey: which LLM gateway should you ship in 2026?](https://promtable.com/compare/openrouter-vs-portkey)
- [Langfuse vs Helicone: which LLM observability platform wins in 2026?](https://promtable.com/compare/langfuse-vs-helicone)
- [OpenRouter vs LiteLLM: which LLM gateway wins in 2026?](https://promtable.com/compare/openrouter-vs-litellm)

## Sources

- [Portkey pricing: Developer scope and log retention](https://portkey.ai/pricing)
- [OpenRouter FAQ: model access, provider pricing and BYOK fees](https://openrouter.ai/docs/faq)
- [LiteLLM proxy quick start: model configuration and license](https://docs.litellm.ai/docs/proxy/quick_start)
- [LiteLLM virtual keys: PostgreSQL and master-key requirements](https://docs.litellm.ai/docs/proxy/virtual_keys)
- [Helicone AI Gateway: routing with observability](https://docs.helicone.ai/gateway/overview)
- [Helicone provider routing: pinning and fallback behavior](https://docs.helicone.ai/gateway/provider-routing)
- [Langfuse application tracing overview](https://langfuse.com/docs/observability/overview)
- [Langfuse prompt versions linked to generation traces](https://langfuse.com/docs/prompt-management/features/link-to-traces)
- [Cloudflare Dynamic Routing: flow controls and request format](https://developers.cloudflare.com/ai-gateway/features/dynamic-routing/)
- [Cloudflare AI Gateway limits: current and legacy logging](https://developers.cloudflare.com/ai-gateway/reference/limits/)

## FAQ

### Can Langfuse replace Portkey routing?

Langfuse documents application tracing and linking prompt versions to generation traces and evaluations. That addresses debugging and prompt-quality workflows. If your application also needs model-provider routing, keep or choose a gateway separately; installing tracing does not reproduce your Portkey routing policy.

### Is Helicone only a request-logging tool?

No. Its AI Gateway documents an OpenAI-compatible interface, provider routing and failover alongside observability. Its provider-routing guide also distinguishes a pinned provider from a fallback chain: pinning one provider disables automatic failover to others. Decide which behavior your application needs instead of assuming every request can use another provider.

### What do I need to operate LiteLLM virtual keys?

The documented proxy key-management setup requires PostgreSQL and a proxy master key. Virtual keys can control model access and track spend, but deploying that path also means operating the proxy, database and privileged credentials. The core software license does not include infrastructure, model usage or security operations.

### Does a free gateway include free model usage?

No. Separate model inference, gateway access, hosting and log storage in your estimate. OpenRouter lists credit-purchase fees separately from underlying provider prices, and its BYOK allowance and fees have their own terms. A self-hosted proxy still needs provider access and hosting. No cheapest-provider comparison was measured for this page.

### What should I check before choosing Cloudflare AI Gateway?

Match your request format to the feature you intend to use. Cloudflare currently labels Dynamic Routing as Beta and documents it for OpenAI chat-completions requests; that route feature does not accept Anthropic Messages format. Also check the applicable logging regime: customers creating their first gateway on or after September 24, 2026 use Workers Logs limits and pricing, while earlier customers use Legacy Logs. Gateway features do not make inference or unlimited logging free.

### When should I keep Portkey instead of migrating?

If Portkey already meets your routing, observability and operational requirements, first check whether the problem is a plan limit or a missing configuration. Its pricing page positions Developer for prototyping, testing and evaluation rather than production workloads. An observability allowance or retention limit is different from a request-routing failure; reproduce the actual gap before changing your production request path.

## Related

- [/alternatives/openrouter](https://promtable.com/alternatives/openrouter)
- [/alternatives/litellm](https://promtable.com/alternatives/litellm)
- [/alternatives/langfuse](https://promtable.com/alternatives/langfuse)
- [/compare/openrouter-vs-portkey](https://promtable.com/compare/openrouter-vs-portkey)

*Last updated: 2026-11-16*
---

Original page: https://promtable.com/alternatives/portkey
Maintained by Promtable (https://promtable.com). Content: CC BY 4.0. Cite as "Promtable — https://promtable.com/alternatives/portkey".
Contact: info@vibecodingturkey.com.