PrefactorvsLangfusevsOpik

Langfuse vs Opik: how to choose

These are the two closest products in this set: open source, self-hostable, with tracing, experiments, online evals, annotation queues and prompt versioning. Opik adds guardrails and automated prompt optimisation; Langfuse offers a larger free cloud tier, longer paid retention and evaluator backfills over past data. Specific features, not categories, decide this one.[1][4]

support-agent v4 · one run, two layersexample
Illustrative run, showing what each layer tells you
Langfuse / Opiksee
fetch_customer212ms · 1.2k tok
apply_refund1.4s · 3.1k tok
send_reply340ms · 0.8k tok
trace recorded, no verdict
Prefactoradds
Did its job✓ yes
Quality84 / 100
Cost$0.42 · in budget
Drift vs baselinenone
✓ a run that breaches its schema is held for review
§01 / THE SHORT ANSWERtl;dr: which, and when
TL;DR

What is the difference between Langfuse and Opik?

Langfuse and Opik differ less than most pairs: both are open source and free to self-host with online evaluation included, Langfuse under MIT (apart from licence-keyed add-ons) and Opik, from Comet, under Apache-2.0. ClickHouse acquired Langfuse in January 2026, and Langfuse says its licence and roadmap are unchanged. Opik adds guardrails your code can call and a prompt optimiser; Langfuse has no run-time checks but a larger free cloud tier and evaluator backfills.

The short answer

At a glance (checked 20 October 2026)

Decision factorLangfuseOpik
OwnershipAcquired by ClickHouse, January 2026; no planned licence changesComet ML, independent; reports $70M in total funding
LicenceMIT, except add-ons in the ee foldersApache-2.0 for the core platform and SDKs
Self-hosted stackPostgres, ClickHouse, Redis or Valkey, S3-compatible storageKubernetes for production; local Docker not production-ready
Run-time checksNone; evaluation happens after the factPartial: guardrails your code calls; they fail closed
Prompt toolingVersioning, labels, playgroundVersioning, environments, Agent Playground, Prompt Optimizer
OpenTelemetryOTLP over HTTP; gRPC not supportedOTLP over HTTP; gRPC not supported
Free cloud tierHobby: 50k units a month, 30 days of dataFree Cloud: 25k spans a month, 60-day retention
First paid tierCore: $29 a month, 100k units, 90 days of dataPro Cloud: $19 a month, 100k spans, 60-day retention
§02 / CAPABILITY MATRIXside by side: what each covers
Side by side

Langfuse vs Opik: capabilities side by side

CapabilityLangfuseOpikPrefactor
Observe
LLM call tracing✓✓✓
Multi-step agent tracing (tool calls, nested spans)✓✓✓
Cost tracking✓✓✓
OpenTelemetry support✓✓✓
Evaluate
Offline evals (datasets, experiments)✓✓✓
Online evals on production traffic✓✓✓
LLM-as-a-judge scoring✓✓✓
Code-based evaluators✓✓✓
Human review and annotation✓✓✓
Prompt versioning and playground✓✓—
Act on findings
Runtime controls on live agent actions—Partial✓
Gateway or proxy in the request path—Partial—
Licence and deployment
Open source✓✓Partial
Self-hosting✓✓Partial
§03 / IN DEPTHdetail: the reasoning
In depth

Licences and what self-hosting involves

Both platforms publish their code and document a free self-hosted path, so the choice comes down to details. Langfuse is MIT-licensed apart from its ee folders, which hold add-on features that need a licence key, such as UI customisation. Self-hosting runs on Docker Compose for testing and on Kubernetes, AWS, Azure or GCP for production, backed by Postgres, ClickHouse, Redis or Valkey and S3-compatible storage.

Read more

Opik is Apache-2.0 throughout, and its documentation says the self-hosted version includes every feature except user administration. The local install script uses Docker and is described as not production-ready; production deployments use Kubernetes. If you want Opik's guardrails on your own servers, they need a separate guardrails server, with a GPU recommended. One default to know: since September 2026 the Opik SDK sends anonymous feature-usage analytics, which you can turn off with OPIK_ANALYTICS_ENABLE=false.

Ownership and pace of change

ClickHouse acquired Langfuse in January 2026. Langfuse said its roadmap would not change, its licence would not change and self-hosting would stay a first-class option, and it has kept shipping: rebuilt experiments in April, code evaluators in May, a 1.0 command-line tool in August, evaluator backfills in September and release v4.64.0 on 19 October. Existing cloud users should note that Langfuse Cloud becomes v4-only on 16 November 2026, which may need migration work.

Read more

Comet, which builds Opik, is independent. Opik 2.0 shipped in June 2026 with an environment-tagged Prompt Library and resumable evaluations; July added a per-evaluation spend cap for judges, September an import command for traces of any age, and October a native Ollama integration and annotation queues that fill from feedback-score conditions.

Where the features differ

Run-time checks are the clearest split. Langfuse does not block or enforce anything on live requests; its documentation says protection comes from separate libraries and Langfuse evaluates those measures afterwards, and its threshold alerts notify rather than block. Opik ships guardrails for PII, topics, prompt injection, judge checks and custom classifiers as a blocking validate() call that fails closed. Your code must call them, PII and topic checks are English only, and there is no approval workflow.

Read more

On evaluation, Langfuse can backfill evaluator scores over up to six months of past observations, offers a low-cost classifier judge, and runs experiments in CI through a GitHub Action that fails below a score threshold. Opik offers more than 30 built-in metrics, an Agent as a Judge that reads traces with tools, Test Suites written as plain-text assertions and Ollie, an assistant that analyses traces and proposes fixes. Both version prompts with labels or environments and a playground; Opik adds a Prompt Optimizer with six algorithms.

Instrumentation is close to interchangeable. Both accept OTLP over HTTP and neither supports gRPC. Langfuse maps OpenInference-style attributes; Opik does not state which conventions it reads.

Pricing shape

The cloud plans count different things. As of 20 October 2026, Langfuse charges per unit, where traces, observations and scores all count: Hobby is free for 50k units a month with 30 days of data, Core is $29 a month for 100k units and 90 days of data, then $8 per 100k, and Pro is $199 a month with three years of data. Opik charges per span: Free Cloud covers 25k spans a month with 60-day retention, and Pro Cloud is $19 a month for 100k spans, then $5 per 100k, with retention up to 400 days at $29 per 100k spans.

Read more

Self-hosting either one removes the subscription but adds infrastructure you run, which for Langfuse includes a ClickHouse database. Because Langfuse counts scores as units, heavy online evaluation adds to its bill in a way that span counts do not show. Model both on your own traffic using Langfuse's pricing and Opik's pricing.

§04 / THE QUALITY GAPour take: where it stops
Our take

Where Prefactor fits

We sell the layer this section describes. Read it with that in mind.

Stated plainly, since Prefactor publishes this page: Prefactor is an agent evaluation platform that scores each step of a run, not only the final answer, and can act on what it finds through runtime policies, approval holds and a kill switch scoped to a run, an agent or a team. Langfuse has no run-time checks, and Opik's guardrails block only where your code calls them, without approval holds or tool-call policies. Prefactor has no prompt playground or prompt registry and its platform is hosted, so if free self-hosting or prompt iteration is the requirement, Langfuse or Opik is the better pick. See the full comparison of 15 platforms.

See it on your own agents

A working session on a fleet like yours: watch a run evaluated, catch a drift, walk the record.

§05 / WHICH TO PICKdecide: by your stack
Which to pick

Which one fits

Pick Langfuse if

  • A larger free cloud tier, or three years of data on Pro, matters to you.
  • You want to backfill new evaluators over months of past traces.
  • You already run ClickHouse, or its ownership is a plus for you.
  • You want experiments gating CI through a ready-made GitHub Action.

Pick Opik if

  • You want guardrails your code can call in the same open-source tool.
  • You prefer an Apache-2.0 licence with no licence-keyed folders.
  • Automated prompt optimisation is part of how you work.
  • Your agents use Java or .NET and you want a native SDK.
§06 / HOW WE REVIEWEDsources: checked October 20, 2026
Methodology

How we reviewed this comparison

Reviewed against public product and documentation pages on October 20, 2026. If a vendor has changed a feature, product name, or positioning since then, send a correction and we will update it. Numbered source links in the page body point to the ordered sources below.

Sources reviewed

  1. Langfuse pricingChecked 2026-10-20.
  2. Langfuse documentation
  3. Langfuse ownership and status
  4. Opik pricingChecked 2026-10-20.
  5. Opik documentation
  6. Opik website
  7. Prefactor platform
Prefactor context

Methodology

  • Reviewed public product, documentation, and launch material visible at the time of writing.
  • Mapped each page to the primary buyer, control layer, and runtime capabilities each vendor describes publicly.
  • Prefer direct product and documentation pages over analyst summaries or reseller material.
§07 / QUESTIONSfaq: the common ones
Questions
What is the difference between Langfuse and Opik?
Both are open-source, self-hostable platforms for tracing LLM and agent applications, running offline and online evaluations and versioning prompts. Opik, from Comet, is Apache-2.0 and adds guardrails your code can call and a prompt optimiser. Langfuse is MIT apart from add-on folders, has no run-time checks, and offers a larger free cloud tier and evaluator backfills.
How does Prefactor compare with Langfuse and Opik?
Prefactor is an agent evaluation platform for teams building AI agents: it observes every agent run from development to production, evaluates whether the agent did its job, and shows how to improve it. As of 20 October 2026, Prefactor can block or hold a live agent action; Opik does so in part and Langfuse does not. Langfuse and Opik both include prompt versioning and a playground. Prefactor evaluates how prompts perform in live runs rather than providing a prompt playground or registry.
What do I need to self-host each?
Langfuse needs Postgres, ClickHouse, Redis or Valkey and S3-compatible storage, on Docker Compose for testing or Kubernetes and the main clouds for production. Opik's local Docker install is not production-ready; production runs on Kubernetes, and self-hosted guardrails need a separate server with a GPU recommended.
Do Langfuse and Opik support OpenTelemetry?
Yes, both accept OTLP over HTTP, and neither supports gRPC. Langfuse maps OpenInference-style attributes and names OpenLLMetry and OpenLIT as compatible; Opik does not state which semantic conventions it reads.
Can I switch between Langfuse and Opik later?
If you instrument with OpenTelemetry, your tracing code can point at either over OTLP. Neither vendor documents a direct import from the other, so prompts, datasets and evaluator configuration would need recreating.
Which has more free cloud capacity?
Langfuse, by volume. As of 20 October 2026, Langfuse Hobby includes 50k units a month with 30 days of data, and Opik Free Cloud includes 25k spans a month with 60-day retention for up to 10 members. Langfuse counts traces, observations and scores as units, so the two are not directly comparable.
Who owns Langfuse?
As of 20 October 2026: ClickHouse, Inc., which acquired Langfuse in January 2026. Langfuse said its roadmap and licence would not change and that self-hosting stays a first-class option.
Is Langfuse open source?
Yes. The repository is MIT-licensed, apart from add-on features in its ee folders that need a licence key. Self-hosting on Docker or Kubernetes is free.
How much does Langfuse cost?
As of 20 October 2026: Hobby is free with 50k units a month and 30 days of data, and self-hosting is free. Core is $29 a month for 100k units, then $8 per 100k. Pro is $199 a month, and Enterprise is $2,499 a month or custom.
Can Langfuse block or hold a live agent action?
No. Langfuse evaluates runs after they happen. Its documentation says run-time protection comes from separate libraries, and Langfuse scores those measures afterwards.
Who owns Opik?
As of 20 October 2026: Comet ML, Inc., an independent company founded in 2017 that reports $70M in total funding.
Is Opik open source?
Yes. The core platform, including tracing, evaluation, the UI, backend and SDKs, is Apache-2.0 and free to self-host.
How much does Opik cost?
As of 20 October 2026: Self-hosting is free with unlimited spans. Free Cloud covers 25k spans a month and 10 users. Pro Cloud is $19 a month for 100k spans, then $5 per 100k. Enterprise is custom.
Can Opik block or hold a live agent action?
Partly. Opik guardrails run as a blocking check that your code must call and handle. There are no approval workflows for agent actions.
Is Prefactor open source?
Partly. Its deterministic evals package is Apache-2.0; the platform is hosted.
How much does Prefactor cost?
As of 20 October 2026: Dev is free with 5,000 spans a month. Startup is $49 a month and Scaleup $199 a month. Enterprise is custom above 4 million spans a month.
Can Prefactor block or hold a live agent action?
Yes. Runtime policies can block, throttle, sandbox or escalate an agent's tool calls and data access before they run, approval routing holds risky actions for a person, and a kill switch stops a run, an agent or a team.
Reviewed against public sources on October 20, 2026Suggest a correction

Score the run, then act on it

Prefactor scores each step of every agent run and can hold or stop an action when a score says it should not happen. Start on the free tier: 5,000 spans a month, no credit card required.

Agent Performance Platform
Unified performance platform for agents, authentication, and risk management
All Systems Operational
3Global Agents
7Instances
5Services
12%Human Intervene
4High Risk
$2,360Monthly Spend
Mission ControlLive agent health with 7-day activity heartbeat
Claims Proc...68
$330/moRed
Claims Proc...65
$160/moRed
Claims Proc...82
$170/moAmber
ChatGPT74
$150/moAmber

See how every agent performs, and make it better

Prefactor helps teams observe, evaluate, and improve their AI agents in production, across every framework and provider.