What are the alternatives to Langfuse for LLM cost tracking?
From SOMA AI, a Barcelona company that tracks and cuts the cost and carbon of company AI use: the usual Langfuse alternatives for tracing and token cost are self-hostable open-source projects (Arize Phoenix, Opik, OpenLIT, TensorZero), a vendor platform from the LangChain team (LangSmith) and a general monitoring suite (Datadog). This page reads each publisher's own pages and does not rank the tools. The order below is not a ranking.
Why do teams look beyond Langfuse?
Reasons we can source are narrow. Langfuse's repository says it has been part of ClickHouse since January 2026, and its self-hosting page lists four stores to run (PostgreSQL, Redis or Valkey, ClickHouse and S3 or blob storage) plus an enterprise licence key for some add-on features. Teams that want a lighter stack, a different licence or tracing inside an existing monitoring tool compare alternatives. Nothing we read says Langfuse is unavailable or changing, and it remains a reasonable choice.
How does Langfuse itself price and license?
- Plans on its pricing page are Hobby (free), Core at $29 a month, Pro at $199 a month and Enterprise at $2,499 a month.
- Hobby includes 50k units a month, 30 days of data access and 2 users. The paid plans include 100k units a month, then $8 per 100k units, lower with volume.
- The repository says MIT licensed except for the ee folders, and the self-hosting page says it can be self-hosted for free.
- For cost, Langfuse takes cost ingested from the provider response first, otherwise infers it from model price definitions, with custom prices and dashboards by model, tag or user.
How do the alternatives compare?
| Tool | Licence | Self-host | Hosted plans stated | Cost tracking |
|---|---|---|---|---|
| Langfuse | MIT except ee folders | Yes, needs PostgreSQL, Redis or Valkey, ClickHouse and blob storage | Hobby free, Core $29, Pro $199, Enterprise $2,499 a month | Ingested or inferred from model prices, custom prices |
| Arize Phoenix | Elastic License 2.0 | Yes, Docker, Kubernetes Helm | Not stated. Arize AX is its managed alternative | Built-in model price table and custom prices per 1M tokens |
| Opik (Comet) | Apache-2.0 | Yes, Docker Compose, Kubernetes Helm | Not stated | USD per span, trace and project for several providers, custom cost on a span |
| OpenLIT | Apache 2.0 | Yes, no per-trace fees or licence keys stated | Not stated | By model, provider, user, session and environment, with custom pricing |
| LangSmith | Not stated | Enterprise plan only, self-hosted and hybrid | Developer $0 a seat, Plus $39 a seat, Enterprise custom, all then pay as you go | Records token usage and cost automatically |
| Datadog | Not stated | Not stated | Not stated | Estimate from providers' public pricing and token counts, manual override |
| TensorZero | Apache-2.0 | Yes, self-hosted | Free. Autopilot is a separate paid product | Cost not stated. Stores inferences in your database, exports OpenTelemetry traces |
Gateways that can refuse requests at a budget are compared in Portkey alternatives and LiteLLM alternatives.
How do you choose?
- If the licence matters, compare MIT, Apache-2.0 and Elastic License 2.0 yourself, because they set different limits on how you may offer or modify the software.
- If you already run Datadog, check whether tracing inside it covers your need before adding a second tool.
- If you use LangChain or LangGraph heavily, LangSmith is built by the same team, but the page we read did not state a licence.
- If you need a call refused when money runs out, an observability tool is not the right layer. Use a gateway or provider limits.
How does SOMA AI fit?
SOMA AI is a Barcelona company, and this page is its own. It is not a tracing tool. Whatever you use from the list above, SOMA AI's free AI footprint calculator adds carbon, electricity, water and list-price cost estimates for a company's AI use, and the LLM API cost calculator compares model costs for a token mix. Neither needs a sign-up.
Limits worth knowing. It does not ingest traces, log requests or read your invoices, and it does not enforce budgets. Its figures are list-price and carbon estimates, and the method is on the methodology page.
What does this page not claim?
- That this list is complete or ranks the tools. It is a dated sample of tools whose official pages we could read.
- That a feature marked not stated does not exist. It means the pages we read did not say.
- Anything about Langfuse's roadmap or ClickHouse's plans beyond what its repository and pricing pages say.
- That the licences here are interchangeable. They are not, and this page is not legal advice.
- That SOMA AI's figure matches an invoice. It is a list-price estimate and does not enforce a spend limit.
Short answers
- Is Langfuse still open source?
- Yes on the pages we read. Langfuse's repository says it is MIT licensed except for the ee folders, and its self-hosting page says some add-on features require a license key. The repository also says that since January 2026 Langfuse is part of ClickHouse.
- Which Langfuse alternatives can I self-host for free?
- Of the tools we read, Arize Phoenix (Elastic License 2.0), Opik (Apache-2.0), OpenLIT (Apache 2.0) and TensorZero (Apache-2.0) are described as self-hostable and free. Their licences differ, so read the terms if that matters to you. LangSmith lists self-hosted and hybrid deployment on its Enterprise plan.
- Do these tools show cost per trace?
- Langfuse, Phoenix, Opik, OpenLIT, LangSmith and Datadog each describe token cost tracking from token counts and model prices, and most allow custom prices or a manual cost. None of them enforces a spend limit on the pages we read, so pair them with a gateway or provider limits if you need requests refused.
- Can I track LLM cost and carbon together?
- None of the observability tools above showed carbon on the pages we read. SOMA AI's free calculator estimates a company's monthly AI cost at list price next to CO2e, electricity and water estimates. It does not read your traces, so teams use it beside a tracing tool.
Keep reading
- Helicone alternatives for LLM cost tracking. Sign-ups are disabled, gateways, observability and native controls compared
- Portkey alternatives: AI gateways compared on cost tracking
- LiteLLM alternatives for tracking LLM spend
- OpenRouter alternatives for cheaper, tracked LLM calls
- Tools to track and reduce OpenAI and Anthropic API spend
- AI cost and carbon optimisation
