🧮
Compteur de Tokens
Offline Bring Your PricingCalculez le nombre de tokens des modèles IA.
0
Chars
0
Bytes (UTF-8)
0
Words
0
Lines
Estimates
Enter rates to compute cost| Family | Input | Output | Total |
|---|---|---|---|
| GPT-4 class | 0 | 0 | 0 |
| Claude class | 0 | 0 | 0 |
| Llama class | 0 | 0 | 0 |
Cost (USD)
GPT-4 class
Claude class
Llama class
GPT-4
$0.00
Claude
$0.00
Llama
$0.00
Why counts differ
- Each model family uses a different tokenizer (BPE / SentencePiece / custom).
- Non-ASCII text (Korean/Japanese), code, and JSON often tokenize differently than plain English.
- Chat APIs may add hidden tokens for message formatting.
How this tool estimates
We estimate tokens from UTF-8 byte length and character makeup (ASCII vs non-ASCII), then apply a small safety factor in Conservative mode.
For exact billing, rely on your provider’s official tokenizer when available.