Token Counter

Estimate token count for text using BPE-like approximation. Show counts for GPT-4, Claude, Llama. Character, word, and sentence stats.

0
Characters
0
Words
0
Sentences
0
Paragraphs

Estimated Token Counts by Model

GPT-4 / GPT-4o cl100k_base
0
~4 chars/token avg
Context: 128K tokens
0% of context
Claude 3.5/4 claude
0
~3.5 chars/token avg
Context: 200K tokens
0% of context
Llama 3 llama
0
~3.8 chars/token avg
Context: 128K tokens
0% of context

Cost Estimate (per 1M tokens pricing)

GPT-4o Input: $0.0000
Claude Sonnet Input: $0.0000
Llama 3 (Groq): $0.0000

More Developer Tools tools at toool.cc