Open source LLM observability: what to look for and how to self-host it
LLM observability records what your models and agents do: every model call, tool call, and retrieval, with inputs, outputs, cost, and latency, so you can debug failures and measure quality. Many teams want that tooling to be open source, so they can run it in their own infrastructure, inspect the code, and avoid lock-in. "Open source" covers very different things across tools, though, and the differences matter once you deploy.
TL;DR: Check five things before you pick an open source LLM observability tool: the license, which features are gated, whether self-hosting is production-ready at scale, whether it accepts OpenTelemetry, and whether you can get your data out. Langfuse is MIT-licensed, includes all core features (tracing, evaluation, prompt management, datasets, dashboards) in the open source version without usage limits, runs on the same architecture as Langfuse Cloud, and accepts OpenTelemetry. Self-host it with Docker Compose for a trial or Helm for production.
The optional AI gateway relays model requests from your apps and coding agents to your LLM providers and records them in Langfuse. LLM providers can also run in the same VPC or a peered VPC.
Five questions for any open source tool
| Question | Why it matters | Langfuse |
|---|---|---|
| Which license? | Permissive licenses allow internal use and modification without conditions; others restrict it | MIT for the core; enterprise features in a separately licensed directory |
| Which features are gated? | Some tools open-source only a tracing SDK and keep evaluation or the UI closed | Tracing, evaluation, prompt management, datasets, dashboards, and SSO are open source |
| Is self-hosting production-ready? | A single-container demo is different from a deployment that handles spikes and large payloads | Same architecture as Langfuse Cloud, with Helm and Terraform deployments |
| Does it accept OpenTelemetry? | Standard instrumentation avoids lock-in to one SDK | Native OTLP endpoint, plus SDKs built on OpenTelemetry |
| Can you get your data out? | You may want traces in your warehouse or need to migrate later | Public API, blob storage export, and direct ClickHouse access when self-hosted |
What open source Langfuse includes
- Tracing for agents, RAG pipelines, and chat apps, with sessions, users, and cost tracking.
- Evaluation with LLM-as-a-Judge, code evaluators, annotation queues, datasets, and experiments.
- Prompt management with versions, release labels, and a playground.
- Dashboards and the public API.
- The AI Gateway, in beta, for routing and recording model calls to your providers.
Features such as audit logs, data retention, project-level roles, and server-side masking need an Enterprise license key when self-hosted. See the license key page.
Why teams self-host
- Data stays in their network. Prompts and outputs often contain customer or regulated data. See HIPAA-compliant LLM observability and LLM observability for financial services.
- No internet access. Langfuse does not require it. See air-gapped LLM observability.
- Existing platform. Teams that already run Kubernetes and a data stack add Langfuse at low marginal cost.
Self-hosting is not the only way to use open source Langfuse. Langfuse Cloud runs the same code, if you would rather not operate it. See self-hosted vs Cloud.
Get started
- Try it locally with Docker Compose.
- Instrument an app with the Python or JS/TS SDK, OpenTelemetry, or one of the framework integrations.
- Deploy for production with the Helm chart or the AWS, Azure, or GCP modules. Use the production checklist.
- Plan ClickHouse early. See ClickHouse for self-hosted Langfuse.
FAQ
Is Langfuse open source?
Yes. The core of Langfuse is MIT-licensed on GitHub, and includes all core features without usage limits. A set of enterprise features lives in a separately licensed part of the repository and needs a license key when self-hosted.
Is self-hosted Langfuse free?
The open source version is free, with unlimited usage. You pay for your own infrastructure. Enterprise and Government licenses are paid. See self-hosted pricing.
Can I use Langfuse with OpenTelemetry only, without the Langfuse SDK?
Yes. Langfuse accepts traces on its OpenTelemetry endpoint, so any OpenTelemetry instrumentation or GenAI semantic conventions library can send traces. See OpenTelemetry.