Self-hosted LLM observability tools: setup, storage and free limits
Updated Published By Agent Radar6 min read
Short answer
Compare Langfuse, Opik and Phoenix for self-hosted LLM tracing: databases, production setup, licenses, hosted free tiers and a practical deployment checklist.
Top pick: Langfuse. A tracing and evaluation stack with Postgres, ClickHouse, Redis/Valkey and object storage. Choose it when your team can operate those dependencies.
Quick comparison
| Pick | License | Pricing | Source |
|---|---|---|---|
| 1.Langfuse | MIT core; separate enterprise license | Self-hosted OSS core; hosted Hobby tier available | GitHub |
| 2.Opik | Apache-2.0 | Self-hosted OSS; separate Free Cloud plan | GitHub |
| 3.Phoenix | Elastic License 2.0 | Free self-hosting; infrastructure costs remain | GitHub |
For self-hosted LLM observability, start with the infrastructure you are willing to maintain, not a feature-count ranking. Langfuse, Opik and Phoenix all offer a path to running tracing on your infrastructure, but their storage, licensing and hosted plans differ.
Checked October 18, 2026. This is a documentation-based selection guide, not a benchmark or hands-on test. The numbered product cards are a shortlist, not a speed or quality ranking.
Choose by the constraint you actually have
| Your starting point | Shortlist first | What to check before committing |
|---|---|---|
| Local development with one SQL-backed application | Phoenix | Persistent storage, PostgreSQL migration and ELv2 terms |
| A team already comfortable with ClickHouse and several data stores | Langfuse | Storage operations and any enterprise-only controls you require |
| Agent testing alongside tracing, with a permissive repository license | Opik | Production Helm deployment and the services it requires |
| Nobody owns infrastructure operations | A hosted free plan | Metering, retention and paid add-ons, rather than assuming self-hosting is cheaper |
These are editorial starting points based on the documented deployments below. They are not recommendations for a particular traffic level or a claim that one stack uses less memory.
What you will actually run
Langfuse: a web and worker stack with four storage roles
The current self-hosting docs describe Langfuse v4: web and worker containers plus Postgres, ClickHouse, Redis/Valkey and S3-compatible or other supported blob storage. Postgres handles transactional data; ClickHouse stores tracing records and scores; object storage holds incoming events, media and large exports. Docker Compose is positioned for local testing, not a ready-made high-availability setup with backups. Langfuse architecture and deployment options.
The practical question is whether your team can operate and recover the whole stack. A running dashboard alone is not a recovery plan. If you already operate these services, evaluate the documented Helm path against your existing infrastructure rather than duplicating databases. Kubernetes deployment guide.
Opik: local Compose is a starting point, not the production plan
Opik's local deployment uses Docker Compose. The infrastructure list includes MySQL, Redis, ClickHouse, ZooKeeper and MinIO. Its documentation explicitly recommends Kubernetes Helm for production rather than the local Compose setup. The SDK can be pointed at the local instance using its local configuration mode. Opik local deployment.
Persistent volumes matter: stopping a container and deleting its data volumes are different operations. Before adopting a deployment, identify every persistent store and test restoration somewhere disposable. Do not treat a successful restart as evidence that backups work.
Phoenix: SQLite locally, PostgreSQL for production
Phoenix combines a web UI and trace collector with a SQL backend. SQLite is the default local option; mount persistent storage for its working directory. The docs recommend PostgreSQL for production and multi-user deployments, with PostgreSQL 14 as the minimum supported version at this check. Phoenix architecture.
That makes Phoenix a useful candidate when a SQL-backed deployment fits your team's operating model. It does not establish the cheapest production bill or highest throughput; those require testing against your own workload.
Free software, hosted free tiers and trials are different
| Option | What the current first-party page says | Do not confuse it with |
|---|---|---|
| Langfuse Cloud Hobby | 50,000 units/month, 30 days of data access, 2 users | 50,000 complete agent runs or indefinite retention |
| Opik Free Cloud | 25,000 spans/month and 60-day data retention | An unlimited tracing service or unlimited coding-harness use |
| Phoenix self-hosted | Run the software on your infrastructure under ELv2 | The quotas of Arize AX, a separate hosted offering |
Sources: Langfuse pricing, Opik pricing, Phoenix license documentation and Arize pricing.
Langfuse meters units, while Opik meters spans. Do not turn either into a number of user conversations without checking what your instrumentation emits. Opik's Free Cloud also lists an Ollie coding-harness trial; that is not the same entitlement as its recurring free tracing plan. Its pricing page has conflicting team-member wording between the plan card and FAQ, so confirm seats at signup rather than planning around a single number.
Self-hosting removes the hosted subscription from that path, not the cost of compute, disks, backups or operations. Evaluations that call a paid model can add inference costs. Budget those separately and check which endpoint receives evaluation inputs.
Licensing: read the file, not the GitHub badge
- Langfuse: the repository license covers the core with MIT, while designated enterprise directories have a separate license. Some self-hosted features, including retention policies, audit logs and project-level RBAC, require an enterprise key. Repository license · Enterprise feature boundary.
- Opik: the repository uses Apache-2.0. That software license does not make every hosted add-on free. Opik license.
- Phoenix: the repository uses Elastic License 2.0. It permits use subject to its conditions but restricts offering substantial functionality to third parties as a hosted or managed service. Do not describe it as equivalent to permissive MIT or Apache-2.0 licensing. Phoenix license.
A missing license label in repository metadata is not evidence that a project has no license.
A small acceptance test before you choose
Use the same disposable application and synthetic data for each candidate. This is a proposed test plan, not a test we have performed:
- Capture one request with a model call, a tool call and a deliberate error. Check that the parent-child relationships and failure are visible.
- Restart the deployment and verify the trace still exists. Then separately restore a backup into an isolated instance.
- Export a small trace and evaluation dataset. Check that the fields you need survive the export; do not assume an export is a full instance backup.
- Decide how long to retain prompts, outputs and attachments. Verify deletion controls in the exact edition you intend to run, including the treatment of backups.
- Check access controls and outgoing network connections. Self-hosting the dashboard does not automatically keep external evaluators, integrations or model calls local.
- Record your own ingestion, query and storage measurements before scaling. This article supplies no measured speed, memory or reliability comparison.
The best fit is the stack whose deployment and data lifecycle you can actually support. If the tracing workflow is still unproven, use synthetic data to validate it before committing to production infrastructure.
Related: Langfuse hub, Opik hub, Phoenix hub. For narrower follow-ups, see Opik vs Langfuse and Langfuse alternatives.
The picks
A tracing and evaluation stack with Postgres, ClickHouse, Redis/Valkey and object storage. Choose it when your team can operate those dependencies.
Pros
- Documented production deployment options
- Core features and APIs available without an enterprise key
Cons
- Multiple persistent storage services to operate
- Retention-policy controls and some governance features require an enterprise key
Pricing Self-hosted OSS core; hosted Hobby tier available
Tracing and agent testing under Apache-2.0, with a multi-service local stack and Helm recommended for production.
Pros
- Permissive repository license
- Local SDK configuration and deployment guides
Cons
- Docker Compose guide is explicitly not a production deployment
- Cloud coding-harness trial is separate from recurring free tracing
Pricing Self-hosted OSS; separate Free Cloud plan
A trace collector and UI backed by SQLite for local work or PostgreSQL for production. Its Elastic License 2.0 is not equivalent to MIT or Apache-2.0.
Pros
- SQLite local start with a PostgreSQL production path
- SQL-backed storage and documented persistence settings
Cons
- ELv2 restricts offering substantial functionality as a hosted service to third parties
- Arize AX hosted quotas are not Phoenix self-hosted limits
Pricing Free self-hosting; infrastructure costs remain
Questions
Which self-hosted LLM observability tool should I start with?
Start with your deployment constraints: Phoenix documents a SQLite local path, while Langfuse and Opik use multi-service stacks. Choose only after checking required integrations, licensing and a production backup plan; this guide does not rank measured performance.
Does free self-hosting include free model inference?
No. Your servers, storage, backups and any model calls used by evaluators remain separate costs. A hosted free tier is also different from a time-limited trial.
Are Phoenix, Langfuse and Opik all permissively licensed?
No. Opik uses Apache-2.0. Langfuse has an MIT core with separately licensed enterprise code. Phoenix uses Elastic License 2.0, including a restriction on providing substantial functionality as a hosted service to third parties.
Can I compare hosted quotas as a number of traces?
Not directly. Langfuse lists units and Opik lists spans. One application request can generate several spans. Check each vendor's billing definition before estimating capacity.
