Skip to content
AiProductsHunt AiProductsHunt

Claude Code usage tracking by LangWatch

See what your Claude Code sessions actually cost

Visit website
Screenshot of Claude Code usage tracking by LangWatch

About Claude Code usage tracking by LangWatch

Track Claude Code usage: cost, cache, session replay. Run `npx langwatch claude` once. Every session gets cost with cache reads/writes as separate token classes, every bash and MCP call as a span, theoretical vs billed for your Max plan, and a full terminal replay in the UI. Works for Codex too.

Reviews 15

Your rating

Thanks! Your review is posted.

Sign in to rate and review Claude Code usage tracking by LangWatch .

  • Murray Kuhlman 3 months ago

    the rate-stamping thread above is the right worry for pricing, but I've got a different edge case: mixed fleets. I run some agent work through Claude Code/API and some through a local model on a Mac mini for anything that doesn't need frontier quality. Does LangWatch have any concept of a zero-cost or self-hosted "model" for sessions that route through a local endpoint, so those sessions still show up with token/call counts in the same dashboard, just without a real dollar figure attached? or does the whole pipeline assume every session maps to a paid API/plan rate somewhere?

  • Enrico Wiza 3 months ago

    Interesting. What about the agent-to-agent usage tracking?

  • Roy Kris 3 months ago

    I might have missed this, but the cache-hit view is the part I’d check first. Claude Code costs feel random until you can separate cache misses from actual model usage.

  • Esteban Hilpert 3 months ago

    does the terminal replay work for headless/CI runs with no TTY, or does capturing the replay need an actual interactive session? we run a chunk of our agent work in CI and cost visibility there is usually the blind spot

  • Trenton Spencer 3 months ago

    congrats on the launch! Does this use any bandwidth during the session? Especially long ones

  • Malachi Armstrong 3 months ago

    Congrats on launch! Can it dig through my year worrh of session data to analyze my usage patterns retroactively, or does it start tracking only once installed?

  • Marcus Macejkovic 3 months ago

    Manouk's "we run a fleet of coding agents ourselves and had no idea what they actually cost" is the honest version of this. Same here — our answer was "we'll find out when the subsidies stop." One push: cost per session can mislead. The number that changes how you route work is cost per outcome — per merged PR, per green CI run, per fix that actually held. A run that spends 3x on the expensive model and lands it first try beats a cheap model looping four times — but a per-session view shows the opposite, and quietly trains you to downgrade the model that was earning its price. You're already logging tool calls as spansm that: span → the commit or test run itproduced. On the roadmap, or are you deliberately staying at the session boundary? +1 to the immutable price-stamp point above, with a wrinkle: it has to cut both ways. Rates must never change historical reports by accident — but "what the new prices" is exactly the question the subsidy argument makes people ask. That's a deliberate re-price, not a mutation.

  • Chaim Schuppe 3 months ago

    Congrats on the launch! Seeing which Claude Code session actually burned the budget instead of guessing would be a relief, and the cache reads split out as their own token class is a thoughtful detail. How would this work for a small team, can we see everyone's sessions in one shared view or is it one workspace per developer?

  • Mckenzie Mosciski 3 months ago

    The one-command setup makes trying it out much less intimidating. 😊

  • Chelsey Gottlieb 3 months ago

    This feels especially useful as AI coding workflows become part of everyday engineering. Congrats 🙌🏻

  • Lamont Strosin 3 months ago

    Congrats! How much overhead does the tracking introduce during long-running Claude Code sessions?

  • Trenton Spencer 3 months ago

    Congrats on shipping this! Finally a way to know exactly how much those late-night Claude Code sessions are costing me. My wallet thanks you already!

  • Paul Kshlerin 3 months ago

    It would be interesting if LangWatch suggested ways to reduce costs based on previous usage.

  • Gaylord Buckridge 3 months ago

    Can the platform can identify inefficient prompting patterns across multiple sessions?

  • Korbin Effertz 3 months ago

    Watching an entire terminal session replay sounds surprisingly valuable for onboarding teammates.

Compare