Skip to content
Tok

Token Counter

Count LLM tokens with gpt-tokenizer (cl100k_base).

Approximate token counts with gpt-tokenizer (cl100k_base / GPT-4 family). Counts vary by model.

tokens: 13
chars: 53
encoding: cl100k_base
ids: [13225, 11, 316, 1191, 38863, 0, 6789, 290, 20290, 306, 495, 21872, 13]

About Token Counter

Count LLM tokens with gpt-tokenizer (cl100k_base). Everything runs in your browser. Pricing table is illustrative only.

How to use

  1. Pick a model
  2. Enter token counts
  3. Review cost

FAQ

Free?

Yes.

Accurate pricing?

Illustrative static rates — confirm with the provider.

Uploaded?

No.