Claude Code usage tracking by LangWatch - See what your Claude Code sessions actually cost
byβ’
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.

Replies
Lancepilot
LangWatch
@odeth_negapatan1Β it is right!
10xlaunch.ai
The one-command setup makes trying it out much less intimidating. π
LangWatch
@nir0bΒ must have right now!
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?
LangWatch
@doganakbulutΒ both options are available. There is the possibility to work as a team view teams sessions as well as an admin dashboard to keep more control over all
congrats on the launch! Does this use any bandwidth during the session? Especially long ones
LangWatch
@mathias_barbozaΒ thanks! Nope langwatch doesnβt sit in between
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.
Interesting. What about the agent-to-agent usage tracking?
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?