Self-Hosted LLM observability · Open source
Spanlens is an open source LLM observability and monitoring platform that can be self-hosted with one Docker command, providing logging, cost tracking, and tracing on a user's own infrastructure.
spanlens.ioCrawled Nov 29, 2026
Spanlens is an open source LLM observability and monitoring platform that can be self-hosted with one Docker command, providing logging, cost tracking, and tracing on a user's own infrastructure.
AI agent tracing captures multi-step LLM workflows as waterfall span trees. Instrument LangChain, LangGraph, CrewAI, and the Vercel AI SDK in one line.
Record per-request LLM spend by model, prompt version, and customer. Monitor OpenAI, Anthropic, and Gemini bills, set budget alerts, and cut costs.
LLM observability means logging, tracing, and analyzing every LLM call an app makes. The page explains what to monitor, how to instrument, and how Spanlens compares.
A reproducible local benchmark of proxy header-transform and response-construction CPU work, with the method and a command to run it yourself.
Integrate drop-in LLM observability for OpenAI, Anthropic, and Gemini in 30 seconds. SDK reference, proxy API, OpenTelemetry, and self-hosting guides.
What is new in Spanlens. New features, improvements, infrastructure, and reliability work, in chronological order.
Twelve LLM observability tools compared on licence, install shape, self-hosting, and how actively each is developed. GitHub figures verified 30 July 2026.
Walkthroughs: instrument a RAG chatbot, trace a multi-step agent with parallel tool calls, and run nightly LLM-as-judge evals on production traffic.
Spanlens pricing: Free (50K req/mo), Pro $29/mo (100K req, 90-day retention), Team $149/mo (1M req, 365-day retention). Open source LLM observability. Self-hostable under MIT.
Claude 3.5 Sonnet pricing: $3.00 per 1M input tokens, $15.00 per 1M output, with aggressive prompt caching. Monthly cost estimates and alternatives vs GPT-4o.
Gemini 2.0 Flash pricing: $0.10 per 1M input, $0.40 per 1M output. Cheaper than GPT-4o-mini with full multimodal support. Monthly estimates and alternatives.
GPT-4o pricing: $2.50 per 1M input tokens, $10 per 1M output, $1.25 cached input. Monthly cost scenarios, alternatives, and how to track usage with Spanlens.
GPT-4o-mini pricing: $0.15 per 1M input, $0.60 per 1M output. 15x cheaper than GPT-4o. Monthly cost estimates, when to use it, and how to track with Spanlens.
o3-mini pricing: $1.10 per 1M input, $4.40 per 1M output. OpenAI reasoning model with deep chain-of-thought. Monthly scenarios and when to use it vs GPT-4o.
Open-source and SaaS alternatives to Langfuse, Helicone, LangSmith, Braintrust, and Arize Phoenix in 2026. Honest tradeoffs, MIT license, self-hostable.
Helicone entered maintenance mode after Mintlify acquired it in March 2026. Spanlens is MIT, still shipping, and swaps in with the same one-line baseURL.
Honest comparisons of Spanlens against Langfuse, Helicone, Comet Opik, LiteLLM, Portkey, LangSmith, Braintrust, and Arize Phoenix, feature by feature.
Braintrust is eval-first, closed-source SaaS. Spanlens bundles eval into a full observability platform with proxy logging and agent tracing. Self-hostable.
Spanlens is a drop-in proxy with evals, agent tracing, and Prompt A/B built in, fully MIT. Langfuse uses an SDK + OTel model with a commercial EE folder.
LangSmith is excellent inside the LangChain ecosystem. Spanlens is framework-agnostic: a 1-line baseURL swap works with any HTTP client. MIT licensed.
Spanlens is an open-source LLM observability platform built by developers tired of debugging LLM cost spikes from a spreadsheet. MIT licensed, self-hostable.
The page describes a public board where users can suggest what to build next in Spanlens, vote on suggestions, and track requests from new through planned to shipped.
The page describes an open source LLM observability and monitoring tool for OpenAI, Anthropic, and Gemini, providing request logging, cost tracking, and agent tracing. It is self-hostable and MIT licensed.
Spanlens Data Processing Addendum (DPA) for customers subject to GDPR or UK GDPR. Incorporates the EU Standard Contractual Clauses (Module 2).
The page explains how Spanlens collects, uses, and protects user data, covering PIPA (Korea) and GDPR (EU) disclosures and data subject rights.
The complete list of subprocessors Spanlens engages to operate the service, including data hosting locations and the purpose of each engagement.
Spanlens refund policy, 14-day money-back guarantee, EU statutory withdrawal rights, and how to request a refund.
The page describes the agreement governing use of Spanlens, covering accounts, billing, the 14-day refund policy, acceptable use, and liability.