LangSmith vs Langfuse vs Helicone: LLM observability for Next.js (2026)
A developer-lens 2026 comparison of LangSmith, Langfuse, and Helicone for LLM observability in a Next.js app: gateway vs OpenTelemetry instrumentation, open source vs proprietary, real pricing, and which to pick.
On this page
Every LLM app eventually hits the same wall. It works in the demo, then something regresses in production and you cannot tell which prompt, model, or retrieval step caused it. LLM observability tools exist to give you that trace. Three names dominate the 2026 shortlist: LangSmith, Langfuse, and Helicone, and they are not interchangeable. We wired all three into a Next.js SaaS, and the honest read is that they differ most on the two things the marketing pages bury: how you actually instrument a Next.js App Router app, and who owns the trace data afterward. Here is how they compare in 2026.
Quick answer (August 2026)
Pick Helicone if you want the lowest-friction setup. It is an AI gateway, so you change one baseURL in your provider client and traces start flowing, with nothing to flush in serverless or Edge functions. Pick Langfuse if you want owned, self-hostable, OpenTelemetry-native tracing plus evaluations, with the most generous free tier (50k events per month on cloud, or unlimited self-hosted). Pick LangSmith if your Next.js app is already built on LangChain.js or LangGraph and you want the deepest evaluation, prompt, and dataset tooling in one place.
Langfuse (MIT) and Helicone (Apache-2.0) are both genuinely open source and free to self-host; LangSmith is proprietary and only self-hostable on its Enterprise plan. The real decision is your stack and your ownership stance, not raw feature count.
The 30-second version
Scroll to see more
| If you are... | Better pick | Why |
|---|---|---|
| On the Vercel AI SDK or bare provider SDKs, wanting minimal setup | Helicone | Change one baseURL; the gateway logs asynchronously, nothing to flush |
| Wanting to own and self-host your trace data for free | Langfuse or Helicone | MIT and Apache-2.0; LangSmith self-hosts on Enterprise only |
| Already all-in on LangChain.js or LangGraph | LangSmith | Automatic tracing plus the deepest eval, prompt, and dataset tooling |
| Running mostly inside Edge or short serverless functions | Helicone | Proxy logging means no span-flush lifecycle to manage |
| Building complex multi-step agents and RAG chains | Langfuse or LangSmith | Rich structured span traces beat a request-centric proxy view |
| A small team watching cost | Langfuse | 50k free events per month on cloud, or unlimited self-hosted |
What LangSmith is
LangSmith is the proprietary observability and evaluation platform from LangChain, the company behind the LangChain and LangGraph frameworks. You instrument a JavaScript or TypeScript app with the
langsmith SDK and its traceable() wrapper, and if your app already runs on LangChain.js or LangGraph, traces appear automatically with no extra wiring. Beyond tracing, LangSmith bundles the fullest lifecycle of the three: evaluations, a prompt hub, datasets, and human annotation queues.
Pricing in 2026 (from LangChain's pricing page) is seat-plus-usage: Developer at $0 per seat (1 seat, up to 5k base traces per month then pay-as-you-go), Plus at $39 per seat (up to 10k base traces per month, unlimited seats), and a custom Enterprise plan. Overage is billed in compute and storage units (LCU at $1.50, LSU at $1.00), which is powerful but harder to forecast than a flat request count. Self-hosting is available only on Enterprise.
What Langfuse is
Langfuse is an open-source (MIT) LLM engineering platform covering tracing, evaluations, metrics, prompt management, and datasets. The repository sits at about 33.1k stars in August 2026, the core is TypeScript, and it ships both Python and JavaScript/TypeScript SDKs. It is OpenTelemetry-native: the current SDK is built on OTel, so it slots into standard tracing pipelines rather than a proprietary agent format. Langfuse is a Y Combinator W23 company, and in January 2026 it became part of
ClickHouse, the analytics database Langfuse already used under the hood.
You can self-host it for free via Docker Compose, Kubernetes/Helm, or Terraform templates for AWS, Azure, and GCP. Langfuse Cloud pricing in 2026: Hobby is free (50k units per month), Core is $29 (100k units, then $8 per 100k), Pro is $199 (three-year data retention, with an optional Teams add-on at $300), and Enterprise is $2,499. It auto-instruments LangChain, LlamaIndex, and the OpenAI SDK, with manual tracing available through the SDK and decorators.
What Helicone is
Helicone is an open-source (Apache-2.0) LLM observability platform and AI gateway, sitting at about 6.1k stars in August 2026. It gives you two integration modes: the gateway, where you point your OpenAI or Anthropic client at
ai-gateway.helicone.ai and add your key (one line of change), or asynchronous logging through OpenLLMetry, its OpenTelemetry integration. The platform itself is built on Next.js, Cloudflare Workers, Supabase, and ClickHouse. On top of tracing it adds response caching and routing across 100+ models with automatic fallbacks.
Self-hosting is supported via Docker Compose or Helm. Pricing in 2026: Hobby is free (10k requests per month, 1 GB, 1 seat), Pro is $79 per month (10k free requests then usage-based, unlimited seats), Team is $799 per month (SOC-2 and HIPAA, up to 5 organizations), and Enterprise is on request (on-prem deployment, SAML SSO).
The part most comparisons skip: instrumenting a Next.js app
Most head-to-heads stop at feature checklists. For a Next.js App Router app, the integration model matters more, because two of these tools are OpenTelemetry-based and one is a proxy, and that changes what you have to do inside serverless and Edge functions.
Scroll to see more
| Tool | How you wire it into Next.js | Serverless / Edge caveat |
|---|---|---|
Swap baseURL to the Helicone gateway in your Route Handler or Server Action | None: logging is async at the gateway, so there is nothing to flush before the function freezes. Works from Edge. | |
Add the @langfuse SDK, or register it through @vercel/otel in instrumentation.ts, then trace with the SDK or OTel spans | You must flush spans before the function suspends: use after(), waitUntil, or an explicit flush(), or traces get dropped. | |
Wrap calls with traceable() from the langsmith package, or get automatic traces if you already use LangChain.js or LangGraph | Same serverless flush concern: flush pending callbacks before the response returns. |
The practical takeaway: on the raw Vercel AI SDK or bare provider SDKs, Helicone is the least code to add and the safest bet inside Edge and short-lived serverless functions, because you are not responsible for flushing telemetry. Langfuse and LangSmith give you richer, structured, multi-step traces (the thing you want for TypeScript agent frameworks and RAG pipelines over a vector database), but you own the flush lifecycle in serverless. If your app already runs on LangChain.js, LangSmith's automatic tracing erases most of that friction.
Open source and ownership
Your observability data is some of the most sensitive you hold: raw prompts, user inputs, and model outputs all pass through it. That makes the license split more than a checkbox. Langfuse (MIT) and Helicone (Apache-2.0) are both genuinely open source and free to self-host, so you can keep that data inside your own infrastructure at no license cost. LangSmith is proprietary, and self-hosting is gated to its Enterprise plan. For a boilerplate you intend to ship and own, the two OSI-licensed tools keep you in control of the trace store; LangSmith trades that for the most complete evaluation suite.
Pricing for a small Next.js SaaS
The enterprise pricing tables everyone quotes (millions of traces a month) do not describe a small SaaS. Here is what the free tiers actually give a solo or small team, using each vendor's 2026 pricing.
Scroll to see more
| Tool | Free tier | First paid tier |
|---|---|---|
| Helicone | 10k requests/mo, 1 seat | Pro $79/mo, unlimited seats |
| LangSmith | 5k base traces/mo (Developer), 1 seat, then pay-as-you-go | Plus $39 per seat/mo |
| Langfuse | 50k events/mo on cloud, or unlimited self-hosted | Core $29/mo |
For a small Next.js SaaS doing roughly 30,000 LLM calls a month, only Langfuse's cloud free tier (50k events) covers you at zero cost, and it is the only one of the three you can self-host free with no unit ceiling. Helicone's 10k free requests and LangSmith's 5k free traces are both fine for early testing, but you will cross them quickly in production and move to Pro ($79) or Plus ($39 per seat).
Where each one loses
No tool wins on every axis. The honest losing cases:
- Langfuse loses if you want the single deepest evaluation and prompt-lifecycle suite (LangSmith is more complete there) or a zero-config proxy (Helicone is simpler to bolt on). The ClickHouse acquisition strengthens its data backend, but adding an acquirer is a longevity question some teams will weigh.
- Helicone loses if you need rich, span-level traces of complex multi-step agents; its request-centric gateway view is thinner there than Langfuse or LangSmith, and its open-source community (6.1k stars) is smaller. A proxy in front of your LLM calls is also one more dependency in the hot path unless you self-host or lean on fallbacks.
- LangSmith loses on openness (proprietary, self-host on Enterprise only) and on cost predictability (compute and storage units are harder to forecast than a flat request count), and most of its advantage assumes you are on LangChain's JS stack. On the bare Vercel AI SDK it is more setup for less payoff than Helicone.
Bottom line
- Lowest friction on the Vercel AI SDK or bare provider SDKs, and you want a gateway with caching and routing: Helicone.
- Owned, self-hostable, OpenTelemetry-native tracing and evaluations with the most generous free tier: Langfuse.
- Already all-in on LangChain.js or LangGraph and you want the deepest eval, prompt, and dataset tooling: LangSmith.
All three are worth running. The mistake is picking on feature-list length instead of the two things that actually bite in production: how the tool instruments your Next.js app, and whether you can own the data when it matters.
Sources
- Langfuse GitHub repository, stars, license, and OpenTelemetry support (August 2026): github.com/langfuse/langfuse
- Langfuse Cloud pricing (2026): langfuse.com/pricing
- Helicone GitHub repository, license, and gateway architecture (August 2026): github.com/Helicone/helicone
- Helicone pricing (2026): helicone.ai/pricing
- LangSmith pricing and self-hosting terms (2026): langchain.com/pricing
Written by
Yui TanakaYui Tanaka curates the ShipGarden gallery, where we test open-source building blocks so we can own the stack that funds the life.
Frequently asked questions
Is Langfuse open source?
Yes. Langfuse is licensed under the MIT license and you can self-host it for free via Docker Compose, Kubernetes/Helm, or Terraform templates for AWS, Azure, and GCP, with no unit ceiling. It also offers a hosted Langfuse Cloud with a free Hobby tier (50k events per month). Langfuse became part of ClickHouse in January 2026, the analytics database it already used under the hood.
Is LangSmith free?
LangSmith's Developer plan is $0 per seat with up to 5,000 base traces per month, then pay-as-you-go, and it is limited to 1 seat. The Plus plan is $39 per seat per month with 10,000 base traces. LangSmith is proprietary, not open source, and self-hosting is available only on the Enterprise plan (2026 pricing).
Which LLM observability tool is easiest to add to a Next.js app?
Helicone is the lowest-friction option because it works as an AI gateway: you change one baseURL in your provider client inside a Route Handler or Server Action, and logging happens asynchronously at the gateway, so there is nothing to flush in serverless or Edge functions. Langfuse and LangSmith use SDK-based, OpenTelemetry-style tracing, which means you must flush spans (via after(), waitUntil, or an explicit flush) before a serverless function suspends, or traces get dropped.
Can I self-host LangSmith, Langfuse, and Helicone?
Langfuse (MIT) and Helicone (Apache-2.0) are both free to self-host: Langfuse via Docker Compose, Kubernetes/Helm, or Terraform, and Helicone via Docker Compose or Helm. LangSmith is proprietary and self-hostable only on its Enterprise plan.
Do I need LangChain to use these tools?
No for Langfuse and Helicone: both are framework-agnostic and work with the Vercel AI SDK or bare provider SDKs. LangSmith also works without LangChain through its langsmith SDK and traceable() wrapper, but its automatic tracing and biggest advantages assume your app is built on LangChain.js or LangGraph.
More from the garden
Vercel AI SDK vs LangChain.js: the TypeScript AI decision for a Next.js SaaS (2026)
A developer-lens 2026 comparison of the Vercel AI SDK and LangChain.js: a thin, edge-native model-and-UI toolkit versus a broader retrieval-and-agent orchestration framework, and why the @ai-sdk/langchain adapter means many Next.js teams should use both.
Mastra vs LangChain vs LlamaIndex: TypeScript AI Agents (2026)
Mastra, LangChain.js, and LlamaIndex.TS for building AI agents in TypeScript, 2026: stars, license, which is still maintained, and how to choose.
Qdrant vs Weaviate vs Chroma: the open-source vector database call for a RAG app (2026)
Qdrant, Weaviate, and Chroma are the three open-source vector databases you can actually self-host. We compare embedded versus server, self-host cost, license, managed pricing, and when pgvector wins.