AINewsnow

Why your Claude Code token count is wrong (and how to get the real number)

Originally published at neverpaytwice.pages.dev . Short answer: Claude Code writes each AI response to its log several times, and every copy carries the full token count. If you add up every line, you count most responses two or more times. On the made-up sample log in our free scripts repo (30 res…

Read the full story at DEV Community — AI ↗

Timeline · 1 report

  1. 2026-11-15 17:16 · DEV Community — AI
    Why your Claude Code token count is wrong (and how to get the real number)

More stories

  1. Anthropic IPO oversubscribed nearly six times; can AI firm become new NVIDIA amid stock crash? Experts' views — Mint AI
  2. Cursor traces marketplace breach to Fireworks AI access key and tampered Claude Code extension — Unite.AI
  3. Open-Source Tools Emerge to Coordinate AI Coding Agents Across Developers and Workflows — DEV Community — AI
  4. Owner uses Claude AI and $15 of parts to get 1994 Jeep Cherokee through California smog tests — Tom's Hardware
  5. Anthropic adds custom theme support to Claude Code on desktop — Anthropic (X)
  6. Anthropic updates Projects in Claude Code with more proactive task coordination — Anthropic (X)
  7. Anthropic launches Claude Duet, a consumer AI agent that reviewers find helpful but prone to nagging — The Verge AI
  8. Claude wrote and trained a language model for DOS that fits on a floppy disk — r/ClaudeAI

Get the daily brief of stories like this at 6:30 every morning →