Claude Code Token Usage: Monitor It with an AI Gateway
This story is from 2026-10-06. It is preserved in the archive; the latest stories are on the live feed.
TL;DR Claude Code's /usage command (aliased as /cost and /stats ) reports token usage and an estimated cost for one session on one machine; it cannot attribute spend across a team or stop a request. Claude Code's OpenTelemetry export streams claude_code.token.usage and claude_code.cost.usage per us…
Read the full story at DEV Community — AI ↗
Timeline · 1 report
- 2026-10-06 09:35 · DEV Community — AI
Claude Code Token Usage: Monitor It with an AI Gateway