SANDBASE TOOLS
Token counter for GPT, Claude and Gemini
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.
- Tokens
- …
- Words
- 22
- Characters
- 132
- Chars per token
- —
Exact for OpenAI models. Claude, Gemini, DeepSeek and Qwen use their own tokenizers, so their counts land near this one but are not identical. Estimate the cost of this prompt →
How to use it
- Step 1
- Paste or type your text.
- Step 2
- Pick the tokenizer: o200k for GPT-4o and newer OpenAI models, cl100k for GPT-4 and GPT-3.5.
- Step 3
- Read the token, word and character counts, and the estimate for other model families.
Frequently asked questions
- 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.
Build with SandBase APIs
When the job outgrows a browser tool: models and APIs on one key, billed per call.
- Gemini 3.8 FlashGoogle · $1.50/1M in
- Kimi K3Moonshot AI · $3/1M in
- GLM 5.2Z.ai · $1.40/1M in
- GLM 5.3Z.ai · $1.40/1M in
- MiniMax M3MiniMax · $0.30/1M in
- GLM 5.3 FlashZ.ai · $0.15/1M in
- Gemini 3.7 FlashGoogle · $1.50/1M in
- Claude Sonnet 5Anthropic · $2/1M in
- Gemini 3.5 FlashGoogle · $1.50/1M in
- Gemini 3.5 Flash LiteGoogle · $0.30/1M in
- DeepSeek V4 Flash 0731DeepSeek · $0.30/1M in
- Qwen3.8 MaxAlibaba · $2/1M in
- Claude Opus 5.5Anthropic · $4/1M in
- GPT-5.6 Luna ProOpenAI · $0.20/1M in
- GPT-6 SolOpenAI · $2/1M in
- GPT-5.6 Sol ProOpenAI · $4/1M in
- Gemini 3.6 FlashGoogle · $1.50/1M in
- Qwen3.8 Max (0902)Alibaba · $2/1M in
- DeepSeek V4 Pro 0813DeepSeek · $1.32/1M in
- DeepSeek V4.1 FlashDeepSeek · $0.30/1M in
- Seed-2.1-ProByteDance · $0.89/1M in
- Qwen3.8 Max PrimeAlibaba · $4/1M in
- Grok 4.7xAI · $2/1M in
- GLM 5.3 FlashXZ.ai · $0.37/1M in
- GPT-6.1 Sol ProOpenAI · $2/1M in
- Claude Opus 4.6Anthropic · $5/1M in
- Claude Opus 4.7Anthropic · $5/1M in
- Claude Sonnet 4.6Anthropic · $3/1M in
- DeepSeek V3.2DeepSeek · $0.25/1M in
- DeepSeek V4 FlashDeepSeek · $0.30/1M in
- DeepSeek V4 ProDeepSeek · $1.32/1M in
- Kimi K2.5Moonshot AI · $0.60/1M in
- GPT-5.6 Terra ProOpenAI · $2/1M in
- Qwen3.7 MaxAlibaba · $2.50/1M in
- Claude Fable 5.1Anthropic · $10/1M in
- Grok 4.6xAI · $2/1M in
Anthropic models →DeepSeek models →Google models →All language models →
More tools
LLM Cost Calculator
Estimate monthly API cost for every language model on SandBase from your prompt size, reply size and request volume.
AI Background Remover
Remove the background from any photo with AI and download a transparent PNG, or put the subject on white or any color.
AI Image Generator
Turn a text description into an image in about 15 seconds. Ten styles and nine shapes, no watermark.
