AI Token Counter
Count tokens for GPT-4, Claude, Llama & more. Estimate API costs.
Token Counts by Model Family
0
GPT-4 / GPT-4o
0
Claude
0
Llama
0
Gemini
Selected Model
Tokens0
Input cost$< 0.0001
Output cost$< 0.0001
Rate (input)$2.5/1M tokens
Rate (output)$10/1M tokens
Text Statistics
Characters0
Characters (no spaces)0
Words0
Lines0
Sentences0
Paragraphs0
How to Use the Token Counter
- 1
Paste your text
Enter a prompt, system message, code, or any content you want to tokenize
- 2
Compare token counts
See estimated token counts for GPT-4, Claude, Llama, and Gemini model families
- 3
Check costs
Click any model in the cost table to see detailed pricing breakdown
- 4
Copy summary
Export a summary of all token counts and costs for documentation
Frequently Asked Questions
Last updated:
More Tools
1 / 12
Showing 8 of 95 related tools