Token counter · OpenAI · 63 models · synced 2026-11-25

OpenAI token counter

Paste a prompt to see how many tokens OpenAI bills it as, and what that costs on every OpenAI model. The tokenizer runs in your browser — nothing you paste leaves the page.

35tokens27words157characterso200k_base, counted in your browser
Show the token split35 pieces
Expected reply
≈ 18 output tokens
Calls
35K input tokens billed
CacheProviders without a published cache rate stay at list price.
Providers — 1 of 12 in the ranking
$5.00 in·$30.00 out
exact$0.7150
$10.00 in·$50.00 out
estimated$1.3000
$3.00 in·$15.00 out
estimated$0.3810
$1.32 in·$3.96 out
estimated$0.1214
$1.25 in·$2.50 out
estimated$0.0913
$3.00 in·$15.00 out
estimated$0.3810
$4.00 in·$20.00 out
estimated$0.5120
$0.80 in·$4.00 out
estimated$0.1024
$1.40 in·$4.40 out
estimated$0.1338
$0.50 in·$1.50 out
estimated$0.0460
$0.99 in·$1.49 out
estimated$0.0644
$2.00 in·$8.00 out
estimated$0.2220
Ranked cheapest first · 1,000 calls
  1. $0.7150cheapest · 35 in
Counting
exact
public tokenizer
Tokens per word
1.11
English prose
1,000 words
≈ 1,110
tokens
Cheapest input
$0.10
gpt-6-luna

What a given token count costs on OpenAI

Input tokens only, in USD, at current list rates. Output is billed separately and always costs more — the OpenAI pricing page has both rates for all 63 models.

Model 1,00010,000100,0001,000,000
gpt-6-luna $0.0001$0.001$0.010$0.100
gpt-5.6-luna $0.0002$0.002$0.020$0.200
gpt-5.4-mini $0.00075$0.0075$0.075$0.750
gpt-6.1-terra $0.001$0.010$0.100$1.00
gpt-5-search-api $0.00125$0.013$0.125$1.25
gpt-5.2 $0.00175$0.018$0.175$1.75
gpt-5.6-terra $0.002$0.020$0.200$2.00
gpt-6-sol $0.002$0.020$0.200$2.00
gpt-6.1-sol $0.002$0.020$0.200$2.00
gpt-6.2-sol $0.002$0.020$0.200$2.00

How OpenAI counts a token

A token is not a word and not a character. Common words are usually one token, rarer ones split into pieces, and the spaces and punctuation between them are counted too. On the reference paragraph this page measures against, OpenAI works out at 1.11 tokens per word, or one token per 4.7 characters of English prose. Code, JSON and languages that do not use the Latin alphabet all run denser — expect more tokens for the same word count, sometimes twice as many.

OpenAI publishes its tokenizer, so the number above is not an approximation: the real encoder runs on your text, in your browser, and returns what OpenAI would bill. The token chips under the box are the actual pieces it split your prompt into.

Questions

How many tokens is 1,000 words in OpenAI?
About 1,110 tokens — roughly 1.11 tokens per word of English prose, or one token per 4.7 characters. Code, JSON and non-English text run denser and produce more tokens for the same word count.
Is this OpenAI token count exact?
Yes. OpenAI publishes its tokenizer, so the count is produced by running the real encoder on your text in your browser — the same one OpenAI bills against.
How much does 1M input tokens cost on OpenAI?
From $0.10 on gpt-6-luna, the cheapest of the 63 OpenAI models listed here. Output tokens are billed separately and cost more — $0.50 per million on the same model.

Token counters for other providers