AI Token Calculator
Language models bill by tokens, and for typical English prose one token is about 0.75 words or 4 characters, so you divide a word total by 0.75 to approximate tokens. Using that rule, 750 words come to roughly 1,000 tokens; treat every figure here as an estimate.
Enter an amount of text in tokens, words or characters, add the output you expect, and compare estimated costs. Estimates only: always confirm current prices with the provider.
Important: estimates only
Every number on this page is an estimate with no accuracy guarantee. The token ratios are rules of thumb for ordinary English prose, real counts depend on each model's tokenizer, and providers change prices without notice. Verify any figure independently and check current prices with the provider before you set a budget or quote a client.
How the token conversion works
Language models do not read words or letters. They read tokens: chunks of text that might be a whole short word, part of a longer word, a punctuation mark or a space attached to the next word. Because tokens are cut differently from words, nobody can turn a word count into an exact token count without running the model's own tokenizer. What you can do is use the widely quoted averages for English text, and those are what this calculator applies:
1 token ≈ 0.75 words ≈ 4 characters
tokens ≈ words ÷ 0.75 · tokens ≈ characters ÷ 4
cost = tokens × price per 1M tokens ÷ 1,000,000
Put the other way round, 1,000 tokens is roughly 750 words, and 100 words is roughly 133 tokens. Characters here include spaces and punctuation, the same total a character counter reports with spaces.
Worked examples
Example 1: a 750-word article
750 ÷ 0.75 = 1,000 tokens, or about 4,000 characters. On a model priced at $2.00 per million input tokens, sending that article costs 1,000 × 2 ÷ 1,000,000 = $0.002, a fifth of a cent.
Example 2: a prompt and a reply
A 2,000-token prompt that produces a 500-token answer, on a model at $2.00 input and $10.00 output per million: input 2,000 × 2 ÷ 1,000,000 = $0.004; output 500 × 10 ÷ 1,000,000 = $0.005; total $0.009. Output tokens usually cost several times more than input tokens, so long replies matter more than long prompts.
Example 3: characters from a form limit
A support form allows 2,400 characters. 2,400 ÷ 4 = 600 tokens, about 450 words, which tells you how much room a full message takes in a model's context window.
Example 4: scaling to a month
A chatbot handles 10,000 conversations a month, each about 1,500 input and 400 output tokens. That is 15 million input and 4 million output tokens. At $0.75 and $4.50 per million: 15 × 0.75 = $11.25 plus 4 × 4.50 = $18.00, so roughly $29.25 a month before any caching or batch discounts.
Model prices used by this calculator
Prices as of November 24, 2026. Figures are in US dollars per 1 million tokens for the standard API tier at the shortest-context rate, copied from each provider's official pricing page on that date. Batch, cached, long-context, regional and fast-mode rates differ. Models whose prices could not be confirmed on an official page were left out.
| Model | Input / 1M | Output / 1M |
|---|---|---|
| OpenAI · official pricing page (checked November 24, 2026) | ||
| GPT-6 Astra Short context (≤272K input tokens). | $10.00 | $50.00 |
| GPT-6.1 Sol Short context (≤272K input tokens). | $2.00 | $10.00 |
| GPT-6 Luna Short context (≤272K input tokens). | $0.10 | $0.50 |
| GPT-5.4 mini | $0.75 | $4.50 |
| Anthropic · official pricing page (checked November 24, 2026) | ||
| Claude Fable 5.1 | $10.00 | $50.00 |
| Claude Opus 5.5 | $4.00 | $20.00 |
| Claude Sonnet 5.5 | $2.00 | $10.00 |
| Claude Haiku 5.5 Prompts up to 100,000 tokens; longer prompts cost more. | $0.10 | $0.50 |
| Google Gemini · official pricing page (checked November 24, 2026) | ||
| Gemini 4 Argon Rate through Nov 30, 2026; Google lists $4.00 / $20.00 from Dec 1, 2026. | $2.00 | $10.00 |
| Gemini 3.8 Flash Rate through Dec 31, 2026; Google lists $1.50 / $7.50 from Jan 1, 2027. | $0.75 | $3.75 |
| Gemini 3.5 Flash-Lite | $0.30 | $2.50 |
| Gemini 2.5 Pro Prompts up to 200K tokens. Deprecated: from Dec 1, 2026 requests route to Gemini 3.8 Flash and bill at its rates. | $1.25 | $10.00 |
| xAI · official pricing page (checked November 24, 2026) | ||
| Grok 4.7 Prompts under 200K tokens. | $2.00 | $6.00 |
| Grok 4.3 Prompts under 200K tokens. | $1.25 | $2.50 |
| Grok Build 0.1 Prompts under 200K tokens. | $1.00 | $2.00 |
The price list lives in one place in the site's code, so a single dated update refreshes this table and every estimate together. If a provider publishes a scheduled price change, the note beside that model says so. Prices for a given model can differ on cloud marketplaces, in other regions and for enterprise contracts.
Why your real token count will differ
The 0.75 and 4 ratios hold reasonably well for everyday English, but several things push the real figure up or down. Code, tables, URLs and numbers split into more tokens per word than prose does. Languages other than English, especially those written without spaces or in non-Latin scripts, often need noticeably more tokens for the same meaning. Each provider uses its own tokenizer, and Anthropic's pricing page notes that its newer tokenizer produces roughly 30% more tokens for the same text than its earlier one. Chat formats also add hidden overhead: system instructions, tool definitions and message wrappers count as input tokens even though you never typed them. For an exact count, use the provider's token-counting endpoint or library on your real text.
How to read the result
The headline shows the estimated token count, with the matching word and character estimates underneath. The cost table lists every model in the price list, with input cost, output cost and the total, to six decimal places, because a single request often costs a fraction of a cent. Choosing a model in the "Show working for" box highlights its row and adds the full arithmetic to the step-by-step panel, so you can copy the calculation into a spreadsheet. Leave expected output at zero if you only want to price the text you send.
Input, output and the other rates
Input tokens are everything you send: your prompt, any document you paste in and the earlier turns of a conversation, which are usually re-sent on every turn. Output tokens are what the model writes back, and for reasoning models they can include hidden thinking tokens billed at the output rate. Providers also offer cheaper cached input for repeated prompt prefixes, a batch tier at about half price for jobs that can wait, and higher rates for very long prompts or faster processing. This calculator uses only the standard rate, so treat it as a ceiling for ordinary use rather than a quote.
Budgeting tips
Start from a sample of real traffic rather than a guess: count the tokens in ten typical prompts and replies and multiply up. Cap reply length where you can, since output is the expensive side. Trim long system prompts and repeated context, or cache them where the provider supports it. Run the same estimate across two or three models; a smaller model is often good enough for routing, tagging or short summaries and can cost a tenth as much. Re-check prices at least monthly, because this field changes quickly.
Limits of this calculator
It does not tokenize your text, apply cached, batch or long-context pricing, count images, audio or tool calls, add taxes, or convert currencies. It knows only the models in the dated table above, and a price may have changed since that date. For word totals of a draft, the word counter and character counter give exact counts to feed in here.
Frequently asked questions
How many words is 1,000 tokens?
About 750 words of ordinary English text, using the common rule that one token is roughly three quarters of a word. Code and other languages usually give fewer words per token.
How many characters are in a token?
Roughly four characters of English text, including spaces. So 4,000 characters is about 1,000 tokens.
Are these AI prices guaranteed?
No. They are estimates based on prices copied from each provider's official page on the date shown. Prices change, so check the provider's current pricing before relying on a figure.
Why do output tokens cost more than input tokens?
Generating text takes more computing work per token than reading it, so providers charge several times more for output. Long replies drive most of the cost.