LangSmith vs Langfuse: Pricing, Self-Hosting and Which One to Pick (2026)

LangSmith vs Langfuse, compared on what actually decides it: what each costs once a LangGraph agent is in production, who can self-host, how tracing works, and which features only one of them has.
Shahraiz Ali 10 min read
Share
langsmith-vs-langfuse.jpg

In this post I'll compare LangSmith vs Langfuse on the things that actually decide it: what each one costs once your agent is in production, whether you can host it yourself, how hard it is to hook up, and which features only one of them has. I'll work it through on the same agent from start to finish so the numbers mean something.

The short answer (checked 6 December 2026)

  • Pick LangSmith if you're all-in on LangGraph, want hosted agents and tracing in one place, and don't need to self-host. It charges per seat ($39 on Plus) and per trace.
  • Pick Langfuse if you want to self-host for free, have a larger team (no seat fees), or use more than one framework. Its core is MIT licensed. It charges per unit, and every step inside a run counts as a unit.
  • Cost: for a small team Langfuse is usually cheaper. The gap closes as your agent runs get longer, because Langfuse bills every step and LangSmith bills the whole run as one trace.

The example we'll use

Let's pick up the support bot from the LangGraph Agent Server post. It's a small LangGraph agent that answers customer questions and looks up orders. It's live, real customers use it, and one morning a customer gets told they're due a refund they aren't due.

Now you need to answer three questions fast:

  • Which run was it, and what did the customer actually ask?
  • Which step went wrong: the order lookup tool, the prompt, or the model?
  • How do you make sure it doesn't happen again?

Logs won't get you there. A single answer from our bot is a whole chain: the model call, a tool call to the orders API, maybe a second model call. You need traces: every step of every run, with inputs, outputs, timings and cost. Then you need evals to catch the next bad answer before a customer does.

That's what both LangSmith and Langfuse do. They just make very different choices about price, hosting and licence.

What are LangSmith and Langfuse?

  • LangSmith is LangChain's commercial platform for tracing, evaluating and deploying agents. It's made by the same company as LangGraph, and it's also where LangChain's managed agent hosting lives. The platform is proprietary; the SDKs are open source.
  • Langfuse is an open-source LLM engineering platform: tracing, evals, prompt management, datasets and a playground. Its core is MIT licensed and you can self-host every feature on any tier. In January 2026 Langfuse was acquired by ClickHouse. Langfuse says it "stays open source and self-hostable" and that there are "no planned changes to licensing".

So the first difference is already clear. One is a closed platform from the LangGraph team, and the other is an open one you can run yourself.

LangSmith vs Langfuse at a glance

LangSmith Langfuse
Licence Proprietary platform, open-source SDKs Core MIT; enterprise modules in /ee need a licence key
Free cloud plan Developer: 1 seat, 5,000 traces/month Hobby: 2 users, 50,000 units/month
Paid entry plan Plus: $39 per seat/month, 10,000 traces Core: $29/month flat, unlimited users, 100,000 units
What you're billed on Traces (one per run) Units (every trace, step, score)
Retention 14 days base, 180 days extended (Cloud max) 30 days Hobby, 90 days Core, 3 years Pro
Self-hosting Enterprise plan only Free on every tier (MIT), including SSO
SSO and custom roles Enterprise SSO free when self-hosted; on Cloud via the $300/month Teams add-on to Pro
Framework fit Deepest with LangChain and LangGraph; also OpenTelemetry, OpenAI SDK and others Framework-agnostic; LangChain/LangGraph via a callback handler, OpenTelemetry-based SDKs
Agent hosting Yes (Agent Server, LangSmith Deployment) No, tracing and evals only

How much does LangSmith cost vs Langfuse?

This is where most comparisons go wrong, so let's be careful. The two products don't bill the same thing:

  • LangSmith bills per trace. One trace is one run of your agent, however many steps are inside it. Beyond the included traces it's 0.005 LSU each, which is $5 per 1,000 (1 LSU = $1).
  • Langfuse bills per unit. A unit is any trace, observation (a step such as a model call or tool call), score or facet result. So one run of our bot with a model call, a tool call and another model call is at least 4 units, not 1. Beyond the included 100,000 it's $8 per 100,000 up to 1M units, then $7 per 100,000.

So the honest question is: how many steps does one of your runs have? A short chat turn might be 5 units. A LangGraph agent with a few nodes, tools and an eval score easily hits 15. A research-style agent can pass 40.

Here's the support bot at three sizes. I've used the same traffic as in the LangSmith pricing post and shown Langfuse at 5, 15 and 40 units per run.

Solo prototype Small team Customer-facing
Runs (traces) per month 3,000 30,000 150,000
Seats / users 1 2 3
LangSmith $0 (Developer) $178 (Plus: $78 seats + $100 traces) $817 (Plus: $117 seats + $700 traces)
Langfuse, 5 units/run $0 (Hobby) $33 (Core) $81 (Core)
Langfuse, 15 units/run $0 (Hobby) $57 (Core) $189 (Core)
Langfuse, 40 units/run $31 (Core, Hobby limit passed) $115 (Core) $451 (Core)

Cloud list prices on 6 December 2026, before tax. LangSmith agent hosting isn't included, since Langfuse doesn't host agents. Langfuse rounded to the dollar.

A few things jump out:

  • Seats are what make LangSmith expensive for small teams. Every extra person on Plus adds $39 a month. Langfuse Core has unlimited users for one flat $29.
  • Long runs are what make Langfuse expensive. At 40 units per run, the customer-facing bill goes from $81 to $451. It's still cheaper here, but the gap shrinks fast.
  • Retention isn't equal. Those LangSmith numbers keep traces for 14 days. Langfuse Core keeps them for 90. If you need traces kept longer, LangSmith charges extra to upgrade them to extended (180 days), and Langfuse Pro ($199) keeps them for 3 years.

So which one is cheaper in your case? Count the steps in one real run of your agent, multiply by your monthly runs, and put it next to your seat count. That one number decides most of it.

NOTE: run the numbers with your graph. Open one trace of your agent in either tool and count the steps. Guessing here is how a budget gets blown.

Can you self-host LangSmith or Langfuse?

This is the biggest practical difference.

LangSmith: yes, but only on the Enterprise plan, alongside a hybrid option. There's no self-hosted LangSmith on the free or Plus plans.

Langfuse: yes, on every tier, for free. Langfuse says you can "self-host all core Langfuse features for free without any limitations", and that includes SSO and organisation-level roles. Only a few enterprise modules need a paid licence: SCIM, audit logs and data-retention policies.

But "free" here means free to licence, not free to run. A self-hosted Langfuse is a real stack:

Langfuse Web + WorkerThe app and the background worker
PostgresTransactional data: projects, users, prompts
ClickHouseThe trace data itself, where the volume goes
Redis / Valkey + S3Cache and queue, plus raw events and attachments

NOTE: Langfuse's own docs describe Docker Compose as being for local use and testing, a "single VM without high availability, scaling, or backups". For production they point you to Kubernetes with their Helm chart, or to the cloud templates.

So, can you self-host it? Yes. Should you? In my view, only if someone on the team is happy running ClickHouse in production, or if the data really can't leave your servers. Otherwise Langfuse Cloud or LangSmith Cloud is less work.

How do you trace a LangGraph agent with each one?

Both take a few lines. Here's our support bot.

LangSmith: set environment variables. LangGraph picks them up and traces every run automatically.

.env

LANGSMITH_TRACING=true
LANGSMITH_API_KEY=lsv2_...
LANGSMITH_PROJECT=support-bot

Langfuse: install the SDK and pass its callback handler when you invoke the graph.

run.py

from langfuse.langchain import CallbackHandler

langfuse_handler = CallbackHandler() # reads LANGFUSE_PUBLIC_KEY, LANGFUSE_SECRET_KEY, LANGFUSE_BASE_URL

result = graph.invoke(
{"messages": [{"role": "user", "content": "Where is my order?"}]},
config={"callbacks": [langfuse_handler]},
)

Notice the difference. With LangSmith you change nothing in your code. With Langfuse you pass the handler on every invoke, or wire it once where your app calls the graph. Neither is hard, but LangSmith is the zero-effort option for LangGraph.

NOTE: if you run the agent on the LangGraph Agent Server or LangSmith Deployment, LangSmith tracing is already built in. With Langfuse you add the handler in your graph code yourself.

Which features does only one of them have?

Both cover the basics well: tracing, datasets and experiments, LLM-as-a-judge evaluators, human annotation queues, prompt management and a playground. The differences are at the edges.

Only LangSmith:

  • Agent hosting. LangSmith Deployment runs your LangGraph agent on the Agent Server. Langfuse doesn't host agents at all.
  • Insights. It automatically sorts production traces into categories and tracks how usage and failure modes change over time.
  • Automation rules. For example, send every trace with negative feedback to an annotation queue or a dataset.
  • Studio integration. Step through a LangGraph run visually and replay it.

Only Langfuse:

  • Free, full self-hosting under MIT, as above.
  • No seat fees on any cloud plan from Core up.
  • Long retention: 3 years on Pro, against LangSmith's 180-day Cloud maximum.
  • Framework-neutral by design. It's built on OpenTelemetry and isn't tied to one framework's company.

One more thing worth knowing before you commit. LangChain's docs say that for accounts created after 3 August 2026, bulk export of trace data from LangSmith is Enterprise-only. If getting your data out matters to you, factor that in.

What about other LangSmith alternatives?

Langfuse is the best-known open-source LangSmith alternative, but it isn't the only one. Arize Phoenix, Helicone, Opik and others cover similar ground. I'll compare them properly in a separate post. If self-hosting and an open licence are the main reasons you're looking, Langfuse is the one to test first, because it's the most complete.

So which one should you pick?

In your case, the deciding factor is usually one of these three:

  • You want agents hosted and traced in one place, on LangGraph: LangSmith. Fewest moving parts, deepest LangGraph support, and one bill.
  • Your data has to stay on your servers, and you're not on Enterprise: Langfuse, self-hosted. It's the only one of the two you can self-host without an Enterprise contract.
  • Your team is bigger than two or three people, or you use several frameworks: Langfuse Cloud. No seat fees, and it isn't tied to LangChain.

You can also use both: LangSmith while you build in Studio, and Langfuse in production. Some teams do exactly that. It costs you two setups to maintain, so only do it if one tool really can't cover you.

For our support bot with two people, 30,000 runs a month and short runs, Langfuse Core comes in around $57 against $178 for LangSmith Plus. If the bot were running on LangSmith Deployment already, I'd stay on LangSmith and save the extra moving part.

Count your steps, count your seats, and the choice usually makes itself.

FAQ

Is Langfuse a free alternative to LangSmith? Yes, for self-hosting: the core is MIT licensed, with no usage limits. Langfuse Cloud also has a free Hobby plan (50,000 units a month, 2 users, 30 days of data).

Is LangSmith open source? No. The LangSmith platform is proprietary. Its client SDKs are open source, and the LangGraph and LangChain libraries are MIT.

Can I self-host LangSmith? Only on the Enterprise plan. Self-hosted and hybrid deployment aren't available on Developer or Plus.

Does Langfuse work with LangGraph? Yes. You pass Langfuse's CallbackHandler in the callbacks config when you invoke the graph.

Why is Langfuse pricing in units? Langfuse counts every trace, observation (each step in a run), score and facet result as a unit. LangSmith counts one trace per run. Compare them by multiplying your runs by the steps in each run.

Who owns Langfuse? ClickHouse acquired Langfuse in January 2026. Langfuse says the product stays open source and self-hostable, with no planned licensing changes.

Does LangSmith train models on my traces? LangChain's privacy policy (updated 3 December 2026) says it doesn't use data customers store in LangSmith to train or fine-tune its models unless the customer opts in.

Sources (checked 6 December 2026)

Comments