v3.1.6: Live pricing catalog + price compare

Count your tokens.
Like beads on an abacus.

Every token counts — monitor budgets, estimate costs, optimize context, and cut AI spending before it adds up. A VS Code extension, MCP server, and CLI that makes the invisible visible.

ext install tokalator
@tokalator
Tokalator extension: pricing dashboard, VS Code editor, and context growth panels
Pricing Dashboard
VS Code Editor
Context Growth

Quick Start

  1. 1Install from the VS Code Marketplace or run `ext install tokalator`
  2. 2Click the Tokalator icon in the Activity Bar — the sidebar dashboard opens
  3. 3Type `@tokalator /count` in Copilot or Claude Chat to see your token budget
  4. 4Pin important files with `/pin` so they always stay in context
  5. 5Run `/optimize` to get a full health report on your context window

Under the hood

Tokenizers
Claude BPE (Anthropic), o200k_base (OpenAI), heuristic (Gemini)
Models
17 profiles — Claude 4.x, GPT-5.4, GPT-5.4 Mini, GPT-5.x Codex, GPT-4.1, o3, o4-mini, Gemini 3.x, Gemini 2.5
Caching
Prompt caching (Anthropic 90%), automatic (OpenAI 50%), context caching (Google 75%)
Scoring
Relevance from 0 to 1 based on imports, language, path similarity, recency, and diagnostics
Pricing
Live cost estimation per turn — input/output breakdown with per-MTok rates for all 17 models
MCP & CLI
count_tokens, estimate_budget, preview_turn, list_models — works in Claude Code via stdio MCP or as a standalone terminal CLI

All Commands

Available through @tokalator in VS Code Chat.

/count

Show current token count and budget status

/breakdown

Show where your tokens are going

/optimize

Close low-relevance tabs to free up tokens

/pin

Pin a file so it's always included

/unpin

Unpin a file so it returns to normal relevance scoring

/instructions

List, count, and estimate tokens for instruction files in workspace

/model

Show or switch the active AI model

/compaction

Show per-turn token growth and compaction recommendations

/preview

Preview token cost of your next message before sending

/reset

Reset session state (chat turn counter)

/exit

End the current session and save summary

MCP Server & CLI

Real Claude BPE token counting inside Claude Code via stdio MCP transport, plus a standalone terminal CLI for SSH sessions, containers, and non-VS Code workflows.

MCP Server

Count tokens, estimate budgets, preview turn cost. Zero API calls, stdio transport.

claude mcp add --transport stdio tokalator -- node tokalator-mcp/build/index.js

CLI

tokalator count, budget, preview, models. Works anywhere Node runs.

npm install -g tokalator

Every token you save
makes the next prompt better.

Open source. Community shaped. Free forever.