# Token Counter

> Count GPT tokens in any text with the real OpenAI tokenizers, and estimate tokens for Claude, Gemini and other models.

- Type: free browser tool
- Category: AI & LLM
- Page: https://www.sandbase.ai/tools/ai/token-counter

## About

Paste a prompt or document to count its tokens with the o200k and cl100k tokenizers, see characters and words, and estimate what it costs to send.

## How it works

1. **Step 1** Paste or type your text.
2. **Step 2** Pick the tokenizer: o200k for GPT-4o and newer OpenAI models, cl100k for GPT-4 and GPT-3.5.
3. **Step 3** Read the token, word and character counts, and the estimate for other model families.

## FAQ

### Is the count exact?

For OpenAI models, yes: the page runs the same o200k and cl100k byte-pair encodings the models use. Claude, Gemini and other families use their own tokenizers, so their numbers are estimates based on the OpenAI count.

### How many tokens is a word?

In English, a token is about four characters, so 100 tokens is roughly 75 words. Code, numbers and languages such as Chinese or Japanese use more tokens per character.

### Is my text sent anywhere?

Everything runs in your browser. Nothing you paste or open is uploaded.
