Free tool
AI token counter
Paste a prompt to count its tokens and see what it would cost to send to OpenAI, Anthropic, Google, xAI, DeepSeek and other models.
How token counting works
Language models read text as tokens — roughly four characters or three quarters of an English word. API providers bill separately for input tokens (your prompt) and output tokens (the reply), quoted in US dollars per one million tokens.
The counter estimates tokens in your browser; nothing you paste is sent to a server.
Input price per million tokens — lowest-cost priced models
| Model | Provider | Input $/M | Output $/M |
|---|---|---|---|
| Ling 2.6 Flash | InclusionAI | $0.010 | $0.030 |
| LFM 2.2 6b | Liquid AI | $0.010 | $0.020 |
| Lfm2 8b a1b | Liquid AI | $0.010 | $0.020 |
| Deepseek Chat | DeepSeek | $0.014 | $0.028 |
| Granite 4.0 H Micro | IBM | $0.017 | $0.112 |
| Llama 3.2 1b Instruct | Meta | $0.020 | $0.020 |
| Mistral NeMo | Mistral | $0.020 | $0.030 |
| Qwen2 1.5b Instruct | Qwen | $0.020 | $0.020 |
| GPT OSS 20b | OpenAI | $0.029 | $0.140 |
| Gemma 2 9B | $0.030 | $0.060 |
See all 1,026 priced models on the pricing table.
Last updated: · Source: Pricing dataset · Methodology
Frequently asked questions
How are token costs calculated?
Multiply input tokens by the input rate and output tokens by the output rate, add the two amounts and divide by 1,000,000. A standard request example uses 1,000 input and 500 output tokens. Monthly budgets multiply the result by request volume; taxes, hidden reasoning tokens, tools and tier surcharges can add costs.
Which recorded model has the lowest request cost?
LFM 2.2 6b by Liquid AI costs $0.00002 for the standard request, with $0.01 input and $0.02 output per million tokens. This price ranking does not establish quality equivalence; verify task success and context requirements.
Can cached and batch discounts be combined?
Only recorded rates are used. Cached input can have cache-write or storage charges, while batch rates apply only to eligible asynchronous jobs. We do not automatically stack the discounts or treat an absent rate as zero. Check the linked provider source before budgeting.
How current is the public dataset?
The live pricing table synchronizes stored model records daily; public file snapshots update when the site is rebuilt. Synchronization is not independent provider verification. It contains 1,026 priced models across 124 providers, last updated 2026-10-31. Directory entries are counted separately. A synchronization date is not proof of independent verification.