🇬🇧WebFileTools/LLM Token Counter
🇫🇷 Français
🪙

LLM Token Counter

Count tokens for GPT-4, GPT-4o, Claude, Gemini, and more. Useful for estimating API costs. 100% local — no data sent.

0 caractère·0 mot·0 ligne

Saisissez du texte

Détail par modèle

Saisissez du texte pour voir les résultats

cl100k_base : GPT-4, GPT-3.5, Claude, Llama (exact ou approx.)

o200k_base : GPT-4o, GPT-4.1, o1/o3/o4, Gemini (exact ou approx.)

• Les tokens = environ ¾ d'un mot en anglais, un peu plus en français.

What is LLM Token Counter?

WebFileTools Token Counter analyzes your text and calculates the number of tokens used by different language models (LLMs).

How to use this tool?

Paste your text, select the model, and instantly see the token count and estimated cost.

Benefits

  • Multi-model (GPT-4, Claude, Gemini)
  • Cost estimation
  • Real-time
  • 100% local

Frequently Asked Questions

Which models are supported?
GPT-4o, GPT-3.5, Claude (Anthropic), Gemini (Google), and other common models.
Is the cost estimation reliable?
The estimation is based on public API prices. Exact prices may vary.
Is the text sent to a server?
No, counting is performed entirely in your browser.

Similar Tools