TokenPad

102 free tools · nothing you type is uploaded

Token tools that tell you when they are guessing.

10 tokens — that sentence, as the model actually reads it. Every colour is one token you pay for.

Everything an LLM charges you for is measured in tokens, and tokens are the one unit you cannot see in your editor. This site makes that unit visible — then lets you build prompts, agents and skills that show what they cost before you ship them.

  • 18 exact tokenizers, the rest labelled as estimates
  • 42 models, every price with a source and a date
  • 0 accounts, servers or uploads

How it works

Three steps, no setup

There is nothing to install, configure or sign into. Open a tool, paste what you have, read the number.

  1. 1

    Pick a tool

    102 of them, grouped by what they do. Press ⌘K from any page to search by name, or browse the tools index by category.

  2. 2

    Paste your real text

    Not a sample — the actual prompt, payload or document. It never leaves your browser, so there is no reason to sanitise it first. That is the whole point of running client-side.

  3. 3

    Get a number you can act on

    Exact where the tokenizer is public, clearly labelled as an estimate where it is not. Every result links onward to the tool that answers whatever it made you ask next.

Try it here

Type anything. Watch what it costs.

The same encoder the API bills you with, running on your machine. Change a word and the count moves — including on models where the honest answer is that we are estimating.

Open the full counter →
Live · nothing leaves your browserFull tool →

20tokens

  • GPT-5.6 TerraExact20$0.000040
  • Claude Opus 5Est.31$0.000155
  • Gemini 3.5 FlashEst.20$0.000030

What you can do here

Start from your problem, not our menu

Twelve things people actually arrive wanting to do. Each one goes straight to the tool that does it.

Why any of this matters

Five things that cost people money

Each of these is a tool on the site. Here is what each one is actually about.

01

A token is not a word

Text is converted into entries from a fixed vocabulary before the model sees it. Common English words are one token; a UUID is a dozen; indentation is one per level per line.

English prose runs about four characters per token. JSON runs 2.2, and non-Latin scripts can fall below 1.6 — which is why estimating from character count misleads you most on the payloads that dominate your bill.

See your own text split →
what you wrotewhat the model reads — and what you are billed for

02

The context window is one shared budget

System prompt, tool definitions, conversation history, retrieved documents and the answer the model is about to write all compete for the same space. Not two budgets — one.

Fill it with input and there is no room left to answer. Fill it at all and recall starts degrading, which is why a tightly retrieved 20,000 token prompt regularly beats a padded 500,000 token one.

Check what fits →
SystemToolsHistoryRetrievedOutput reserveone budget — everything competes for the same spaceheadroom

03

Chat costs grow faster than turn count

The API is stateless, so every turn resends the whole conversation. Turn ten pays for turns one through nine again.

Total input therefore grows with the square of the turn count. A per-request estimate multiplied by turns is commonly wrong by three to four times, in the expensive direction.

Model your own conversation →
costturnswhat you paywhat you estimated

04

An agent pays its overhead on every pass

System prompt plus every tool name, description and schema is sent on every iteration, whether or not a tool is called. On a dozen tools that routinely exceeds a thousand tokens per request.

Multiply that by an iteration limit and add the accumulated history, and you have the number almost no framework shows you.

Simulate the loop →
1Request2Decide3Call tool4Resultbilledevery pass

05

Most of what you retrieve is never used

Eight chunks of three hundred tokens is 2,400 tokens on every request, billed every time — and the model typically cites two or three of them.

Retrieving fewer, better chunks cuts the largest line of a RAG bill and usually improves the answer, because irrelevant context degrades output as well as costing money.

Price your retrieval →
DocumentChunksVectorsTop matchesPromptmost of what you retrieve never reaches the prompt

Build

Come here to make the thing

Not another article about prompting. Actual builders that produce a file you can ship, and tell you the per-request cost while you write it.

Build a prompt

Six sections in the order models weight most heavily. XML delimiters, token count and cost as you type.

<instructions>
Classify the ticket into
billing, technical or account.
</instructions>

<output_format>
{"category": string}
</output_format>

Build an agent

Model, system prompt, tools and iteration limits — with the overhead your config adds to every single request.

{
  "name": "support-triage",
  "model": "claude-sonnet-5",
  "max_iterations": 6,
  "tools": ["search_docs"]
}

Build a skill

Validated frontmatter, trigger quality checks, and the split between what is always in context and what loads on demand.

---
name: token-cost-review
description: Use when the user
  asks to reduce token usage
---

Who it is for

Four ways in

Your API bill grew faster than your traffic

Measure a real request in the token counter, then project it in the cost calculator. If your product is conversational, the chat cost estimator will explain the gap — per-request maths understates chat by three to four times.

You are building agents or skills

Compose in the agent builder and the skill builder, which show the token overhead your configuration adds to every request — the number almost no framework surfaces.

You are still working out the vocabulary

Start with token, then context window. The glossary has 84 terms, each with the mistake people usually make with it.

102 tools

Everything, by what it does

Browse or search all →

Learn

Six kinds of reading, for six situations

The tools give you a number. These explain what to do about it — whether you need a procedure, a definition, working code or a list to tick off before something ships.

42

Model prices

Input, cached input and output rates for every model tracked, each with the provider URL it was read from and the date it was read.

  • Last full review August 5, 2026
  • OpenAI, Anthropic, Google, DeepSeek, xAI, Mistral AI

Keep your work

Save what you build, without an account

Anything you make in the prompt, agent or skill builders can be saved to your library with one click. It lives in this browser — no sign-up, no upload, and nobody including us can read it.

The trade is honest: a library stored locally does not follow you to another device. That is what the export button is for, and the file it produces is plain JSON that you own.

Open your library →
  • No accountNothing to sign up for, nothing to remember, nothing to lose.
  • No serverStored in your browser. There is nowhere for it to be leaked from.
  • ExportablePlain JSON. Import merges rather than replaces, so a backup never destroys newer work.

The difference

Most token counters divide your characters by four and call it a measurement.

OpenAI — tokenizer publishedexactAnthropic, Google, DeepSeek — no browser tokenizerestimate
01

Real encoders, not arithmetic

The genuine o200k_base and cl100k_base encodings run on your machine. For 18 of the 42 models here the count is exact — the same number the API bills.

02

Estimates say they are estimates

Anthropic, Google and DeepSeek publish no browser tokenizer. Rather than quietly substituting OpenAI’s, every one of those figures carries a badge and a written derivation on the methodology page.

03

Every price has a source and a date

Each entry stores the provider URL it came from and the day it was read, published in the price table. Entries over 45 days old are flagged. Stale pricing is worse than none.

04

Nothing leaves your device

Static files, no application server, no account. Load a page, disconnect from the network, and every tool keeps working — a demonstration rather than a promise.

Questions

The ones people ask first

Is this really free?
Yes, all of it, with no account and no trial. The site is a set of static files with no server behind it, so there is almost nothing for us to pay for and nothing to meter. It is funded by display advertising rather than by you.
Do you see what I type?
No. Every tool runs as JavaScript on your own machine — the tokenizer, the calculators, the scanners, all of it. There is no server to receive your text. You can load a page, disconnect from the network, and everything keeps working, which is a demonstration rather than a promise.
Are the token counts accurate?
For OpenAI models they are exact: the page runs the same byte-pair encodings the API uses, so the number is the number. For Anthropic, Google and DeepSeek they are estimates, clearly labelled as such everywhere they appear, because none of those providers publish a tokenizer that can run in a browser.
Why not just estimate Claude tokens with the OpenAI tokenizer and say nothing?
Because that is what most comparable sites do and it is quietly misleading. Scaling one provider’s tokenizer to another is an approximation whether or not you admit it. We do the same scaling, label it an estimate, and publish the derivation on the methodology page.
Do I need an account for anything?
No. Nothing on the site requires one. Work you save in your library is stored in your own browser, which is why it does not follow you between devices — and why nobody, including us, can read it.
How do you keep the prices up to date?
Every model entry stores the provider URL it was read from and the date it was read, both published in the price table. Entries older than 45 days are flagged automatically. Prices are never copied from an aggregator or written from memory.

Start with the one that matches your problem

Free, no sign-up, and nothing you type is transmitted — because there is no server here to transmit it to.