Pat22 downloadsCount tokens for the active note in the status bar next to word count (GPT, Claude, Gemini).
Count tokens for the active note in the status bar, using the same tokenizers as popular LLM APIs (GPT, Claude, and Gemini). Desktop only.

main.js and manifest.json from the latest GitHub release..obsidian/plugins/token-count/Open any Markdown note. The status bar shows the token count for the full note, for example:
1,234 tokens · gpt-5
The count updates as you edit. It appears after Obsidian’s built-in word and character count when the core Word count plugin is enabled.
Settings → Token Count
| Option | Description |
|---|---|
| Model | gpt-5, gpt-4o, gpt-4, claude, or gemini |
| Show model in status bar | Show the model name after the count (e.g. · gpt-5) |
Requires Node.js 18+.
npm install
npm run build
Symlink or copy this repo into <Vault>/.obsidian/plugins/token-count/ for local testing. Use npm run dev to rebuild on save.
See RELEASING.md for publishing a new version.
MIT — see LICENSE.