LLM Token Counter
Count tokens for GPT-4, GPT-4o, Claude, Gemini, and more. Useful for estimating API costs. 100% local — no data sent.
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.
You use this tool often? Pro includes files up to 500 MB and priority processing.
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
QR Code Generator
Generate a QR code from a URL or text. Customizable colors, PNG and SVG export. Free, 100% in the browser.
Use →File Hash Checker
Calculate and compare MD5, SHA-1, SHA-256, or SHA-512 file fingerprints. 100% in the browser. Verify your downloads.
Use →AI Assistant
Chat with a locally hosted language model. Summaries, rephrasing, corrections, translations. Free.
Use →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
QR Code Generator
Generate a QR code from a URL or text. Customizable colors, PNG and SVG export. Free, 100% in the browser.
Use →File Hash Checker
Calculate and compare MD5, SHA-1, SHA-256, or SHA-512 file fingerprints. 100% in the browser. Verify your downloads.
Use →AI Assistant
Chat with a locally hosted language model. Summaries, rephrasing, corrections, translations. Free.
Use →