LangSmith vs Opik: how to choose
Both trace multi-step agents, score production traffic with LLM judges or code, queue runs for human review and version prompts. Opik puts the whole platform under Apache-2.0 and lets you run it yourself at no cost; LangSmith is a hosted, per-seat product with the closest fit to LangChain, LangGraph and Deep Agents. Licence and framework usually decide it.[1][4]
What is the difference between LangSmith and Opik?
LangSmith is LangChain's proprietary platform, priced per seat, with self-hosting only on an Enterprise contract; Opik is Comet's Apache-2.0 platform that you can self-host for free or use as a cloud priced by spans. Both trace agents, run offline and online evals and version prompts. LangSmith fits teams on LangChain or LangGraph; Opik fits teams that want the whole platform as open source.
At a glance (checked 20 October 2026)
| Decision factor | LangSmith | Opik |
|---|---|---|
| Ownership | LangChain, independent; $125M Series B in October 2025 | Comet ML, independent; reports $70M in total funding |
| Licence | Proprietary platform; client SDKs are MIT | Apache-2.0, covering tracing, evaluation, UI, backend and SDKs |
| Self-hosting | Enterprise add-on with a licence key, on Kubernetes; BYOC also Enterprise | Free; Kubernetes for production, Docker for local use; user administration excluded |
| Run-time checks | LLM Gateway (public beta): spend caps, model access and redaction on model calls | Guardrails your code calls; a failed check raises an exception |
| Prompt tooling | Prompt and Context Hub with commit-based versions, tags and a playground | Prompt Library with environment-tagged versions, playground and Prompt Optimizer |
| OpenTelemetry | OTLP ingest; maps OpenInference, OpenLLMetry and Traceloop attributes | OTLP over HTTP only; gRPC documented as causing errors |
| Free tier | Developer: 1 seat, 5k base traces a month, 14-day retention | Free Cloud: 10 members, 25k spans a month, 60-day retention |
| First paid tier | Plus: $39 per seat a month, 10k base traces | Pro Cloud: $19 a month, 100k spans, then $5 per 100k |
LangSmith vs Opik: capabilities side by side
| Capability | LangSmith | 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 | Partial | ✓ |
| Gateway or proxy in the request path | — | Partial | — |
| Licence and deployment | |||
| Open source | Partial | ✓ | Partial |
| Self-hosting | ✓ | ✓ | Partial |
Licence and hosting come first
Opik's core is open source under Apache-2.0 and self-hosts with every feature except user administration; LangSmith is proprietary and self-hosts only as an Enterprise add-on. If traces must stay inside your network without an Enterprise contract, Opik is the option.
Read more
Comet points production use of Opik to Kubernetes rather than Docker. LangSmith's client SDKs are MIT-licensed, and on 16 October 2026 LangChain split the langsmith-sdk monorepo into separate Python and JavaScript repositories. Self-hosted LangSmith needs a licence key and Kubernetes via Helm or Terraform, and BYOC, where LangChain runs the control plane, is also Enterprise only.
Stack fit: LangChain or a mixed stack
LangSmith has the deepest integration with LangChain, LangGraph and Deep Agents but is not limited to them; Opik suits a mixed stack, with more than 30 integrations and SDKs for Python, TypeScript, Java and .NET. Both accept OpenTelemetry.
Read more
LangSmith also sells agent deployment and offers Engine, in public beta since May 2026, which drafts fixes from production traces. It maps OpenInference, OpenLLMetry and Traceloop attributes, while Opik takes OTLP over HTTP only and states no semantic conventions. Opik adds more than 30 built-in metrics and a Prompt Optimizer. Both have annotation queues, and Opik's have filled automatically from feedback-score conditions since October 2026.
Checks during the run
Each offers a partial run-time check in a different place: LangSmith's LLM Gateway in the model-call path, and Opik's guardrails as a blocking call in your code. Neither documents approval holds on an agent's actions.
Read more
LangSmith's gateway, in public beta since 30 July 2026, can cap spend, restrict models and redact personal data, but not tool calls; LangChain describes tool and MCP gateways as planned. Opik's guards run as a validate() call that fails closed and must be handled in your code; PII and topic checks are English only, and self-hosted guards need a separate server. Opik's own LLM Gateway is in beta for development and testing only.
Pricing shape: seats or spans
LangSmith charges per seat plus traces and Opik charges by spans, so a large team pays more on LangSmith and a high-traffic agent pays more on Opik. As of 20 October 2026, LangSmith Developer is free for one seat and 5k base traces a month, and Plus is $39 per seat a month with 10k base traces, with no published overage rate.
Read more
Self-hosted Opik is free with unlimited spans; Free Cloud covers 10 members and 25k spans a month, and Pro Cloud is $19 a month for 50 members and 100k spans, then $5 per 100k. A trace and a span differ, so model your volumes against LangSmith'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 and acts on what it finds through runtime policies on tool calls and data access, approval holds for risky actions, and a kill switch for a run, an agent or a team. LangSmith's gateway covers model calls only, and Opik's guardrails depend on your code calling them; neither holds an action for approval. Prefactor has no prompt playground or prompt registry and its platform is hosted, so if prompt iteration or free self-hosting is what you need, LangSmith or Opik is the better pick. See the full comparison of 15 platforms.
Which one fits
Pick LangSmith if
- You build on LangChain, LangGraph or Deep Agents.
- You want tracing, evaluation and agent deployment from one vendor.
- Spend caps and redaction on model calls cover the run-time checks you need.
- An Enterprise contract is acceptable if you later need self-hosting.
Pick Opik if
- You want the full platform under Apache-2.0 and free to self-host.
- Many people need access and per-seat pricing would add up.
- You use Java or .NET alongside Python and TypeScript.
- Prompt optimisation algorithms are part of how you iterate.
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
- LangSmith pricingChecked 2026-10-20.
- LangSmith documentation
- LangSmith website
- 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 LangSmith and Opik?
How does Prefactor compare with LangSmith and Opik?
Do I need LangChain to use LangSmith?
Can I self-host LangSmith or Opik?
Which is cheaper for a team of ten?
Do LangSmith and Opik support OpenTelemetry?
Who owns LangSmith?
Is LangSmith open source?
How much does LangSmith cost?
Can LangSmith 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