TokenCalculator.dev logo

TokenCalculator.dev

Privacy-first token counter for text, files & images

TokenCalculator.dev screenshot

About TokenCalculator.dev

TokenCalculator.dev is a privacy-first, 100% browser-based LLM token counter and API cost estimator built for developers, AI engineers, and product teams.

Unlike conventional text-only counters, it processes prompts, local documents (PDF, DOCX, and codebases across 20+ programming languages up to 12 MB), and visual payloads (PNG, JPEG, WebP, GIF) entirely inside your browser.

Key Capabilities:
• 100% Client-Side Privacy: Zero prompts, code snippets, or uploaded files are sent to an external server or stored in a database.
• Multimodal Ingestion: Upload local PDFs and Word documents or calculate visual tile/patch tokens directly from images alongside prompt text.
• Multi-Model Comparison: Instantly compare token footprints, context-window fit, and real-time input costs across OpenAI, Anthropic Claude, Google Gemini, and DeepSeek.
• Accurate & Deterministic: Combines exact client-side o200k_base BPE tokenization with provider-calibrated UTF-8 projections and official vision rules.

Ideal for budgeting RAG pipelines, planning agent workflows, avoiding context window overflows, and preventing unexpected API billing surprises before making production calls.

Similar to TokenCalculator.dev

VoiceVibe

Talk to your computer: dictate, rewrite, ask about your screen, launch AI agents.

BlazePhoenix

On-chain DEX aggregator: the swap route is computed inside the transaction that executes it. No API key, no signup.

Booksmaker.ai

Books Maker AI is the AI-powered platform that turns your idea into a professional book.

Toolara Music

Describe a song in plain text and get a complete track — vocals or instrumental, custom lyrics, up to 120 seconds, MP3 download

AFFLIGO

AFFLIGO is a free online toolkit for everyday file tasks. Easily edit PDFs, compress images, convert file formats, and get things done.

SightRadar

Face recognition API, a drop-in replacement for AWS Rekognition. Index, search, compare and detect faces, billed per photo with no subscription.

JevModel

Bilingual console and guide for the jev decision model: classify, route, and score text or JSON.

LinkIntel

MCP server giving your AI assistant your X post results and X’s ranking weights, with sources.