Enter text or code
0 Characters
0 Words
0 Lines

Token Estimates by Model

Estimates based on average characters per token. Actual counts may vary.

Claude 3.5/4 Anthropic
0 tokens
0.00% of 200,000 context
Input cost: <$0.0001
Output cost: <$0.0001
Claude 3 Haiku Anthropic
0 tokens
0.00% of 200,000 context
Input cost: <$0.0001
Output cost: <$0.0001
GPT-4o OpenAI
0 tokens
0.00% of 128,000 context
Input cost: <$0.0001
Output cost: <$0.0001
GPT-4o Mini OpenAI
0 tokens
0.00% of 128,000 context
Input cost: <$0.0001
Output cost: <$0.0001
Gemini 1.5 Pro Google
0 tokens
0.00% of 2,000,000 context
Input cost: <$0.0001
Output cost: <$0.0001
Llama 3.1 70B Meta
0 tokens
0.00% of 128,000 context
Input cost: <$0.0001
Output cost: <$0.0001

Estimate AI Token Costs

The Token Calculator estimates token counts across six popular AI models: Claude 3.5/4, Claude 3 Haiku, GPT-4o, GPT-4o Mini, Gemini 1.5 Pro, and Llama 3.1 70B. It calculates both input and output costs per model, shows what percentage of each model's context window your text uses, and auto-detects whether your input is code or natural language for more accurate estimates.

Token counts are estimated using average characters-per-token ratios for each model. Code typically uses more tokens per character than natural language. Actual counts may vary based on specific tokenizer implementations.