[BUG] Input token reported as 0 in `/cost`

Resolved 💬 9 comments Opened Nov 2, 2025 by niklas-palm Closed Jan 9, 2026

Preflight Checklist

  • [x] I have searched existing issues and this hasn't been reported yet
  • [x] This is a single bug report (please file separate reports for different bugs)
  • [x] I am using the latest version of Claude Code

What's Wrong?

After starting Claude and writing something, i run /cost to see input/output token usage. Input token is consistently 0.

What Should Happen?

I should be able to see the amount of input tokens processed

Error Messages/Logs

N/A

Steps to Reproduce

  1. Open Claude Code
  2. Write something
  3. Run /cost

Claude Model

Sonnet (default)

Is this a regression?

Yes, this worked in a previous version

Last Working Version

_No response_

Claude Code Version

v2.0.31

Platform

AWS Bedrock

Operating System

macOS

Terminal/Shell

Terminal.app (macOS)

Additional Information

<img width="755" height="454" alt="Image" src="https://github.com/user-attachments/assets/90cc9125-e5be-454a-81c7-4613f1f92830" />

View original on GitHub ↗

This issue has 9 comments on GitHub. Read the full discussion on GitHub ↗