Count tokens, characters, words, and lines for GPT-4, Claude, Gemini, and Llama. Estimate API costs before sending prompts. Free, instant, private.
| Model | Context Window | Input (per 1M tokens) | Output (per 1M tokens) |
|---|---|---|---|
| GPT-4o | 128K | $5.00 | $15.00 |
| GPT-4 | 128K | $30.00 | $60.00 |
| GPT-3.5 Turbo | 16K | $0.50 | $1.50 |
| Claude 3 Opus | 200K | $15.00 | $75.00 |
| Claude 3 Sonnet | 200K | $3.00 | $15.00 |
| Gemini 1.5 Pro | 1M | $1.25 | $5.00 |
| Llama 3.1 70B | 128K | $0.59 | $0.79 |