AI/ML tools
LLM Token Counter & Cost Calculator
Paste text to estimate token counts and compare costs across Claude, GPT-4o, Llama, and Mistral. Plan your monthly LLM spend before you write a single line of code.
Paste text to estimate tokens
Monthly volume estimate
0.00M tokens
0.00M tokens
Cost comparison across models
| Model | Input $/1M | Output $/1M | Input cost | Output cost | Total / month |
|---|---|---|---|---|---|
| Claude 3.5 Sonnet | $3 | $15 | $0.0000 | $0.0000 | $0.0000 |
| Claude Haiku | $0.25 | $1.25 | $0.0000 | $0.0000 | $0.0000 |
| GPT-4o | $2.5 | $10 | $0.0000 | $0.0000 | $0.0000 |
| GPT-4o-mini | $0.15 | $0.6 | $0.0000 | $0.0000 | $0.0000 |
| Llama 3.1 70B | $2.65 | $3.5 | $0.0000 | $0.0000 | $0.0000 |
| Mistral Large | $4 | $12 | $0.0000 | $0.0000 | $0.0000 |
Claude 3.5 Sonnet
Input $/1M: $3Output $/1M: $15Input cost: $0.0000Output cost: $0.0000
Total: $0.0000/mo
Claude Haiku
Input $/1M: $0.25Output $/1M: $1.25Input cost: $0.0000Output cost: $0.0000
Total: $0.0000/mo
GPT-4o
Input $/1M: $2.5Output $/1M: $10Input cost: $0.0000Output cost: $0.0000
Total: $0.0000/mo
GPT-4o-mini
Input $/1M: $0.15Output $/1M: $0.6Input cost: $0.0000Output cost: $0.0000
Total: $0.0000/mo
Llama 3.1 70B
Input $/1M: $2.65Output $/1M: $3.5Input cost: $0.0000Output cost: $0.0000
Total: $0.0000/mo
Mistral Large
Input $/1M: $4Output $/1M: $12Input cost: $0.0000Output cost: $0.0000
Total: $0.0000/mo
Build AI applications hands-on
Go beyond cost estimates. Build real AI applications with Claude and other foundation models in our live AI Playground — no simulations.
Start building free →