Search...Search plugins and themes...
⌘K
Sign in
  • Get started
  • Download
  • Pricing
  • Enterprise
  • Account
  • Obsidian
  • Overview
  • Sync
  • Publish
  • Canvas
  • Mobile
  • Web Clipper
  • CLI
  • Learn
  • Help
  • Developers
  • Changelog
  • About
  • Roadmap
  • Blog
  • Resources
  • System status
  • License overview
  • Terms of service
  • Privacy policy
  • Security
  • Community
  • Plugins
  • Themes
  • Discord
  • Forum / 中文论坛
  • Merch store
  • Brand guidelines
Follow us
DiscordTwitterBlueskyThreadsMastodonYouTubeGitHub
© 2026 Obsidian

TokenBar

sn1p4amsn1p4am322 downloads

Shows local token counts for the active note in the status bar.

Add to Obsidian
  • Overview
  • Scorecard
  • Updates4

TokenBar is an Obsidian desktop plugin that shows the active note's local token count in the status bar.

Features

  • Status bar display: 1,234 tokens
  • Primary tokenizer setting, defaulting to GPT
  • Hover comparison for GPT, Qwen, DeepSeek, Claude (est.), and Gemini (est.)
  • Text-only note counting; embedded images and attachments are excluded

Usage

  1. Enable TokenBar from Obsidian's Community plugins settings.
  2. Open a Markdown note.
  3. Read the token count in the status bar.
  4. Hover over the TokenBar status item to compare all supported token counting methods.
  5. Open TokenBar's settings to choose the primary tokenizer shown in the status bar.

Tokenizers

  • GPT: js-tiktoken with o200k_base
  • Qwen: bundled Qwen3.5 tokenizer asset
  • DeepSeek: bundled DeepSeek V3.1 tokenizer asset
  • Claude and Gemini: lightweight local estimates

All counting is local. Claude and Gemini values are estimates and may differ from provider-side token counts.

Privacy

TokenBar runs fully locally. It does not send note content to remote services, does not include telemetry, and does not require an account or payment.

Limitations

  • Claude and Gemini counts are estimates because their provider-side tokenizers are not bundled.
  • Embedded images and attachments are excluded; TokenBar counts note text only.
  • TokenBar is desktop-only.

Third-party notices

TokenBar uses these tokenizer libraries and assets:

  • js-tiktoken (MIT)
  • tokenx (MIT)
  • @cyberlangke/tokkit-core (MIT)
  • @cyberlangke/tokkit-deepseek (MIT), with tokenizer assets derived from official Hugging Face repositories under the deepseek-ai organization
  • @cyberlangke/tokkit-qwen (Apache-2.0), with tokenizer assets derived from official Hugging Face repositories under the Qwen organization

Development

pnpm install
pnpm run build

For manual installation, copy main.js, manifest.json, and styles.css into:

YourVault/.obsidian/plugins/tokenbar/
HealthExcellent
ReviewPassed
About
Display the active note's local token count in Obsidian's status bar and set a primary tokenizer (default: GPT). Hover the status item to compare GPT, Qwen, DeepSeek and estimated Claude/Gemini counts; count text only—excluding embedded images and attachments—and run fully locally (desktop-only).
AIStatus bar
Details
Current version
0.1.3
Last updated
2 months ago
Created
2 months ago
Updates
4 releases
Downloads
322
Compatible with
Obsidian 1.4.4+
Platforms
Desktop only
License
MIT
Report bugRequest featureReport plugin
Author
sn1p4amsn1p4amsn1p4am
GitHubsn1p4am
  1. Community
  2. Plugins
  3. AI
  4. TokenBar

Related plugins

Claudian

Embeds Claude Code/Codex and other local Agents as AI collaborators in your vault.

Smart Connections

Find related notes and excerpts while writing. Your AI link building copilot displays relevant content in graph + list view. A local embedding model powers semantic search. Zero setup. No API key.

Fast Note Sync

Real-time sync of your vaults across server, mobile, and web; shareable with anyone; supports REST and MCP integrations to build your personal AI knowledge base.

ChatGPT MD

A seamless integration of ChatGPT, OpenRouter.ai and local LLMs via Ollama into your notes.

Copilot

Run AI agents such as Claude Code, Codex, and OpenCode inside your vault. Turn your second brain into a smart assistant that gets knowledge work done.

Karpathy LLM Wiki

Karpathy's LLM Wiki implementation plugin for Obsidian - turns notes and PDFs into a linked, LLM-powered knowledge base with entity pages, concept pages, graph-powered Q&A, and local-first privacy.

Agent Client

Chat with Claude Code, Codex, Gemini CLI, and more via the Agent Client Protocol — right from your vault.

Text Generator

Generate text content using GPT-3 (OpenAI).

Smart Composer

AI chat with note context, smart writing assistance, and one-click edits for your vault.

Semantic Notes Vault MCP

Give Claude Desktop and other AI assistants semantic access to your notes through a built-in Model Context Protocol (MCP) server.