Langfuse
Langfuse is a self-hosted platform in the Evaluation & Observability section of Lattice. Self-hostable LLM tracing, prompt management and cost analytics.
By Kunj ShahFacts verifiedmethod
- Licence
- MIT
- Language
- TypeScript
- Cost
- free tier
- Owned by
- Production & Governance
Use Langfuse when
Self-hostable tracing, prompts and evals in one place.
Skip Langfuse when
You want a fully managed product with a support contract.
The only way to know whether any of the above works. See every evals tool.
Also belongs in
- Prompt EngineeringIts prompt registry versions prompts and ties each version to the traces and scores it produced.
Badge this entry
[](https://lattice.kunjshah.in/evaluation-observability/langfuse)Rules of thumb
- Build the eval set before tuning anything. Every later decision in the stack is only as good as the measurement behind it.
- Trace every production call with its prompt, model and output. You cannot fix a failure you cannot replay.
- Grade with code where you can and with a model where you must. A model grader needs its own spot-checks against human labels.
Quick answers
- Is Langfuse open source?
- Yes. Langfuse is open source under the MIT licence. It has a free tier, with paid plans above it.
- What are the alternatives to Langfuse?
- The closest alternatives to Langfuse are LangSmith, Braintrust, Arize Phoenix, Gentrace and Opik.
Ask an AI about this page
Opens the assistant with this page’s link and a question already filled in.
Compared in
Reading on evals
- When you don't need LLM evals (and when you do)Skip evals while nothing depends on the output. The day a prompt change can break something a user relies on, you need them, and twenty cases is enough to start.
- Do you need an AI gateway?Every team needs one place where model calls go through. Not every team needs a gateway product to be that place, yet.
- When not to use a vector databaseBad retrieval is usually a ranking or chunking problem wearing a database costume. Fix those first, and the store you already run often turns out to be enough.
- Fix the ranking, not the promptWhen a RAG system gives a bad answer, the instinct is to rewrite the prompt. Nine times out of ten the prompt is fine and the context was never there.
- Evals are the asset, not the loggingTraces tell you what happened. Evals tell you whether it got better. Most teams build the first and mistake it for the second.
- Build a cost model before you optimiseTeams optimise the thing they can see in the dashboard. The dashboard shows tokens. The number that matters is cost per successful outcome, and nobody is measuring it.
- Observability is not loggingA log line with a status code is not a trace. The difference is whether it can reconstruct a decision after the model that made it has been replaced twice.
Alternatives to Langfuse
compare 5 →- LangSmithTracing, evaluation and dataset tooling across LangChain runs.
- BraintrustEvaluation platform with built-in scorers and a data flywheel.
- Arize PhoenixOpen-source tracing and evaluation built on OpenTelemetry.
- GentraceOpen-source tracing and dashboards for LLM applications.
- OpikOpen-source LLM observability and evaluation from Comet.
Listed as an alternative to
- LangSmithLangSmithTracing, evaluation and dataset tooling across LangChain runs.proprietary · saas · usage-based
Use when Teams already deep in LangChain needing tracing and datasets.
Skip when Traces cannot leave your infrastructure.
- BraintrustBraintrustEvaluation platform with built-in scorers and a data flywheel.proprietary · saas · usage-based
Use when Making evaluation, rather than tracing, the primary workflow.
Skip when You need open formats and self-hosting.
- Arize PhoenixArize PhoenixOpen-source tracing and evaluation built on OpenTelemetry.Apache-2.0 · self-hosted · free
Use when OpenTelemetry-native evaluation you can run yourself.
Skip when You want a vendor support contract behind it.
- HeliconeHeliconeGateway-level observability with per-request cost and latency.proprietary · saas · free-tier
Use when Gateway-level observability with per-request cost and latency.
Skip when You need eval primitives more than traffic logs.
Also in evals
- LangSmithLangSmithTracing, evaluation and dataset tooling across LangChain runs.proprietary · saas · usage-based
Use when Teams already deep in LangChain needing tracing and datasets.
Skip when Traces cannot leave your infrastructure.
- BraintrustBraintrustEvaluation platform with built-in scorers and a data flywheel.proprietary · saas · usage-based
Use when Making evaluation, rather than tracing, the primary workflow.
Skip when You need open formats and self-hosting.
- Arize PhoenixArize PhoenixOpen-source tracing and evaluation built on OpenTelemetry.Apache-2.0 · self-hosted · free
Use when OpenTelemetry-native evaluation you can run yourself.
Skip when You want a vendor support contract behind it.
- promptfoopromptfooDeclarative red-teaming and regression tests for prompts and agents.MIT · self-hosted · free
Use when Declarative red-teaming and regression tests that run in CI.
Skip when You need a managed UI rather than a test runner.
- DeepEvalDeepEvalOpen-source pytest-style evaluation suite for LLM outputs.Apache-2.0 · self-hosted · free
Use when pytest-style evaluation you can run next to your unit tests.
Skip when You need a platform rather than a library.
- HeliconeHeliconeGateway-level observability with per-request cost and latency.proprietary · saas · free-tier
Use when Gateway-level observability with per-request cost and latency.
Skip when You need eval primitives more than traffic logs.
- Weights & BiasesWeights & BiasesExperiment tracking and model registry with LLM eval surfaces.proprietary · saas · usage-based
Use when Experiment tracking and a model registry, with eval surfaces on top.
Skip when You need an open, exportable format.
- OpenTelemetryOpenTelemetryVendor-neutral standard for emitting traces and metrics.Apache-2.0 · self-hosted · free
Use when A vendor-neutral standard for emitting traces and metrics.
Skip when You want a product with a user interface.
- VellumVellumPrompt and eval platform with a visual debugger for chains.proprietary · saas · usage-based
Use when Prompt and eval work with a visual debugger for chains.
Skip when Self-hosting or reproducibility is a requirement.
- GentraceGentraceOpen-source tracing and dashboards for LLM applications.Apache-2.0 · self-hosted · free-tier
Use when Open-source tracing and dashboards for LLM applications.
Skip when You want eval depth more than traffic visibility.
- OpikOpikOpen-source LLM observability and evaluation from Comet.Apache-2.0 · self-hosted · free
Use when Open-source observability and evaluation you run yourself.
Skip when You need enterprise support behind it.
- Evidently AIEvidently AIEvaluation and monitoring for both classical and LLM systems.Apache-2.0 · self-hosted · free
Use when One evaluation model for both classical ML and LLM systems.
Skip when You only need LLM-specific tracing.