Langfuse

LLM observability with tracing, prompt management, evaluations and cost tracking.

Active LLM gateway & observability MIT (core) + Langfuse Enterprise License (ee directories)

Quick answer

Langfuse is an LLM observability with tracing, prompt management, evaluations and cost tracking, listed under LLM gateway & observability. A typical small-business use: see what your customer-facing bot actually answered and what it cost. Official hardware: recommended 4 vCPU · 16 GB RAM · 100 GB disk (no separate minimum published). That fits a Hetzner Cloud CPX42 server at about €59.49/month (server only, excl. VAT). License: MIT (core) + Langfuse Enterprise License (ee directories), which allows internal business use.

Last updated · facts verified against official docs on · sources

Heads-up: Langfuse's license changed.
  • : Langfuse's LICENSE file text changed (same license identifier). Re-read it before your next upgrade. Source · that week's changes

The facts below may predate this change; check the license before you deploy or upgrade.

GitHub stars38.3k
Forks4.4k
Latest releasev4.94.0Dec 4, 2026
Last commitDec 4, 2026
Est. server costfrom €59.49/mo

Activity data comes from GitHub and was last refreshed Dec 6, 2026.

What is Langfuse?

Langfuse records every LLM call your apps make (inputs, outputs, latency, tokens and cost) and adds prompt versioning, datasets and evaluations. It integrates with OpenAI SDKs, LangChain, LiteLLM and many frameworks.

Where it fits in a 10–200 person business

  • See what your customer-facing bot actually answered and what it cost
  • Version prompts and roll back bad changes
  • Score answer quality before and after switching models

These use cases are our editorial suggestions, not claims made by the project.

Can a business use Langfuse? (license)

LicenseMIT (core) + Langfuse Enterprise License (ee directories)
TypeOpen core: Core is MIT/Apache; enterprise folders need a paid license.
Internal business useAllowed under the license text
What to watchEverything outside ee/, web/src/ee/, worker/src/ee/ and packages/shared/src/server/ee/ is MIT. Those directories need a commercial license.

This is a plain-English summary of the license text, not legal advice. Third-party models you run with it have their own licenses.

Data & compliance: does Langfuse phone home?

Telemetry (usage data sent to the vendor) On by default

Self-hosted Langfuse sends aggregated usage telemetry (no traces or prompts) to PostHog Cloud (eu.posthog.com) by default. With an Enterprise license key it cannot be turned off.

How to turn it off: Set TELEMETRY_ENABLED=false on all Langfuse containers.

Source: langfuse.com/self-hosting/security/telemetry

Other calls home by default (updates, marketplaces, default cloud services) Yes, by default

The newsletter step during sign-up makes new users' browsers contact langfuse.com.

How to turn it off: Set LANGFUSE_DISABLE_SIGNUP_ONBOARDING=true.

Source: langfuse.com/self-hosting/configuration/hardening

Single sign-on (OIDC / SAML / LDAP) Free

By protocol: OIDC free.

Enterprise SSO (Google, Azure AD, GitHub and other providers) is included in the free open-source edition.

Source: langfuse.com/pricing-self-host

Audit log Paid / enterprise only

The audit log viewer needs an Enterprise license; OSS still writes admin actions to the audit_logs Postgres table, which you can query directly.

Source: langfuse.com/self-hosting/configuration/hardening

Role-based access control (RBAC) Basic free, more in paid plan

Organization-level RBAC is free; project-level RBAC roles need an Enterprise license key.

Source: langfuse.com/self-hosting/license-key

Data residency / GDPR notes from the project Not documented

Checked against the project's own docs and repository on . "Not documented" means we could not find the answer in official sources; it does not mean the feature is missing or that no data is sent. Third-party services you connect (model APIs, vector databases, search engines) have their own data policies. Compare all apps.

What hardware does Langfuse need?

MinimumNot published
Recommended4 vCPU · 16 GB RAM · 100 GB disk

For a single-VM Docker Compose deployment the docs recommend at least 4 cores and 16 GiB (e.g. AWS t3.xlarge) and ample storage, e.g. 100 GiB, because trace data grows quickly.

Source: langfuse.com/self-hosting/deployment/docker-compose

How much does it cost to host Langfuse per month?

Recommended spec4 vCPU · 16 GB RAM · 100 GB disk → CPX42 (8 vCPU, 16 GB, 320 GB disk) €59.49/mo

How we got this: we took the cheapest Hetzner Cloud Regular Performance (shared AMD vCPU) plan with at least the RAM and vCPU the project lists, using prices read from www.hetzner.com/cloud/regular-performance on 2026-11-30. "From" monthly price cap shown by Hetzner, excluding VAT. Prices vary by location. Covers the server only; it excludes LLM API usage, backups, extra storage, GPUs and your time. Disk is not matched; add a volume if you need more than the plan includes.

How to deploy Langfuse

Method: Docker Compose

git clone https://github.com/langfuse/langfuse.git
cd langfuse
# update the secrets in docker-compose.yml first
docker compose up

From the official instructions: langfuse.com/self-hosting/deployment/docker-compose. Always check the source for the current version before you run it.

Known gotchas when self-hosting Langfuse

  • Update the secrets in docker-compose.yml before the first start. source
  • There is no default login. The first user signs up in the UI. Docker's default json-file logging does not rotate logs, which can fill the disk unless you set max-size and max-file. source

Alternatives in LLM gateway & observability

  • LiteLLM AI gateway that puts 100+ LLM providers behind one OpenAI-compatible API with keys and budgets.
  • New API Self-hosted AI API gateway (One API fork) that puts many model providers behind one key, with quotas, usage logs and cost tracking.
  • One API Original self-hosted LLM API gateway that puts many model providers behind one OpenAI-style key, with quotas and token management.
  • MLflow Open-source platform for LLM tracing, evaluation and prompt management plus classic ML experiment tracking and model registry.
  • Promptfoo CLI and web viewer for testing prompts, comparing models and red-teaming LLM apps before they ship.
  • Opik Open-source LLM observability and evaluation platform for tracing, evals, prompt management and monitoring.
  • Portkey AI Gateway Open-source AI gateway that routes to 1,600+ models with retries, caching, load balancing and guardrails.
  • Phoenix Free self-hosted LLM tracing, evaluation, datasets and prompt management from Arize.
  • Helicone Open-source LLM observability platform for tracing, cost and evaluation, with a self-hosted all-in-one image.
  • LangWatch Open-source LLM ops platform for tracing, evaluations, agent simulations, prompt management and an AI gateway.
  • ContextForge MCP Gateway IBM's open-source gateway and registry that puts MCP servers, A2A agents and REST/gRPC APIs behind one governed endpoint.
  • OpenLIT OpenTelemetry-native observability, evals, guardrails and cost tracking for AI agents, self-hosted under Apache 2.0.

Langfuse FAQ

How much RAM does Langfuse need?

The recommended spec is 4 vCPU · 16 GB RAM · 100 GB disk. For a single-VM Docker Compose deployment the docs recommend at least 4 cores and 16 GiB (e.g. AWS t3.xlarge) and ample storage, e.g. 100 GiB, because trace data grows quickly.

How much does it cost to self-host Langfuse?

The software is free to download. Based on the official recommended 4 vCPU · 16 GB RAM · 100 GB disk (no separate minimum published): That fits a Hetzner Cloud CPX42 server at about €59.49/month (server only, excl. VAT). That covers the server only, not LLM API usage, backups, extra storage or your time.

Is Langfuse free for commercial use?

Langfuse is licensed under MIT (core) + Langfuse Enterprise License (ee directories) (Open core). Internal business use is allowed under the license text. Everything outside ee/, web/src/ee/, worker/src/ee/ and packages/shared/src/server/ee/ is MIT. Those directories need a commercial license. This is a summary, not legal advice.

What are common problems when self-hosting Langfuse?

Update the secrets in docker-compose.yml before the first start. There is no default login. The first user signs up in the UI. Docker's default json-file logging does not rotate logs, which can fill the disk unless you set max-size and max-file.

Is Langfuse still maintained?

Yes, it is actively developed. Last commit: Dec 4, 2026. Latest release: v4.94.0 (Dec 4, 2026). Checked Dec 6, 2026.

How do I install Langfuse?

The official method is Docker Compose. The exact commands are in the "How to deploy" section above and in the official instructions: https://langfuse.com/self-hosting/deployment/docker-compose

What are self-hosted alternatives to Langfuse?

Other apps in LLM gateway & observability: LiteLLM, New API, One API, MLflow, Promptfoo, Opik, Portkey AI Gateway, Phoenix, Helicone, LangWatch, ContextForge MCP Gateway, OpenLIT.

Sources

Facts on this page were checked against the project's own repository and docs on 2026-10-25. Spotted something out of date? Tell us.