Token counter · Groq · 4 models · synced 2026-11-25

Groq token counter

Paste a prompt to see how many tokens Groq bills it as, and what that costs on every Groq 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.1024cheapest · 38 in
Counting
estimated
OpenAI encoder × 1.08
Tokens per word
1.19
English prose
1,000 words
≈ 1,190
tokens
Cheapest input
$0.075
gpt-oss-20b

What a given token count costs on Groq

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

Model 1,00010,000100,0001,000,000
gpt-oss-20b $0.00007$0.00075$0.0075$0.075
gpt-oss-safeguard-20b $0.00007$0.00075$0.0075$0.075
gpt-oss-120b $0.00015$0.0015$0.015$0.150
qwen3.8-27b $0.0008$0.008$0.080$0.800

How Groq 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, Groq works out at 1.19 tokens per word, or one token per 4.4 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.

Groq does not publish a tokenizer. Nobody outside OpenAI does. So the honest description of this count is: OpenAI's encoder run on your text, multiplied by 1.08 — the ratio Groq publishes for its own family. It is close enough to choose a model on and to size a budget with, and it is wrong enough that you should not reconcile a bill against it. That is why the badge says estimated rather than a number pretending to be exact.

Questions

How many tokens is 1,000 words in Groq?
About 1,190 tokens — roughly 1.19 tokens per word of English prose, or one token per 4.4 characters. Code, JSON and non-English text run denser and produce more tokens for the same word count.
Is this Groq token count exact?
No. Groq does not publish a tokenizer, so the count is OpenAI's encoder run on your text and multiplied by 1.08, the ratio Groq publishes for its own family. Treat it as ±10%, and never as an invoice.
How much does 1M input tokens cost on Groq?
From $0.075 on gpt-oss-20b, the cheapest of the 4 Groq models listed here. Output tokens are billed separately and cost more — $0.30 per million on the same model.

Token counters for other providers