You shipped an AI feature. It works in the demo. Then a user pastes something weird, the model does something you've never seen, and your only record is... a log line that says 200 OK. You have no idea what prompt actually went in, what came back, what it cost, or whether last week's "small improvement" quietly made things worse.

That gap — between "the API returned something" and "I understand what my AI is doing" — is exactly what Langfuse fills. It's the open-source layer that traces every LLM call, keeps your prompts, and lets you grade outputs, so your AI feature becomes something you can actually observe and improve instead of pray over.

What it is: an open-source (MIT-licensed) platform that brings observability, prompt management, and evaluations into one place. It captures a full trace of each request — every model call, tool call, and retrieval step, with inputs, outputs, latency, and token cost — and layers evals (programmatic checks and LLM-as-judge scoring) and experiments on top so you can measure whether a change helped.

What it does#

Three jobs, one connected workflow:

It's framework-agnostic (works with the OpenAI SDK, LangChain, LlamaIndex, and plain HTTP), so it sits under whatever stack you already have.

Who it's for#

Founders and small teams who've shipped an AI feature and outgrown eyeballing responses in the terminal. It's especially worth it if:

How to start#

Two paths, both free to begin:

What it costs (July 2026)#

Self-hosting the MIT core has no license fee — you pay only for the infrastructure you run it on.

The catch#

Self-hosting is not a single lightweight container. Langfuse's backend wants PostgreSQL, ClickHouse, Redis, and S3-compatible storage — that's a real amount of operational surface for a solo founder to babysit, and it's the honest tradeoff behind "free forever on your own infra." For most small teams, the free Cloud tier is the saner starting point; reach for self-hosting when data residency or volume actually demands it.

One more thing worth knowing: ClickHouse acquired Langfuse in January 2026. So far the product has kept its MIT license and added no new pricing gates — a good sign — but it's the kind of ownership change worth keeping half an eye on if you're betting your observability stack on it.

The takeaway#

If you're shipping AI features and can't answer "what did my model actually do on that request, and did my last change make it better?", Langfuse is the fastest way to close that gap — free to start, open-source if you want to own it, and built around the exact loop (trace → evaluate → improve) that separates an AI feature you can operate from one you just hope keeps working.