Skip to main content
AgentsUse

Comparison

Langfuse vs LangSmith

Langfuse and LangSmith both record what an LLM application or agent did on each run: nested traces of model calls and tool calls, token and cost data, user feedback, and evaluations against datasets. You use them to find out why an agent failed, to compare a prompt change before shipping it, and to watch quality in production. Both offer a hosted cloud. Facts below come from each vendor's documentation, pricing page, and repository, checked on 2026-11-03.

Langfuse is open source, with a core under the MIT license; the LICENSE file carves out ee directories under a separate commercial license. It can run on its own infrastructure: the self-hosting docs list PostgreSQL, ClickHouse, Redis or Valkey, and S3 compatible storage as required components, recommend Docker Compose only for local use and testing, and point production deployments to Kubernetes with Helm or to AWS, Azure, or GCP templates. Its SDKs are built on OpenTelemetry.

LangSmith is the LangChain company's hosted platform. For applications built with LangChain, the docs state that tracing needs only environment variables such as LANGSMITH_TRACING=true and an API key, with no extra code. For other code it offers a traceable decorator and a wrap_openai wrapper. Its pricing page lists self-hosted and hybrid deployment only on the Enterprise plan.

The deciding question is usually where the application lives and who runs the platform. A team on LangChain or LangGraph that wants tracing with the least setup finds LangSmith close to zero-config. A team that needs to run the observability stack on its own servers, or that uses several frameworks, finds Langfuse's open core and OpenTelemetry base easier to place. AgentsUse has not tested either product; this page records documented differences only.

Side by side

DimensionLangfuseLangSmith
Pricing modelFreemium (hosted paid tiers)Freemium (hosted paid tiers)
License / termsMITNot open source
Deploymentcloud, self-hosted, docker, kubernetescloud, bring-your-own-cloud, self-hosted
MCP supportThe Langfuse homepage states that SKILL.md, CLI, and MCP connect coding agents to Langfuse for work in the app or IDE.Current MCP support details were not cleanly verified for Braintrust in this research pass. Check the official Braintrust documentation for the supported setup before wiring an MCP client to it.
Primary packagePyPI: langfuse 5.0.4PyPI: langsmith 0.14.16
AuthenticationAPI keys with public and secret project keys via environment variablesAPI key via LANGSMITH_API_KEY environment variable, with optional workspace ID for org-scoped keys
VendorLangfuseLangChain
Verdict

AgentsUse has not benchmarked these tools head to head. This page records documented differences; it does not declare a winner.

Each cell comes from the published profiles, which record the official repository, package page, and documentation checked on the dates shown. Pricing cells name the model, not a price. Follow the profile to the official pricing page for current terms.

Differences that decide the choice

  • Openness and hosting: Langfuse can be self-hosted at no license cost for the MIT core, using Docker Compose for testing or Helm and cloud templates for production. The Langfuse pricing page lists some add-on features as requiring a license key, and the repository marks ee directories under a separate license. LangSmith's pricing page (checked 2026-11-03) marks Developer and Plus as cloud only and lists Self-Hosted and Hybrid under Enterprise.
  • Self-hosting weight: the Langfuse docs name four infrastructure components plus an optional LLM gateway for the playground and evaluations. That is more than a single container, so self-hosting is an operations project, with ClickHouse in particular holding traces, observations, and scores. If you choose Langfuse Cloud instead, you skip that work.
  • Cloud pricing shape: Langfuse Cloud (pricing page, checked 2026-11-23) lists Hobby free with 50k units per month, 30 days of data access, and 2 users; Core at $29 per month with 100k units and 90 days; and Pro at $199 per month with 3 years. Extra usage is listed at $8 per 100k units on paid plans, lower with volume. LangSmith lists Developer at $0 per seat with 5k base traces and Plus at $39 per seat with 10k base traces per month, then pay as you go; the page does not state the per trace overage rate.
  • Billing units: Langfuse counts units, and its pricing page defines a unit as any tracing data point (the trace, each observation, each score), so one agent run with many observations and scores consumes several. LangSmith counts traces, with base traces kept 14 days and extended traces 180 days, and an upgrade fee for extending a base trace that the page does not state. Compare with a realistic run size, because per seat and per trace pricing grow along different axes.
  • Framework fit: LangSmith documents zero-code tracing for LangChain Runnables via environment variables, plus traceable for Python and TypeScript and wrap_openai for OpenAI clients. Langfuse documents Python SDK v5 and JS/TS SDK v6 built on OpenTelemetry, with context managers, decorators, and manual observations, and takes other languages through its OpenTelemetry endpoint.
  • Evaluation: LangSmith's documentation splits evaluation into offline runs on datasets and online scoring of live traffic, with four evaluator types: human review, code rules, LLM as judge, and pairwise comparison. Langfuse documents LLM as judge, annotation queues for manual review, end user feedback, datasets and experiments, and experiments that can run in CI to block regressions.
  • Prompt management: Langfuse documents central prompt storage with versions and labels, edited in the UI by non-engineers, cached client side by the SDKs, and linkable to traces so you can analyze performance by prompt version. LangSmith also documents prompt management, with version history and tags that control which versions run in different environments.
  • Regions and endpoints: LangSmith documents setting LANGSMITH_ENDPOINT for accounts outside the US region, with an EU URL as the example. Langfuse uses LANGFUSE_BASE_URL to select a region or a self-hosted instance, alongside LANGFUSE_PUBLIC_KEY and LANGFUSE_SECRET_KEY.
  • Lock-in direction: moving between them means re-instrumenting. Langfuse builds its SDKs on OpenTelemetry, which keeps the instrumentation layer portable in principle, but datasets, prompts, and evaluator definitions live inside each platform and need their own export plan.

Choose Langfuse when

Choose Langfuse when the observability stack must run on your own infrastructure, when the application uses several frameworks or no framework, or when an open source core with OpenTelemetry instrumentation is a selection criterion. It also fits teams that want prompt versions, labels, and trace links in the same place as tracing and evaluations. Plan for the operational load of PostgreSQL, ClickHouse, Redis, and object storage if you self-host, or use the cloud plans and watch unit consumption.

Langfuse profile

Choose LangSmith when

Choose LangSmith when the agents already run on LangChain or LangGraph and you want tracing switched on with environment variables rather than code, with datasets, offline experiments, and online scoring in the same platform. It suits teams comfortable with a hosted product billed per seat and per trace. If you need to self-host, the pricing page ties that to Enterprise, so confirm availability with the vendor before committing.

LangSmith profile

Sources and freshness

Compared from the published profiles for Langfuse (checked 2026-10-29) and LangSmith (checked 2026-10-29). Send corrections through the contact page.