Skip to content
AI cost and planning

LLM token counter

Paste any text to estimate how many tokens it is, and what it would cost to send to each model.

Free, runs in your browser, no sign-up. Updated 2026-10-25.

An estimate. Real token counts depend on each model's tokenizer; this tool estimates them from characters and words.

Stays in your browser. It is not saved or added to the page link.

No family-specific ratio is published on the pricing pages, so every family starts from the same rule of thumb. Edit it per family once you have real counts.

Result

Estimated 52 tokens (range 41–63) for 205 characters and 39 words. This is an estimate, not an exact tokenizer count.

Estimated tokens
52
Likely range 41–63. An estimate: exact counts need the provider's tokenizer.
Characters
205
Words
39
By characters
51
By words
52
Cost to send this text once as input, cheapest first (USD)
ModelCostPrice checked
Claude Haiku 5.5$0.00000522026-10-23
gpt-6-luna$0.00000522026-10-23
MiniMax M3.1-Flash$0.00000782026-10-23
gpt-5.6-luna$0.000012026-10-23
Gemini 2.5 Flash$0.0000162026-10-23
deepseek-flash$0.0000162026-10-23
MiniMax M3$0.0000162026-10-23
gpt-5.4-mini$0.0000392026-10-23
Gemini 3.8 Flash$0.0000392026-10-23
Claude Haiku 4.5$0.0000522026-10-23
Gemini 2.5 Pro$0.0000652026-10-23
deepseek-v4-pro$0.0000692026-10-23
Claude Sonnet 5.5$0.00012026-10-23
Claude Sonnet 5$0.00012026-10-23
gpt-6.1-sol$0.00012026-10-23
gpt-5.6-terra$0.00012026-10-23
Gemini 4 Argon$0.00012026-10-23
Gemini 3.1 Pro Preview$0.00012026-10-23
Claude Opus 5.5$0.000212026-10-23
gpt-5.6-sol$0.000212026-10-23
Claude Opus 5$0.000262026-10-23
Claude Fable 5.1$0.000522026-10-23
gpt-6-astra$0.000522026-10-23

Assumptions

Every number the result depends on, and where it comes from. Change any value and the result updates.

AssumptionValueSource
Characters per token (non-CJK text)charsOceanLab planning assumption: a common rule of thumb for English prose. Not measured by OceanLab; edit it if you have counts from the provider's tokenizer.Reviewed 2026-10-25
Tokens per wordtokensOceanLab planning assumption: a common rule of thumb for English prose. Not measured by OceanLab; edit it if you have counts from the provider's tokenizer.Reviewed 2026-10-25
Tokens per CJK charactertokensOceanLab planning assumption: CJK scripts usually tokenize at around one token per character or more. Edit it for your model.Reviewed 2026-10-25
Range around the estimate%OceanLab planning assumption: ±20% covers typical differences between tokenizers on ordinary text. Code, numbers and rare words can fall outside it.Reviewed 2026-10-25

Ask OceanLab about your AI build

Opens an email to OceanLab with this result and a link to your inputs. Nothing is sent until you press send, and there is no sign-up.

Prefer a form? Use the contact page.
Method

How this is calculated

This is an estimate, not a tokenizer. Tokens ≈ the average of (characters ÷ characters per token) and (words × tokens per word), with Chinese, Japanese and Korean characters counted at about one token each.

The range shown is ±20% around the estimate. Code, numbers and rare words can fall outside it.

Each model family has its own tokenizer. For exact counts, use the provider's token-counting endpoint.

The cost table prices the estimated tokens as input on each model, at the prices shown with their checked dates.

Sources

FAQ

Questions about this tool

Is this an exact token count?

No. It is an estimate from characters and words, shown as a range. Each model family has its own tokenizer; use the provider's token-counting endpoint for exact numbers.

Why do code and other languages count differently?

Tokenizers are trained mostly on English text, so code, numbers and other scripts often split into more tokens per character.

Is my text sent anywhere?

No. Counting happens in your browser and the text is not stored or put in the page link.

Related tools

Other free tools

Product builds

OceanLab product builds like this

Products OceanLab designed and built. Each case study covers the screens, the scope and the rules it was built for.

START YOUR CONVERSATION

Your Next Mission-Critical
System Starts Here

Speak with a senior engineer about your requirements. No sales process, just a direct technical conversation about what you need to build.

OceanLab

Enterprise Software Engineering - Human + AI

Languages

Locations

Global Headquarters

21 Merchant Road, 3rd Floor, Singapore 058267

Main corporate office and leadership operations

North America Office

548 Market Street, PMB 12472, San Francisco, CA 94104

Client operations and business development

India Office

402 Shivalik Shilp II, SG Highway, Ahmedabad 380015

Engineering and delivery center

© 2026 - Copyright. All Rights reserved OceanLab