VS Code Extensions
Token Count Status

Token Count Status

by priyathamkat

Shows the token count for the active file in the VS Code status bar.

Downloads

71

Rating

— (0)

Version

0.0.2

Last updated

Apr 18, 2026

This VS Code extension shows the token count for the active editor in the status bar.

It supports OpenAI-family models through js-tiktoken and Claude models through Anthropic's local tokenizer package.

Anthropic Note

Claude model support uses @anthropic-ai/tokenizer for local counting. That package appears to be outdated relative to Anthropic's current model lineup, so Claude token counts in this extension should be treated as best effort rather than authoritative.

Settings

  • tokenCountStatus.model: chooses which model tokenizer to use.
  • tokenCountStatus.showForAllFiles: when false, only shows counts for agent-oriented markdown files such as AGENTS.md and CLAUDE.md.

Development

npm install
npm run compile

Open this vscode folder in VS Code and launch the extension host with F5.

Related extensions