AI token counter
Count tokens locally for OpenAI; estimate for Claude.
Tools → Inspect → AI token counter · 7-day free trial · Premium $9.99 / yr
Built for the things AI can’t fake
This tool runs free, right here. The extension adds three things a web widget can’t:
Playground
↗JS / TS scratchpad — sandboxed and instrumented.
Paste real code, hit Run. Console + network monitor + watch expressions all in one panel.
- ·Real ES modules · top-level await
- ·URL imports — esm.sh & friends
- ·Live fetch monitor (every call)
- ·Watch expressions in your scope
- ·10s sandbox timeout · zero CORS pain
HTTP client
↗Postman-style request runner.
Save collections, share variables, hit any API. Includes GraphQL with introspection, OpenAPI / cURL import.
- ·Bearer / Basic / API-key auth
- ·GraphQL · introspection
- ·OpenAPI 3.x · cURL import
- ·Copy as fetch / axios / Python
Realtime (WS + SSE)
↗Stream-protocol tester — what Postman doesn’t do well.
WebSocket + Server-Sent Events with custom auth headers, auto-reconnect, JSON pretty-print.
- ·wss:// + ws:// + subprotocols
- ·SSE via fetch — Authorization works
- ·Auto-reconnect with backoff
- ·Send composer · ⌘ + Enter
What it does
AI models bill per token, not per character. Different model families use different tokenizers — what counts as 1 token in GPT-4o may be 2 or 3 in GPT-3.5.
The counter gives exact counts for OpenAI (cl100k_base for GPT-3.5/GPT-4, o200k_base for GPT-4o/4.1) using the real BPE vocabularies. Anthropic doesn’t publish a public Claude tokenizer, so we estimate via chars/3.6 — typically within 5–10% on English prose; we label it "approximate" so it’s clear.
Why use VibeGear's ai token counter
- ✓Exact counts for OpenAI (lazy-loaded vocab)
- ✓Honest "approximate" label for Claude
- ✓Live as you type — paste or write a prompt and see the meter move
- ✓Stats: tokens, chars, bytes, words, chars/token ratio
How to use it
- 1Tools → Inspect → AI token counter.
- 2Pick a model.
- 3Paste your prompt or completion.
Related tools
One install. Every tool above.
7 days free, then VibeGear Premium is $9.99 / €9.99 per year. Everything runs locally.
Install & start trial →→