Feature Request: Real-time token usage display in status bar

Resolved 💬 3 comments Opened Nov 1, 2025 by madbarbarian Closed Nov 5, 2025

Feature Request

Summary

Add a real-time token usage indicator in the Claude Code status bar to help users monitor their API usage and costs during development sessions.

Motivation

Currently, users have no way to track their token consumption in real-time within Claude Code. This makes it difficult to:

  • Monitor API usage during long development sessions
  • Prevent unexpected cost overruns
  • Optimize workflows for token efficiency
  • Make informed decisions about when to use complex vs. simple operations

Proposed Solution

Display token usage information in the Claude Code status bar, similar to how IDEs show line numbers, encoding, etc.

Suggested format:

Claude Code | Tokens: 15.2K / 200K (7.6%) | Session: 45min | Cost: ~$0.15

Key information to display:

  • Current session token usage
  • Total available tokens (if applicable)
  • Usage percentage
  • Session duration
  • Estimated cost (optional)

Alternative Solutions

  • Show token usage in a dedicated panel
  • Provide a command to check current usage (e.g., /token-status)
  • Display usage summary at the end of each interaction
  • Add token budget alerts/warnings

Additional Context

This feature would be particularly valuable for:

  • Users managing API costs
  • Teams tracking usage across projects
  • Developers optimizing prompts and workflows
  • Educational use cases where token efficiency is important

Related Features

  • Token usage history/analytics
  • Configurable usage alerts
  • Per-project token tracking
  • Export usage reports

Would greatly appreciate this feature to improve cost awareness and workflow optimization!

View original on GitHub ↗

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