Skip to content

AI tool comparisons

Menu

Home / AI coding tools / Langfuse vs LangSmith: Open-Source Control vs LangChain-Native Speed (2026)

Langfuse vs LangSmith: Open-Source Control vs LangChain-Native Speed (2026)

AltAI is an independent publisher. Links to vendor sites open in a new tab. See our disclosure for how we work.

Contents
  1. Quick verdict
  2. What is Langfuse, what is LangSmith, and why the choice matters
  3. Langfuse vs LangSmith at a glance
  4. Open source and self-hosting: the biggest real divide
  5. Langfuse vs LangSmith pricing: the part everyone gets wrong
  6. Framework fit: LangChain-native vs framework-agnostic
  7. Evaluation, prompts, and alerting: where LangSmith’s maturity shows
  8. Agents and scale: multi-step workflow support
  9. What real users are saying
  10. Langfuse pros, cons, and limitations
  11. LangSmith pros, cons, and limitations
  12. Which should you choose?
  13. Frequently asked questions

Langfuse and LangSmith are both LLM observability platforms for tracing, evaluating, and debugging AI applications - Langfuse is the open-source (MIT), self-host-first, framework-agnostic option billed per unit with unlimited users, while LangSmith is the closed-source, LangChain-native, managed-SaaS option billed per trace plus per seat.

Quick verdict

Choose Langfuse if you want open-source code, free self-hosting, or you build on anything other than LangChain. Choose LangSmith if you live inside LangChain or LangGraph and want zero-setup tracing with the most mature evaluation tooling in the category. Both capture the same core data - nested traces, token usage, latency, and cost - so the decision rarely comes down to features. It comes down to four things: whether you are all-in on LangChain, whether you need to self-host, how your bill scales at your trace shape, and how deep your evaluation needs run. On price at scale, Langfuse wins clearly; on LangChain integration depth, LangSmith wins clearly.

LLM observability · 2026

Langfuse vs LangSmith

Open-source control vs LangChain-native speed.

Langfuse

Owned by ClickHouse

  • Open source (MIT)
  • Free self-hosting
  • Framework-agnostic
  • Billed per unit
  • Unlimited users

LangSmith

Built by LangChain

  • Closed source
  • Enterprise self-host only
  • LangChain-native
  • Billed per trace + seat
  • Zero-setup tracing

altaitools.com

What is Langfuse, what is LangSmith, and why the choice matters

Langfuse is an open-source LLM engineering platform for tracing, prompt management, and evaluation that runs on your own infrastructure or as a managed cloud service. LangSmith is LangChain’s commercial observability and evaluation platform, built by the team behind LangChain and LangGraph, and offered mainly as managed SaaS.

The choice matters because these two tools sit on opposite sides of a single trade-off - data control and portability on one side, LangChain-native convenience on the other - and that one decision shapes your bill, your compliance posture, and how much instrumentation you write.

One clarification first, because it drives a lot of confusion: Langfuse, LangSmith, and LangChain are three different things. LangChain is the open-source framework you build agents with. LangSmith is LangChain’s paid platform for tracing, evaluating, and deploying those agents.

Langfuse is an independent open-source platform that traces and evaluates any LLM app, LangChain or not. (If the app being traced is itself a visual build, that’s a separate choice - see Langflow vs Flowise.) Note that Langfuse is not a LangChain product - since January 2026 it is owned by ClickHouse, the analytics-database company.

Langfuse vs LangSmith at a glance

AttributeLangfuseLangSmith
Core approachOpen-source, framework-agnostic, self-host-firstClosed-source, LangChain-native, managed SaaS
Maker / ownerClickHouse (acquired Jan 16, 2026)LangChain, Inc.
LicenseMIT (open source end-to-end)Proprietary (client SDKs open only)
Self-hostingFree, first-class, full feature parityEnterprise contract only
Free tier50,000 units/mo · 2 users · 30-day retention5,000 traces/mo · 1 seat · 14-day retention
First paid tierCore - $29/mo · 100k units · unlimited usersPlus - $39/seat/mo · 10k traces
Billing unitUnit = 1 trace, observation, or scoreTrace = one full execution (not one LLM call)
Framework fitAgnostic; OpenTelemetry-native; 100+ integrationsLangChain/LangGraph zero-setup; OTel ingest otherwise
EvaluationLLM-as-judge, code evals, annotation, CI gate30+ templates, annotation queues, automation rules
ComplianceSOC 2 Type II, ISO 27001, GDPR, HIPAASOC 2 Type II, GDPR, HIPAA
Best forOSS / self-host / non-LangChain / cost at scaleAll-in LangChain / managed SaaS / mature evals

Open source and self-hosting: the biggest real divide

The single largest difference is that Langfuse is open source and free to self-host, while LangSmith is closed source and only self-hostable on an Enterprise contract. Langfuse’s core is MIT-licensed end to end - the backend, UI, and storage are all open, and a self-hosted deployment has full feature parity with the cloud version. A commercial Enterprise Edition license only gates advanced security add-ons like SCIM, extended audit logs, and data-retention policies. LangSmith is the opposite: its client SDKs are open, but the platform itself is proprietary, and running it in your own environment requires a sales conversation and an Enterprise plan.

For regulated teams this is often the whole decision. If patient data, financial records, or proprietary prompts cannot leave your network, self-hosted Langfuse keeps every trace inside your infrastructure, and its ISO 27001 certification (which LangSmith does not list) can matter in procurement. If your framework of choice is LangChain and hosted SaaS is acceptable, that constraint disappears.

How hard is Langfuse to self-host?

Self-hosting Langfuse is free on license but genuinely heavy on operations, because the production stack runs four services: PostgreSQL, ClickHouse, Redis, and S3-compatible storage. Docker Compose covers testing and low-scale use; production means Kubernetes with Helm or Terraform.

The honest catch surfaces in Langfuse’s own GitHub Discussions: ClickHouse is the required analytics database, multi-shard ClickHouse clusters are not supported, scaling replicas cannot be done at runtime, and certain ClickHouse versions have triggered runaway memory during deletions. If your team cannot comfortably run ClickHouse, the free self-host path is effectively closed, and the managed cloud or a lighter tool is the more honest choice.

Diagram of the four-service Langfuse self-hosting stack — PostgreSQL, ClickHouse, Redis, and S3 storage

Langfuse vs LangSmith pricing: the part everyone gets wrong

Langfuse is dramatically cheaper at scale, but the two platforms meter differently, so list prices do not compare directly - Langfuse bills per unit while LangSmith bills per trace plus per seat. This is the single most misunderstood part of the comparison, and it is where most rankings quietly mislead you. Get the metering right and the real gap becomes clear.

Here are the verified list prices as of August 2026:

  • Langfuse: Hobby free (50,000 units/mo) · Core $29/mo (100,000 units, unlimited users) · Pro $199/mo · Enterprise $2,499/mo. Overage is $8 per 100,000 units. A unit is any single ingested data point - one trace, one observation, or one score.
  • LangSmith: Developer free (5,000 base traces/mo, 1 seat) · Plus $39/seat/mo (10,000 base traces) · Enterprise custom. Traces beyond the included amount are billed pay-as-you-go (base traces keep 14-day retention; extended 180-day retention costs an additional fee), and LangChain’s pricing page no longer lists per-1,000 rates, so check it for the current figure). A trace is one full execution of your app - an agent run, an evaluator run, or a playground session - not one LLM call.

That trace definition is the trap. One LangSmith trace can contain 15 model calls and 10 tool calls and still count as a single trace. But the same agent run in Langfuse counts every step as a separate unit - roughly 17 units for one trace containing 14 observations and 2 evaluation scores. So a fair comparison has to fix a workload and run both meters against it.

What does each cost at your trace volume?

AltAI cost model (agent-shaped workload, ~17 Langfuse units per LangSmith trace, team of 5, verified August 2026 list prices):

Monthly agent runsLangfuse Core (unlimited users)LangSmith Plus (5 seats)
10,000~$37/mo~$39/mo
100,000~$157/mo~$420/mo
1,000,000~$1,381/mo~$2,670/mo

The gap widens the moment you scale, and self-hosted Langfuse removes the software cost entirely (you pay only for infrastructure). But the honest counter-case matters: on shallow, chat-shaped traces (say ~5 units per interaction rather than 17), the same 100,000 runs cost roughly $61/mo on Langfuse versus $420/mo on LangSmith - Langfuse still wins, but its per-unit model is friendliest when traces are shallow and least friendly when a single agent run explodes into dozens of observations. Model your own trace shape before committing.

Altai cost model

How the monthly cost gap widens with scale

Same workload, both meters: the shape of the curve, not the dollar figures.

LangSmith Langfuse smallteamscale
The nuance competitors skipLangfuse’s per-unit edge is largest on deep agent traces and shrinks on shallow chat traces. Model your own trace shape.

Illustrative shape only; no dollar values are implied.

Framework fit: LangChain-native vs framework-agnostic

LangSmith gives zero-setup tracing if you build on LangChain or LangGraph; Langfuse gives broader, framework-agnostic coverage through OpenTelemetry. With LangChain, LangSmith tracing turns on with a single environment variable and every chain, agent, and tool call is captured with no code changes - roughly 84% of LangSmith users work with LangChain, and that native fit is its strongest advantage. LangSmith also ingests standard OpenTelemetry traces now, so non-LangChain apps work too, but you lose the automatic instrumentation that makes it worth choosing.

Langfuse takes the opposite bet. Its SDKs are OpenTelemetry-native and it ships integrations for 100+ frameworks and providers - LangChain and LangGraph (LangChain’s graph-based agent library), plus LlamaIndex, CrewAI, Pydantic AI, the Vercel AI SDK, Haystack, DSPy, and the raw OpenAI and Anthropic SDKs. If your stack mixes frameworks, or you are deliberately avoiding lock-in, Langfuse treats them all the same. If you are weighing the framework layer itself rather than the observability layer, our LangChain vs Pydantic AI comparison covers that decision.

Evaluation, prompts, and alerting: where LangSmith’s maturity shows

LangSmith has the more mature, turnkey evaluation and alerting stack, while Langfuse covers the same ground with a more do-it-yourself, open approach that has closed much of the gap in 2026. LangSmith ships 30+ evaluator templates (including trajectory and safety checks), annotation queues with routing, automation rules that promote production traces into datasets, and native alerting with a PagerDuty integration. For teams that want evaluation to work out of the box, this is the clearest LangSmith win after LangChain integration. For a closer look at open-source evaluation tooling, see DeepEval vs Promptfoo.

Langfuse answers with LLM-as-a-judge evaluators (MIT-licensed), code evaluators you write in Python or TypeScript directly in the UI, human annotation, dataset experiments, and a GitHub Actions CI/CD gate that fails a build when scores drop. On alerting, older comparisons claim Langfuse has none - that is now outdated: Langfuse Monitors fire threshold alerts on metrics and scores and route to Slack, webhooks, or GitHub Actions. The fair statement is that LangSmith’s alerting is more mature and ships PagerDuty depth, not that Langfuse lacks it. On prompt management both are strong; LangSmith adds a community Prompt Hub, while Langfuse offers a fully framework-agnostic playground. If neither platform fits your budget, our list of PromptLayer alternatives covers lighter prompt-management options.

Agents and scale: multi-step workflow support

Both platforms trace multi-step agents well, but they visualize and deploy them differently - Langfuse infers agent graphs from any instrumented framework, while LangSmith offers deep, native LangGraph visualization plus a managed deployment runtime. Langfuse’s Agent Graphs render execution flow for any instrumented agent and its data model captures tool calls, retrievals, and nested spans cleanly. LangSmith goes further inside its own ecosystem: LangGraph Studio lets you step through agent execution and inspect state at each node, and LangSmith Deployment ships agents as production APIs with checkpointing and scaling - something Langfuse does not attempt. If you want your observability vendor to also run your agents, only LangSmith offers that.

What real users are saying

The most common complaint about LangSmith is cost at production volume, and the most common complaint about Langfuse is the operational burden of self-hosting - specifically ClickHouse. Across the community reports reviewed for this comparison - Reddit’s r/LangChain and r/LocalLLaMA, first-hand developer posts on DEV.to, Product Hunt and G2 reviews, and Langfuse’s official GitHub Discussions - those two themes dominate everything else. (This is AltAI’s synthesized read across those sources, not a formal census.)

Langfuse - recurring praise: Free self-hosting is the single loudest positive; on the r/LangChain thread that started the moment LangSmith left its free tier, the top reply was simply that they self-host Langfuse and are happy so far, with another calling free self-hosting a hard requirement. Framework-agnostic, OpenTelemetry-based tracing is repeatedly praised for avoiding lock-in, and unlimited-user pricing suits small teams.

Langfuse - recurring complaints: The self-hosting operations burden is a genuine, recurring pattern, well evidenced in Langfuse’s own GitHub Discussions - multi-shard ClickHouse is unsupported, replica scaling needs planning, and version upgrades have caused memory issues. One verified user on r/LocalLLaMA said Langfuse was much better than nothing but that they outgrew it quickly. Agent teams also report per-unit billing climbing faster than expected.

LangSmith - recurring praise: Zero-setup tracing on LangChain is described as genuinely effortless - one environment variable and everything is traced. Its evaluation UI, annotation queues, and dataset workflows are consistently called more polished and turnkey than Langfuse’s.

LangSmith - recurring complaints: Cost is the number-one gripe in the category - “LangSmith got expensive” is the most-cited reason teams migrate. A recurring, related pain is the trace-count confusion: developers read “trace” as “LLM call,” under-budget by an order of magnitude, and get surprise bills. Value also drops sharply off LangChain, and the lack of a free self-host option is a hard stop for data-sovereignty teams.

The clearest migration signal in the community runs one direction: teams leave LangSmith for Langfuse over cost, open-source self-hosting, or not being on LangChain. Movement away from Langfuse is usually not toward LangSmith but toward lighter tools when the ClickHouse burden bites - a pattern our Langfuse alternatives guide covers in depth.

What real users say

The top complaint about each tool

Altai’s synthesized read across Reddit, DEV.to, G2 and GitHub Discussions.

LangSmith

Most-cited complaint: cost at production volume

  • Dominant theme: it got expensive
  • Per-seat + per-trace bill shock
  • Trace-count confusion

Langfuse

Most-cited complaint: self-hosting burden (ClickHouse)

  • Dominant theme: operational weight
  • Four-service stack, multi-shard unsupported
  • Evidenced in Langfuse’s own GitHub Discussions

Migration signal runs one way: teams leave LangSmith for Langfuse over cost, open source, or non-LangChain stacks.

Langfuse pros, cons, and limitations

Pros

  • Open source (MIT) end to end, free to self-host with full feature parity
  • Framework-agnostic and OpenTelemetry-native; 100+ integrations
  • Cheaper at scale; unlimited users on every paid tier
  • ISO 27001 in addition to SOC 2 Type II, GDPR, and HIPAA
  • Backed by ClickHouse with active, fast releases (v4 shipped in 2026)

Cons and limitations

  • Self-hosting is operationally heavy; requires running ClickHouse
  • Per-unit billing can climb fast for deep, observation-heavy agent traces
  • Evaluation is less turnkey than LangSmith and has no native multi-turn simulation
  • No managed agent-deployment runtime

LangSmith pros, cons, and limitations

Pros

  • Zero-setup tracing for LangChain and LangGraph; deepest integration available
  • Most mature evaluation, annotation, and alerting tooling in the category
  • Managed agent deployment (LangSmith Deployment) in the same platform
  • Polished, turnkey UI that works immediately for LangChain teams

Cons and limitations

  • Closed source; self-hosting is Enterprise-only
  • Per-seat plus per-trace pricing gets expensive fast at production volume
  • The trace definition is easy to misread, which leads to budget surprises
  • Value drops sharply outside the LangChain ecosystem; no ISO 27001 listed

Which should you choose?

Choose Langfuse if you need open-source code you can read and run, require self-hosting or data sovereignty, build on something other than LangChain, run more than one framework, or expect meaningful trace volume where per-seat-plus-per-trace pricing would compound. It is also the stronger pick for cost-sensitive teams that want unlimited users on a $29/mo plan.

Choose LangSmith if you are committed to LangChain or LangGraph, want tracing that works with a single environment variable, need the most mature evaluation and alerting out of the box, or want to deploy your agents on the same platform that observes them - and hosted SaaS with per-seat pricing fits your budget.

Consider a third tool if your real problem is something neither is built for - for example, heavy agent workloads where per-unit or per-trace billing both hurt, or evaluation depth like multi-turn simulation and red teaming. The pragmatic middle path many teams take is to instrument once with OpenTelemetry and treat the backend as swappable, so the choice is never permanent.

Decision guide

Langfuse or LangSmith?

QuestionIf yesIf no
1. All in on LangChain / LangGraph?LangSmith. Zero-setup native tracing + mature evals.Go to question 2
2. Need self-hosting, IT, or data sovereignty?Langfuse. Free self-host, cost at scale.Go to question 3
3. Is deep eval / agent QA the real bottleneck?Consider a third tool: Braintrust · Phoenix · Laminar.Langfuse. Framework-agnostic default, per-unit.

Instrument once with OpenTelemetry to stay portable.

Frequently asked questions

Is Langfuse or LangSmith better?

Neither is better for everyone. Langfuse is better for open-source, self-hosting, non-LangChain stacks, and cost at scale. LangSmith is better for teams all-in on LangChain or LangGraph that want zero-setup tracing and the most mature evaluation tooling. The right pick depends on your framework, hosting needs, and budget.

What is the difference between Langfuse and LangSmith?

Langfuse is open-source (MIT), self-host-first, framework-agnostic, and billed per unit with unlimited users. LangSmith is closed-source, LangChain-native, managed-SaaS-first, and billed per trace plus per seat. Both do tracing, evaluation, and prompt management, but they pull toward portability and LangChain integration respectively.

Is Langfuse open source and free?

Yes. Langfuse’s core is MIT-licensed and open source end to end, and self-hosting is free with full feature parity - you pay only for infrastructure. A commercial Enterprise license gates advanced security add-ons like SCIM and audit logs. Its managed cloud also has a free Hobby tier with 50,000 units per month.

Is LangSmith open source? Can you self-host it?

No. LangSmith is a proprietary, closed-source platform; only its client SDKs are open source. Self-hosting is available exclusively on the Enterprise plan through a sales contract, with Cloud, Hybrid, and self-hosted deployment models all sitting under that Enterprise umbrella. There is no free or open-source self-host option.

Does LangSmith only work with LangChain?

No, but it works best there. LangSmith gives zero-setup, automatic tracing for LangChain and LangGraph, and roughly 84% of its users build on LangChain. It also ingests standard OpenTelemetry traces from any framework, so non-LangChain apps work - you just lose the automatic instrumentation that makes it most compelling.

Which is cheaper, Langfuse or LangSmith?

Langfuse, clearly, at scale. Modeling an agent-shaped workload for a team of five on verified August 2026 prices, Langfuse Core runs about $157/mo versus roughly $420/mo for LangSmith Plus at 100,000 runs, and about $1,381 versus $2,670 at one million. Self-hosted Langfuse removes the software cost entirely.

What counts as a trace in LangSmith?

A trace is one complete execution of your application - an agent run, an evaluator run, or a playground session - regardless of how many steps it contains. One agent run making 15 model calls and 10 tool calls is a single trace. This is why cost estimates go wrong: a trace is not one LLM call, and evaluator runs also bill as traces.

Is Langfuse still open source after the ClickHouse acquisition?

Yes. ClickHouse acquired Langfuse on January 16, 2026, and both companies confirmed the MIT core license, self-hosting, and cloud endpoints are unchanged, with no planned licensing changes. Langfuse already ran on ClickHouse internally before the deal, so the technical fit predated it. The acquisition brought more funding, not a licensing shift.

Which has better evaluation, Langfuse or LangSmith?

LangSmith has more mature, turnkey evaluation - 30+ evaluator templates, annotation queues with routing, and automation rules out of the box. Langfuse covers the same ground with LLM-as-a-judge, code evaluators, human annotation, and a CI/CD gate, but the setup is more do-it-yourself. For built-in depth, LangSmith leads; for open, flexible evals, Langfuse suffices.

Do both Langfuse and LangSmith support OpenTelemetry?

Yes, both do, but differently. Langfuse’s SDKs are OpenTelemetry-native, so instrumentation is standards-based from the ground up and traces can flow into your existing observability stack. LangSmith ingests OpenTelemetry traces through an OTLP endpoint, which lets non-LangChain apps send data, though its deepest, zero-setup experience remains LangChain-specific.

How do I migrate from LangSmith to Langfuse?

Migration is usually low-effort if you instrument with OpenTelemetry, since both platforms map cleanly to OTel spans - pointing your exporter at the new backend is a configuration change, not a rewrite. What does not transfer automatically is prompt management and annotation history, so keep those in the source tool and validate before fully cutting over.

Is Langfuse more popular than LangSmith?

By open-source adoption, yes. According to ClickHouse’s January 2026 acquisition announcement, Langfuse had over 20,000 GitHub stars, 26 million-plus SDK installs per month, and was trusted by 19 of the Fortune 50 and 63 of the Fortune 500. LangSmith’s platform is closed-source with no public star count, though it benefits from LangChain’s very large user base.