WORK WITH BUSINESS CLIENTS?

Build your own AI employee business

SpanLens logo

SpanLens

SpanLens AI Agent
Rating:
Rate it!

Overview

Open-source LLM observability for logging model calls, tracking cost and latency, tracing agents, alerts, evals, and self-hosting.

SpanLens is an open-source LLM observability and monitoring platform for teams building production AI applications. It sits between an application and LLM providers so teams can capture model requests, responses, tokens, cost, latency, errors, traces, prompt versions, cache hits, alerts, and evaluations. Developers can integrate it by swapping a provider base URL, using the TypeScript or Python SDK, running the CLI migration, sending OTLP traces, or self-hosting the Docker-based deployment. SpanLens is best suited for engineering teams that need visibility into OpenAI, Anthropic, Gemini, and related LLM workflows, especially when debugging agent runs, monitoring spend, comparing prompt versions, or gating changes with evals. Humans still configure projects and keys, instrument traces, choose retention and deployment settings, review flagged PII or unsure eval cases, and decide what to change in the application.

Product overview

Capabilities, pricing and fit

SpanLens is a developer-focused LLM observability platform that combines request logging, cost monitoring, agent tracing, evals, alerts, export, and self-hosting. Its practical appeal is that teams can start with a base-URL swap or SDK helper, then add deeper tracing and CI evals as their AI application matures.

Information as of December 3, 2026

What it can do

  • LLM request logging

    Captures LLM calls with model, tokens, cost, latency, and full request and response bodies; streaming responses are supported and count as one request for billing.[1], [2], [3], [4]

  • Provider routing with minimal code changes

    Teams can swap a provider base URL, use drop-in SDK helpers, or run the CLI to rewrite existing OpenAI, Anthropic, and Gemini calls into SpanLens helpers.[1], [3], [4]

  • Agent and workflow tracing

    Records nested spans across tools, retrievals, model calls, guardrails, and parallel branches so teams can inspect a full agent run as a trace.[1], [3], [4]

  • Cost, token, latency, and anomaly monitoring

    Shows cost per model, live spend, tokens, cache savings, error bursts, latency drift, and spikes tied to the model and project that caused them.[1], [2]

  • Prompt versioning and evals

    Supports pinned prompt versions, LLM-as-judge eval scores from 0 to 1, CI eval runs, merge gating, experiments, and human queues for unsure cases.[1]

  • PII and prompt-injection detection

    Runs detectors for sensitive data such as SSNs, credit cards, email, IBAN, and passports at log time, flags matches for review, masks API keys before storage, and includes prompt-injection detection in plan features.[1], [2]

  • Exact-match caching

    A cache header can enable exact-match caching so cache hits skip the provider call and are billed at zero by SpanLens.[1]

  • OpenTelemetry support

    Supports OTLP/HTTP ingest and export so existing OpenTelemetry traces can flow into the same span store with LLM-specific attributes.[1], [3]

  • Data export

    Exports request data for analysis and reporting in CSV, JSON, or JSONL according to the product page; the pricing page lists CSV and JSON export on plans.[1], [2]

  • Self-hosting

    Can be run on a team's own infrastructure with Docker or docker compose; the pricing page states that self-hosting has no license fee, no seat limit, and no usage cap.[1], [2], [3]

Where it fits best

  • Teams running OpenAI, Anthropic, Gemini, or similar provider calls that need request logs with cost, latency, tokens, full request and response bodies, and model-level spend visibility.[1], [3], [4]
  • Developers debugging multi-step agent runs, because SpanLens supports nested spans across tools, retrievals, model calls, guardrails, and parallel branches.[1], [3]
  • Organizations that want managed observability to start but need a self-hosted option later, because SpanLens advertises Docker-based self-hosting and MIT licensing.[1], [2], [3]
  • Teams that compare prompt versions and model choices using real traffic or datasets, with eval scores, experiments, cost, quality, and latency comparisons.[1]

Pricing and availability

Hosted SpanLens has a Free plan, Pro at $29/month, Team at $149/month, and Enterprise custom pricing. Pro includes 100K requests/month with $8 per extra 100K requests; Team includes 1M requests/month with $5 per extra 100K requests. Self-hosting is described as free under the MIT license, with unlimited requests and history on the customer's own infrastructure. Prices are in USD and exclude applicable taxes.[1], [2]

Platforms: Hosted web dashboard, TypeScript SDK, Python SDK, CLI setup tool, Direct HTTP proxy, OpenTelemetry OTLP/HTTP, Docker self-hosted deployment[1], [2], [3], [4]

Access: Managed cloud, Self-hosted Docker, Self-hosted docker compose[1], [2], [3], [4]

Important considerations
  • The Free hosted plan is capped at 50K requests per month with no overage; the pricing page says requests return a hard 429 after that limit.[2]
  • Hosted retention depends on plan: 14 days on Free, 90 days on Pro, 365 days on Team, and configurable or extendable retention only for Enterprise or self-hosted deployments.[1], [2]
  • Request logging through the proxy populates the requests view, but traces require explicit instrumentation with the SDK observe wrapper or framework integrations.[4]
  • Paid hosted plans use overage billing by default after the included quota, with a default hard cap at 5x the soft limit unless adjusted in settings.[2]
Sources (4)
  1. Spanlens · Open Source LLM Observability & MonitoringOfficial site · checked 2026-12-03
  2. Spanlens Pricing for LLM Observability at Every StagePricing page · checked 2026-12-03
  3. Spanlens DocsDocumentation · checked 2026-12-03
  4. Quick start · Spanlens DocsDocumentation · checked 2026-12-03

Autonomy level

38/100

Our subjective rating of how independently the product carries out its documented tasks, considering the human setup, input, approval and review it needs. This is not a measured success rate.

Reasoning: SpanLens is primarily an observability and monitoring tool rather than an autonomous worker. After setup, it can automatically log LLM requests, compute cost and latency, write traces, detect anomalies, send alerts, apply exact-match caching when a header is used, and run eval commands in CI. However, humans must configure projects and provider key...

Comparisons


Custom Comparisons

Some of the use cases of SpanLens:

  • Tracking LLM cost, latency, tokens, and request history across production applications
  • Debugging agent workflows with nested traces across model calls, tools, retrieval, and guardrails
  • Monitoring error bursts, latency drift, and spending spikes by model and project
  • Running prompt and response evaluations in CI before shipping changes
  • Self-hosting LLM observability for teams that want to keep logs on their own infrastructure

Loading Community Opinions...

Pricing model:

Code access:

Popularity level: 16%

Free credibility widget

Turn this profile into a trust signal

Show prospects that SpanLens has a public place where they can check product details, pricing, ratings, and reviews.

Build confidence

Give buyers a third-party profile to explore.

Reduce hesitation

Put validation beside your strongest CTA.

Earn discovery

Every badge links prospects to your listing.

Choose your style

Preview it, then copy the complete embed code.

Live previewReady to embed

Shows buyers where to validate your product, pricing, and reputation.

Plain HTML. No signup, script, or maintenance required.

FOR AGENT BUILDERS

Run your agents in a persistent workspace.

Run Hermes and OpenClaw with saved context, connected tools and delegated coordination.

Did you find this page useful?

Not useful
Could be better
Neutral
Useful
Loved it!