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]
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.
At a glance (checked 20 October 2026)
| Decision factor | Langfuse | Opik |
|---|---|---|
| Ownership | Acquired by ClickHouse, January 2026; no planned licence changes | Comet ML, independent; reports $70M in total funding |
| Licence | MIT, except add-ons in the ee folders | Apache-2.0 for the core platform and SDKs |
| Self-hosted stack | Postgres, ClickHouse, Redis or Valkey, S3-compatible storage | Kubernetes for production; local Docker not production-ready |
| Run-time checks | None; evaluation happens after the fact | Partial: guardrails your code calls; they fail closed |
| Prompt tooling | Versioning, labels, playground | Versioning, environments, Agent Playground, Prompt Optimizer |
| OpenTelemetry | OTLP over HTTP; gRPC not supported | OTLP over HTTP; gRPC not supported |
| Free cloud tier | Hobby: 50k units a month, 30 days of data | Free Cloud: 25k spans a month, 60-day retention |
| First paid tier | Core: $29 a month, 100k units, 90 days of data | Pro Cloud: $19 a month, 100k spans, 60-day retention |
Langfuse vs Opik: capabilities side by side
| Capability | Langfuse | Opik | Prefactor |
|---|---|---|---|
| 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 |
Licences and what self-hosting involves
Both are free to self-host: Opik is Apache-2.0 throughout with every feature except user administration, and Langfuse is MIT apart from ee folders that need a licence key. Langfuse production installs run on Kubernetes, AWS, Azure or GCP with Postgres, ClickHouse, Redis or Valkey and S3-compatible storage; Opik production uses Kubernetes.
Read more
Self-hosted Opik guardrails need a separate server, with a GPU recommended. Since September 2026 the Opik SDK sends anonymous usage analytics by default; turn them off with OPIK_ANALYTICS_ENABLE=false.
Ownership and pace of change
ClickHouse acquired Langfuse in January 2026 and said its roadmap, licence and self-hosting would not change; Comet, which builds Opik, is independent. Both ship often: Langfuse released v4.64.0 on 19 October 2026, and Opik 2.0 arrived in June 2026.
Read more
Langfuse Cloud becomes v4-only on 16 November 2026, which may need migration work. Recent additions include Langfuse code evaluators and backfills, and Opik's judge spend caps, Ollama integration and annotation queues that fill from score conditions.
Where the features differ
Run-time checks are the clearest split: Langfuse does not block live requests and its alerts only notify, while 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 Opik's guards, PII and topic checks are English only, and there is no approval workflow.
Read more
Langfuse backfills evaluator scores over up to six months, offers a low-cost classifier judge and fails CI below a score threshold through a GitHub Action. Opik has more than 30 built-in metrics, an Agent as a Judge, plain-text Test Suites, the Ollie assistant and a Prompt Optimizer with six algorithms. Both accept OTLP over HTTP, not gRPC.
Pricing shape
As of 20 October 2026, Langfuse charges per unit, counting traces, observations and scores: Hobby is free for 50k units a month with 30 days of data, Core is $29 a month for 100k units and 90 days, 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
Heavy online evaluation adds to Langfuse's bill because scores count as units. Model both with Langfuse's pricing and Opik's pricing.
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.
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.
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
- Langfuse pricingChecked 2026-10-20.
- Langfuse documentation
- Langfuse ownership and status
- Opik pricingChecked 2026-10-20.
- Opik documentation
- Opik website
- Prefactor platform
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.
What is the difference between Langfuse and Opik?
How does Prefactor compare with Langfuse and Opik?
What do I need to self-host each?
Do Langfuse and Opik support OpenTelemetry?
Can I switch between Langfuse and Opik later?
Which has more free cloud capacity?
Who owns Langfuse?
Is Langfuse open source?
How much does Langfuse cost?
Can Langfuse block or hold a live agent action?
Who owns Opik?
Is Opik open source?
How much does Opik cost?
Can Opik block or hold a live agent action?
Is Prefactor open source?
How much does Prefactor cost?
Can Prefactor block or hold a live agent action?
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.
Unified performance platform for agents, authentication, and risk management