Count AI tokens and estimate API cost for GPT, Claude and Gemini instantly. Paste text to see characters, words, tokens and price per model offline.
| Model | Price / 1M tokens | Est. cost |
|---|---|---|
| GPT-4o | $0.000000 | |
| Claude Sonnet | $0.000000 | |
| Gemini Flash | $0.000000 |
Written and maintained by the Tool4SaaS team. Every tool runs locally in your browser and is tested in-house for accuracy. Last updated: .
Heuristic ~4 chars per token with code boost; treat as estimate, not exact tiktoken. Verify billing in provider dashboards.
Editable price table for GPT, Claude Sonnet and Gemini input rates per 1M tokens; update when pricing changes.
Yes, counting and cost math runs locally; pasted text never leaves your browser.