# Helicone vs LiteLLM: logging proxy or routing gateway on BYOK?

URL: https://infro.io/blog/helicone-vs-litellm-logging-proxy-or-routing-gateway-on-byok
Author: INFRO Editorial (https://infro.io/blog/editorial)
Publisher: INFRO
Published: 2026-11-30
Last modified: 2026-11-30
Last reviewed: 2026-11-30 (next review due 2026-12-30)
Topic: Architecture and migration
Format: Comparison

> Helicone is an observability-first layer, offered as a gateway or an async logger. LiteLLM is a routing library and self-hosted proxy that you run on your own keys. Pick by whether the job is seeing traffic or controlling it, and whether you can operate a service in the request path.[^infro-helicone-migration][^infro-litellm-migration]

Key takeaways:
- Helicone's strength is the request record; its async logger can stay off the critical path, while a gateway on the path can also route.
- LiteLLM's strength is routing and virtual-key budgets on your own keys, in-process as a library or as a proxy you deploy with Postgres and Redis.
- Where the layer sits decides what it can do: only a layer on the request path can fail a request over or refuse it against a budget.
- Running a proxy yourself moves patching, scaling and on-call to you; LiteLLM's 2026 advisories show what tracking that means.
- Helicone's status was unsettled as of INFRO's 19 November 2026 reading, so export history before relying on it for new work.

## Two layers that look alike from the outside

Both products take an OpenAI-shaped request and let you keep your own provider keys, so the comparison tends to collapse into "which dashboard is nicer." It is better to start from the job each was built for.

Helicone is observability-first. INFRO's reading of its public docs describes two integration shapes: point an OpenAI-compatible client at its AI gateway, or wrap your provider SDK with an OpenLLMetry-based logger so Helicone is not in your application's critical path.[1] The second shape is what makes it a logging proxy in spirit: your request goes straight to the provider and the record is shipped on the side.

LiteLLM is routing-first. It is two things: a Python SDK that speaks to 100+ providers, and a proxy you deploy with Postgres and Redis that adds virtual keys, budgets, fallbacks and caching, all on your own provider keys.[2]

One caveat on freshness. INFRO's migration guide records that on 19 November 2026 Helicone's homepage said it is now part of Experiential Labs, details to come, and its sign-up page said sign-ups were disabled. No shutdown date or retention commitment had been announced.[1] Nothing there forces a move, but it should shape how much new work you build on it.

## Where each sits in the request path

The request path decides what a layer can do. A layer that only records can never change an outcome. A layer on the path can retry, redirect or refuse.

|  | Helicone | LiteLLM |
| --- | --- | --- |
| On the request path? | Optional: gateway mode is on the path, the async logger is not[1] | SDK: in your process. Proxy: yes, a service you run[2] |
| Primary job | Request log, cost and session analysis | Routing, keys, budgets, fallbacks |
| Who runs it | Helicone's cloud, or you (open source)[1] | You, always[3] |
| Source and licence | Open source platform per INFRO's reading | MIT outside `enterprise/`, licensed Enterprise edition[2] |

Table: Placement and ownership, as read from INFRO's migration guides on 30 November 2026.

Two consequences follow. With the async logger, an outage at the logging vendor does not take your calls down, but the same property means nothing can fail a request over or block it. With a proxy on the path, either product's availability becomes your availability: LiteLLM's proxy has no one else's uptime in front of it, only yours.

The SDK mode of LiteLLM is the odd one out. Routing runs in-process, so there is no extra network hop and no shared service to patch, but each application carries its own copy of the routing config, and a budget or key policy has nowhere central to live. The central virtual-key and budget features belong to the proxy.

## What each does when a provider fails

Failover is where the "logging proxy or routing gateway" distinction turns concrete.

LiteLLM treats reliability as configuration: `fallbacks`, `num_retries`, cooldowns and `allowed_fails` per model group, plus context-window and content-policy fallbacks that pick a different model when a prompt is too long or a provider refuses it.[2] You write and test those rules, and you own the behaviour when they interact.

Helicone's gateway offers provider fallback through the gateway, per INFRO's reading, and nothing in its logging-only shape retries anything.[1] If you chose the async logger, then failover is whatever your application or SDK does, and the log will show errors but not a recovery.

A useful reference for what "good" looks like is INFRO's own documented behaviour, which is deliberately narrow. Connection failover tries the same model on another of your own connections; model fallbacks are an opt-in ordered list of other models; both operate strictly before the first token, so once bytes are flowing an error surfaces to the client instead of being re-routed.[4] Any gateway you evaluate should answer the same three questions in writing:

1. What counts as a failure that triggers a move (5xx, timeout, 429, 401/403, 404, even 400/422)?
2. Is the move same-model or cross-model, and who opted in?
3. What happens after the first streamed token?

Run a drill before production traffic depends on the answers. The [failover checklist](https://infro.io/blog/llm-failover-checklist-what-to-verify-before-the-first-outage) lists what to verify.

## Budgets and key handling on your own keys

On key handling the two products differ in where your provider secrets sit and what applications hold.

LiteLLM keeps provider keys in its config (`litellm_params`) and issues virtual keys to callers. Each virtual key carries allowed models, a budget, tpm and rpm limits, and a team and user.[2] Budgets (`max_budget`, `budget_duration`) apply per key, team or user, and spend tracking uses LiteLLM's model price map.[2] The gateway therefore holds a key for every provider account you have, which is why INFRO's page on LiteLLM recommends inference-only keys, one per provider account, never an admin key, and a rehearsed, timed rotation of everything the gateway holds.[3]

Helicone's side, per INFRO's reading, is attribution and rate limits: custom properties sent as `Helicone-Property-<Name>` headers, `Helicone-User-Id` for end users, and a `Helicone-RateLimit-Policy` header that sets a quota per window in requests or cost, segmented globally, per user or per custom property.[1] That is a rate-limit model, not a hierarchy of org, project and key budgets; check whether your finance and security teams need the latter.

For comparison, INFRO's budgets sit at organization, project, member and key level; a blocking budget admits a request only if its worst-case estimated cost fits the room left, and those limits apply to estimated spend on your own provider accounts, not to a balance held with INFRO.[5] Whichever layer you pick, ask three things: is the cap checked before the provider call, does it hold under concurrency, and does it count traffic on your own keys?

## What you run yourself

This is the section that usually decides it.

Helicone in cloud mode: nothing to run, but you depend on a vendor whose status was unsettled in INFRO's last reading. The platform is open source and can be run yourself if you need that.[1]

LiteLLM: INFRO's list of what you take on is a server and a Postgres database (budgets, keys and spend live there, so slow Postgres means slow requests), upgrades and release verification, on-call, scaling, and SSO beyond five users needing an Enterprise licence.[3] The security record is part of the cost. LiteLLM's own blog lists a PyPI compromise of releases 1.82.7 and 1.82.8 on 24 March 2026, a SQL injection in proxy key verification fixed in 1.83.7, and a Host-header authentication bypass fixed in 1.84.0.[2] The official Docker image was not affected by the PyPI incident, and a clean 1.83.0 shipped.[3] None of that is a reason to avoid it. It is the work of tracking advisories, pinning by hash and isolating a service that holds all your provider keys.

> **Note: Illustrative checklist, not a benchmark**
> If you run a routing proxy yourself, budget engineer time for: patch SLA for advisories, dependency pinning by hash, a database backup and restore drill, a key-rotation drill, and an on-call rota. If nobody owns those five, the proxy's flexibility is not free.

## Telemetry you can carry out

Whichever you choose, keep the trace data portable. OpenTelemetry's generative-AI semantic conventions are the common vocabulary for model-call spans, and the project now maintains them in a separate repository, so check the current version before you map attributes.[6] LiteLLM reaches other tools through callbacks, and INFRO's guide notes that callbacks do not come across to a different gateway; OpenTelemetry export is the portable route.[2]

## Where a hosted BYOK control plane fits

There is a third shape, and INFRO is one example: a hosted layer on the request path, over provider accounts you connect, with 0% markup on model spend and a software subscription.[7] It is always on the path, which INFRO's own Helicone guide calls a real trade, because that is what lets it route, fail over and refuse against a budget.[1] It is hosted and closed source, so if the gateway must run inside your own network, choose a different layer. It exports requests as CSV, usage and FOCUS datasets, and sends spans to your own OpenTelemetry collector from the request path, delivered best effort outside the response.[8] If you want LiteLLM's job without operating it, or Helicone's record plus routing and caps, that is the case it targets. See the [failover](https://infro.io/docs/features/fallbacks), [spend controls](https://infro.io/docs/org/spend-controls) and [exports](https://infro.io/docs/observability/exports) docs for the exact behaviour. It does not replace a trace tree: it records model calls, not the tool and retrieval steps between them.[1]

## How to choose

- Pick **Helicone-style logging** if the job is seeing and attributing traffic, you want nothing on the critical path, and you accept that failover and caps live elsewhere. Plan an export first given the vendor's unsettled status.
- Pick **LiteLLM SDK** if you want in-process routing with no gateway hop and you accept per-service config.
- Pick **LiteLLM proxy** if keys and prompts must stay in your network and a platform team already owns Postgres, Redis, upgrades and on-call.
- Pick a **hosted BYOK gateway** if you want routing, budgets and a request log without running the service, and can live with it being hosted.

Decide first which layer owns failover and spend refusal. Then check that the other layers do not also retry, or one provider error becomes several.

## Questions

### Is Helicone or LiteLLM better for BYOK?

Both work on your own provider keys, so neither decides it. Choose Helicone-style tooling when the need is a request record and cost analysis, and LiteLLM when you need routing, fallbacks and virtual-key budgets in your own network and can run the service. Helicone can also supply model access of its own, which BYOK users should avoid if they want every request on their own contract.[1][2]

### Can LiteLLM replace Helicone's logging?

Partly. LiteLLM tracks spend by key, team, user and tag in its own Postgres and can send callbacks to logging tools. It is not a purpose-built observability product with Helicone's session views, so teams often pair it with a separate tracing tool.[2][3]

### Can I use both together?

Yes, as layers. A LiteLLM proxy speaks the OpenAI API, so it can be an upstream of another gateway, and logging can sit beside it. The cost is an extra hop and two places to configure keys and budgets, so decide which layer owns failover and caps before stacking them.[2]

### What happens to Helicone history if I leave?

INFRO's guide says the service published no shutdown date or retention commitment as of 19 November 2026, and that INFRO has no importer for Helicone data. Export requests, properties and scores from Helicone and keep them where you control them before you stop sending traffic.[1]

## Sources

1. Migrating from Helicone — INFRO. https://infro.io/migrate/helicone (accessed 2026-11-30)
2. Migrating from LiteLLM proxy to INFRO — INFRO. https://infro.io/migrate/litellm (accessed 2026-11-30)
3. LiteLLM alternatives: hosted vs self-hosted gateways — INFRO. https://infro.io/alternatives/litellm (accessed 2026-11-30)
4. Failover & fallbacks — INFRO Docs. https://infro.io/docs/features/fallbacks (accessed 2026-11-30)
5. Spend controls — INFRO Docs. https://infro.io/docs/org/spend-controls (accessed 2026-11-30)
6. Generative AI semantic conventions (moved) — OpenTelemetry. https://opentelemetry.io/docs/specs/semconv/gen-ai/ (accessed 2026-11-30)
7. INFRO documentation — INFRO Docs. https://infro.io/docs (accessed 2026-11-30)
8. Exports & OpenTelemetry — INFRO Docs. https://infro.io/docs/observability/exports (accessed 2026-11-30)
