What is Langfuse?
Langfuse is an LLM engineering platform for tracing, evaluating and improving AI applications. It connects individual model calls and agent steps to prompts, datasets and evaluation results.
Edited by AhaFrame · Definition source: Official project ↗
How it works
Langfuse records structured traces across generations, tools and retrieval, making agent failures, latency and cost easier to investigate. Observability still requires careful redaction.
Core features
LLM and agent tracing with latency/token/cost views
Versioned prompt management
Datasets and evaluation workflows
SDK, API and observability integrations
Feature reference: Official documentation ↗
What can you use it for?
- Diagnose a failed agent run
- Compare prompt or model changes on a dataset
- Monitor application usage and quality trends
Your first guided walkthrough
An application to instrument and a supported SDK/integration; self-hosting needs the documented storage stack.
A small test LLM application, synthetic prompts and a Langfuse project or self-hosted instance.
- Follow the official tracing quickstart and configure credentials outside source control.
- Instrument one complete agent request, with separate model and tool observations.
- Trigger a known timeout and check where the trace tree identifies the fault.
- Compare latency and model spend while checking that sensitive inputs are redacted.
Trace a RAG question through retrieval, model response and final validation.
EXPECTED RESULT · VERIFY INDEPENDENTLYA trace tree with one successful and one failed execution.
Upstream documentation checked: 2026-10-27. No independent functionality test.
Pricing & running costs
Cloud Hobby is free with 50,000 units/month; Core is US$29/month and Pro US$199/month, with usage-based additions. Self-hosting has infrastructure costs.
Check official pricing details ↗Pricing checked 2026-10-27. Confirm currency, billing period, included usage and taxes on the official page.
License & limitations
README states MIT except for enterprise ee directories.
- Traces can capture prompts and personal data unless redaction and retention are configured.
- Cloud unit quotas and enterprise feature limits differ between plans.
Frequently asked questions
Is self-hosting available?
Yes. The repository documents a self-hosted deployment.
Does every trace count as exactly one billing unit?
Do not assume that; follow the official unit definition and usage calculator.
Official links & sources
Based on the official sources above. Use cases are editorial examples; source checks are not independent functional tests.
Open upstream repository ↗