Langfuse joins recorded model calls with prompt versions, datasets and evaluations, with managed Cloud and self-hosting available. That combination suits application teams that want to move from investigating a bad answer to comparing a prompt change against shared examples. Our two setup paths stopped before a completed application workload: the October source build failed, and the November Compose deployment failed during image downloads. The adoption decision therefore rests on documented workflows, exact setup results and attributed operating reports.
What people use Langfuse for
Langfuse's documented uses include tracing retrieval, asynchronous workflows and voice agents, with examples showing different instrumentation paths. The DataCamp tutorial follows a PDF question-answering chain through retrieval and generation, while issue #10430 describes joining separate REST requests under one trace. Those examples answer a useful first question: which application operations must appear together for your team to explain a failure?
| Who used it | What they did | What came out |
|---|---|---|
| DataCamp's tutorial author | Built a PDF question-answering application with LangChain | A nested execution tree showed retrieval and answer generation, with timing for individual operations. PDF Q&A walkthrough |
| OndrejSlama and participants in issue #10430 | Joined file submission, status polling and result retrieval under one trace | Later spans overwrote trace fields; participants passed the original name between calls or added a placeholder span. Asynchronous workflow discussion |
| Jonas1312 | Used the AsyncAzureOpenAI wrapper | Usage-detail validation failed; after a maintainer suggested Python SDK 2.57.11, the reporter said it appeared to work. Azure SDK discussion |
| Langfuse's LiveKit Agents demonstration | Recorded voice-agent turns, tool calls and audio | Visitors can inspect interactions in a shared public project. Voice-agent demonstration |
| jakehilborn, in Langfuse's contributor examples | Built a Spring Boot chat endpoint | The examples repository catalogs Java tracing alongside contributions for other languages and frameworks. Contributor examples |
Langfuse names Canva's AI team as a user of production tracing and debugging for generative design features. This is a customer-use claim from Langfuse's homepage. The specific workflow is relevant to teams investigating generated results: preserve the request history needed to explain an answer, then connect an interesting example to an evaluation. The evaluation overview describes both scoring live traces and running an existing application against a predefined dataset.
What happened when we ran it
Our November 25 deployment failed after 15 seconds during image downloads. The deployment output contains downloading, extraction and filesystem-layer messages, ending at Image doc. The run record identifies commit 3e014524be5f, the repository's Docker Compose configuration and ports bound to 127.0.0.1. The teardown record reports success. These are our deployment observations, separate from the earlier source-build harness.
| Recorded attempt | Result | What the output supports |
|---|---|---|
| November 25 Compose deployment | Failed in 15 seconds | Images were downloading and extracting when the captured output ended. |
| November 25 teardown | OK | Cleanup was recorded as successful. |
| October 12 dependency installation | Succeeded in 89 seconds | 2,101 dependencies recorded and 2,455 MB on disk. |
| October 12 source build | Exit 1 after 5 seconds | The failed task was @langfuse/native#build. |
| October 12 overall test command | Exit 1 after 6 seconds | The native build blocked the command; one component reported 3 passed and 0 failed out of 3. |
The October source run used commit cb2ceba, 3 CPUs and 8 GB RAM, with image label lab-node:22. Its build tail identifies packages/native and @langfuse/native#build, followed by lifecycle exit-code errors. The test tail reaches the same failed task, while @repo/in-app-agent-sandbox-runtime reports three passing tests. The component result and the failed overall command are separate outcomes; neither should replace the other in a setup assessment.
The checkout scan recorded 6,839 files, approximately 1,224,357 source lines and 52.6 MB, with 37 CI workflow files and monorepo workspaces. Its Node/pnpm scan detected a Compose file, no Dockerfile and no tests directory. The README separately points to web/Dockerfile and worker/Dockerfile, so the scan's Dockerfile flag describes detection rather than repository-wide absence. The same distinction applies to its tests-directory flag and the actual Vitest output.
Where people get stuck: trace fields and delivery
OndrejSlama reported that later spans overwrote trace input and output in issue #10430. The workflow joined file submission, polling and result retrieval under one trace, so the name and top-level fields needed to survive separate requests. Participants described carrying the original name between services or creating a placeholder span. For an asynchronous integration, deciding which operation owns those fields belongs alongside propagating the trace ID.
| Reported problem | Recorded outcome | Integration decision |
|---|---|---|
| Oversized retrieval events disappeared, #1676 | A participant restored tracing by excluding inputs. Maintainers described excessive-I/O handling in 2.29.0; subsequent participants reported further failures. Payload discussion | Include the largest realistic retrieval payload and its metadata in acceptance work. |
| Azure usage-detail validation failed, #4961 | The reporter said 2.57.10 failed and appeared to succeed after 2.57.11. SDK outcome | Match advice to the affected Python SDK version. |
| OpenTelemetry input/output was missing, #5971 | Loading getTracer("ai") addressed a separate tracing break; the reporter said upgrading still left input/output missing. Mapping discussion | Inspect the recorded values as well as successful export. |
| ARM Linux initialization failed, #4683 | A participant reported success after changing Ubuntu architecture from ARM64 to AMD64. Migration-binary discussion | Match the exact /usr/bin/migrate syntax error before adopting that workaround. |
| GLM default evaluator setup failed, #13502 | JSON configuration changed a parsing error into score-type validation failure on self-hosted 3.169. Evaluator discussion | Include saving the default evaluator model in provider acceptance work. |
The GLM report began with Unexpected token 'S' because glm-4-flash returned Score: 5. After requesting JSON, the reporter received Invalid input: expected string, received number while setting the default evaluator model. A bot later acknowledged that this setup path used a hardcoded schema after previously offering confident fix advice. The useful distinction is between a model answering an ordinary request and completing the evaluator's configuration step.
Short-lived processes have a separate delivery requirement: the evaluation quickstart calls for flushing before exit, and the experiment guide says to flush the span processor at execution's end. Meanwhile, leSullivan reported that previously working tracing stopped on a hosted v3 instance and replied that bot-suggested checks still did not work. That unanswered discussion records a blocked user, rather than a successful troubleshooting recipe.
Cloud pricing counts more than application requests
Langfuse bills traces, observations and scores as units, according to its pricing FAQ. A trace represents an application interaction, observations represent individual operations within it, and scores represent evaluations. One request can therefore generate several billable data points. Estimate those recorded operations and evaluations separately before applying a plan price; counting only user requests leaves out part of the documented meter.
The pricing page, checked November 25, lists Hobby free with 50,000 units per month, Core at $29 per month with 100,000 included units, and Pro at $199 per month with 100,000 included units. Core and Pro list additional usage at $8 per 100,000 units, with graduated volume discounts. Model-backed evaluations also need provider access: the quickstart explicitly asks for a model-provider API key in addition to Langfuse credentials.
Self-hosting changes the operating budget. Csorba describes a backend using databases, queues, caches and object storage, including ClickHouse and Redis responsibilities. The README offers Docker Compose, Kubernetes and infrastructure templates, with Kubernetes described as its preferred production deployment. Choose managed Cloud when the team wants the application workflow without assigning database operations; choose self-hosting when infrastructure ownership and data placement are deliberate requirements.
Self-hosting includes storage recovery and rollout work
Rock-520 reported 100% inode usage from many small JSON files in issue #11603. Maintainer Steffen911 connected the older ingestion path with frequent event files, said OpenTelemetry increases batching and recommended cloud object storage for high-volume deployments. This makes object count a capacity concern alongside stored bytes. The operational question is how your chosen instrumentation batches events before they become objects on the backing filesystem.
In issue #12172, mahdi13 reported trace-loading errors after an upgrade and damaged ClickHouse observation parts. A maintainer explained that dropping damaged parts sacrifices affected data, while preserving that history requires backups. The reporter said operation returned after cleaning the broken parts. That is a recovery outcome with a data-loss tradeoff, so a restoration procedure needs an explicit decision about acceptable loss before deletion commands become routine outage advice.
Multiple replicas brought another reported failure: issue #11789 describes intermittent JavaScript chunk 404s on version 3.150.0 behind an AWS load balancer. A participant said recreating pods by deleting the ReplicaSet helped, while a maintainer asked about rollouts and image tags. Browser asset loading during deployment belongs in the acceptance workflow alongside ingestion and worker health, because a functioning backend alone does not demonstrate a usable interface.
MCP authentication and local experiments move different data
Issue #12738 requests SSO/OIDC authentication and individual caller attribution for the project MCP endpoint. Its feature request describes static project-scoped key pairs, manual distribution and rotation, and requests tied to keys rather than users. This concerns the project endpoint /api/mcp. The README separately advertises the documentation MCP server at https://langfuse.com/api/mcp without authentication; those endpoints serve different purposes and should not share an authentication assumption.
Local-data experiments still send experiment data to the configured Langfuse instance. The SDK experiment guide explains that local inputs originate in the application process, while each task execution also creates a trace. It documents media support for SDK experiments and says UI experiments do not yet support dataset items with media attachments. Choose the experiment interface around the actual dataset, especially when colleagues expect to review images or audio through the browser.
The README's telemetry section says self-hosted instances report basic usage statistics by default, excluding raw traces, prompts, observations, scores and dataset contents. It documents TELEMETRY_ENABLED=false for opting out. That telemetry is separate from application data intentionally sent for tracing or experiments. The public demonstration also states that chat messages are visible in its shared example project, making non-sensitive inputs the appropriate choice there.
Langfuse vs LangSmith, Phoenix and Helicone
Langfuse's migration guide calls LangSmith lowest-friction with LangChain and LangGraph. The same vendor guide describes Langfuse as OpenTelemetry-based and framework-neutral, with an MIT-licensed core and self-hosting. This is a useful starting distinction for choosing a workflow to inspect: integration convenience for an existing framework commitment, or hosting and instrumentation flexibility across applications.
| Comparison | Reason to inspect the alternative | Reason to inspect Langfuse |
|---|---|---|
| LangSmith | Langfuse's guide calls it lowest-friction with LangChain and LangGraph. | The guide describes a framework-neutral, self-hostable MIT core. Migration guide |
| Arize Phoenix | Csorba positions it for evaluation-first workflows over traces. | The same review positions Langfuse around traces, prompts and experiments together, and distinguishes their licensing. Csorba comparison |
| Helicone | MakerStack favors it for quick proxy-based cost monitoring. | MakerStack favors Langfuse for tracing and evaluations; Langfuse also documents an optional gateway. MakerStack comparison, Langfuse gateway |
| Braintrust | MakerStack recommends it for intensive evaluation and experimentation. | That review recommends Langfuse for balancing tracing, evaluation and monitoring. Editorial comparison |
| LiteLLM | It can be the existing gateway for model calls. | Csorba describes proxy-based logging from LiteLLM into Langfuse. Integration account |
LangChain and LangGraph applications can send traces through the Langfuse callback handler, according to the migration guide. A migration from LangSmith also includes work beyond capturing the first trace: the guide says to rerun evaluators and collect new feedback instead of importing old experiment scores and run feedback. Historical trace reingestion is billed as new ingestion, while evaluator rules, annotation queues, dashboards and automation need recreation.
The guide's parallel-run instructions distinguish Python's per-request hybrid fan-out from the per-process approach for JS/TS langsmith 0.10.x. Inventory the SDK version, retained history and evaluation workflows before scheduling a cutover. A successful first trace answers whether data arrives; recreating scores, queues and dashboards answers whether the team's existing investigation process survives the move.
What the other reviews get wrong
AgentShield's comparison marks Langfuse as lacking managed infrastructure, while Langfuse explicitly offers managed Cloud. Its feature matrix also groups guardrails and PII redaction as absent. Csorba describes client-side data masking in the open-source edition, so the blanket redaction claim needs correction. Hosting choice and masking are concrete capabilities; neither requires treating every row of a competitor's matrix as an independent product assessment.
MakerStack describes self-hosted RBAC broadly as an enterprise addition, but Langfuse's official comparison separates free organization-level roles from paid project-level roles. RBAC means role-based access control, so the distinction is the scope of permissions rather than the presence of roles at all. Csorba also describes enterprise pricing as additive to a ClickHouse plan, which makes MakerStack's flat enterprise-price description unsuitable as a purchasing quote.
ZenML's table says alerting is not native, while the Langfuse README lists custom dashboards, a metrics API and alerts. Csorba describes monitors notifying through Slack, webhooks and GitHub Actions. MakerStack's promise of every exact prompt and response also needs narrowing: issue #1676 records dropped oversized events, and issue #5971 records missing OpenTelemetry input/output. These reports support inspecting delivered fields, rather than assuming completeness from an integration name.
The Python v3 documentation snapshot's latest-version wording is historical: the current evaluation quickstart identifies Python SDK v5 and JS/TS SDK v6, and says its example also works with Python v4 and JS/TS v5. Keep server releases, SDK versions and integration versions separate when copying instructions. The source-build commit cb2ceba and the Compose commit 3e014524be5f identify our checkouts; neither is a statement that those SDK versions ran in the lab.
FAQ
Langfuse records application operations as traces and connects them with prompts, datasets and evaluations, according to its README. The questions below cover the recurring searches for tracing, hosting, pricing, framework relationships and configuration. The practical sequence is to choose a deployment, create project credentials, instrument an application and inspect whether the recorded operations explain the answer your application produced.
What is Langfuse, and how does it record LLM traces and history?
Langfuse receives application traces through SDK instrumentation, OpenTelemetry or its optional gateway. Its README describes capturing model calls and surrounding operations such as retrieval, embeddings and agent actions. Prompt management and evaluation then connect that history with versions and examples. A trace's usefulness depends on the operations recorded: a final answer alone carries less investigation context than retrieval and generation shown together.
Is Langfuse worth using for a production LLM application?
Langfuse supports scoring live traces and evaluating an existing application against a predefined dataset, according to its evaluation overview. Consider it when your team needs both investigation history and repeatable comparisons of application changes. Assign ownership for instrumentation and either managed-hosting costs or self-hosted operations. The use case is strongest when a recorded failure becomes an example the team can evaluate again.
How does Langfuse compare with LangSmith?
Langfuse's guide describes LangSmith as lowest-friction with LangChain and LangGraph, and Langfuse as framework-neutral with a self-hostable core. Its migration instructions also explain that old experiment scores and run feedback require rerunning evaluators and collecting new feedback. Compare the application integration and the work needed to recreate your evaluation process, alongside the hosting choice.
How do Langfuse, LangSmith, LangChain, and LangGraph fit together?
LangChain and LangGraph applications can use the Langfuse callback handler to send tracing, as documented in the migration guide. They build application workflows, while Langfuse and LangSmith provide observability and evaluation. The guide also describes moving tracing from LangSmith through a parallel-run period, with different Python and JS/TS arrangements. These products therefore appear together in an integration decision rather than forming four interchangeable choices.
Should I choose Langfuse or Arize Phoenix?
Csorba positions Phoenix for evaluation-first workflows over your own traces and Langfuse for traces, prompts and experiments on one backend. The comparison identifies Phoenix's Elastic License 2.0 and Langfuse's MIT core with commercial enterprise directories. Use the workflow distinction to decide which interface to inspect first, then read the licensing terms relevant to how your organization intends to run or offer the software.
How does Langfuse differ from LiteLLM, and can they work together?
LiteLLM can supply proxy-based logging to Langfuse, according to Csorba's integration account. That makes an existing gateway a possible source of tracing data rather than an automatic replacement for trace analysis and evaluations. The historical oversized-event discussion also mentions large request content in LiteLLM integration metadata, giving teams a concrete payload case to include in their integration work.
Where do I log in to Langfuse Cloud?
The Langfuse README links to Langfuse Cloud. For application instrumentation, the base URL must match the selected Cloud region or self-hosted deployment, as the evaluation quickstart explains. The browser login and the application's configuration serve different steps: create the project in Langfuse, then use that project's credentials and deployment URL in the application.
Where are Langfuse's GitHub repository and documentation?
The repository is langfuse/langfuse on GitHub, and the README links to Langfuse documentation. The evaluation quickstart identifies Python SDK v5 and JS/TS SDK v6 for its current examples, while also describing compatibility with the preceding major versions. Use the example's stated SDK family when following a guide, rather than treating an older page's latest-version label as current.
Where do I create Langfuse API keys, and which deployment URL should I use?
Create a project and open Settings, then API Keys, according to the evaluation quickstart. Configure the public key, secret key and LANGFUSE_BASE_URL for the same deployment or Cloud region. Model-based evaluation additionally needs a provider API key. Keeping those two credential roles separate helps distinguish access to Langfuse's tracing and experiment service from access to the model used by an evaluator.
How much does Langfuse cost, and what counts as a billable unit?
Langfuse Cloud lists Hobby free, Core at $29 per month and Pro at $199 per month on the November 25 pricing page. A billable unit includes a trace, observation or score, so one application interaction can consume multiple units. Paid plans include 100,000 units monthly before additional graduated usage charges. Estimate the recorded steps, evaluations and required data-access period together when choosing a plan.
What we have not tested yet
Neither lab attempt produced a completed deployed application workload. The November excerpt contains image-download output without a diagnostic cause; the October build tail names the failed native task without its underlying diagnostic. The image label lab-node:22 does not identify actual runtime or operating-system versions. November records contain no task answers, screenshots, task latency or memory measurements. Trace completeness, evaluation accuracy, prompt releases, MCP authentication, upgrades, backup restoration and sustained load are outside these runs.
The GitHub incidents are historical participant reports, not reproduced defects on the current release. Issue closure alone establishes neither a permanent fix nor a continuing defect; several threads closed after inactivity. Canva's use is a vendor report, and the DataCamp walkthrough is another author's example. The masking evidence addresses redaction rather than equivalent runtime guardrail enforcement. Native alerts likewise do not establish support for every possible trace-level alert condition.
MLflow and DeepEval appear in search suggestions, but the research contains no substantive comparison of their capabilities. There is also no side-by-side cost, speed or reliability result against LangSmith, Phoenix, Helicone or Braintrust. A useful next run would capture a known retrieval mistake, an asynchronous handoff and a short-lived worker, then evaluate a corrected prompt and restore trace history from backup. Those are proposed tasks, not completed tests.


