Prompt Token Counter

Used 4,800 times

Count tokens for GPT-4o, GPT-4, GPT-3.5, GPT-4o mini, Claude, and Gemini as you type. Get pricing estimates, remaining context, and chunk suggestions without leaving the browser.

166 characters29 wordsLoading tokenisers…

Token counting runs entirely in your browser via js-tiktoken (WASM) — no data ever leaves this page.

GPT-4o

0 tokens

Context limit: 128,000

Context remaining128,000 of 128,000
Estimated input cost
$0.0000pricing
Characters
166
Words
29

GPT-4

0 tokens

Context limit: 8,192

Context remaining8,192 of 8,192
Estimated input cost
$0.0000pricing
Characters
166
Words
29

GPT-3.5 Turbo

0 tokens

Context limit: 16,384

Context remaining16,384 of 16,384
Estimated input cost
$0.0000pricing
Characters
166
Words
29

Claude (approx)

0 tokens

Context limit: 200,000

Uses cl100k_base as a proxy for Claude tokenisation.

Context remaining200,000 of 200,000
Estimated input cost
$0.0000pricing
Characters
166
Words
29

Gemini (approx)

0 tokens

Context limit: 1,000,000

Uses cl100k_base as a proxy for Gemini tokenisation.

Context remaining1,000,000 of 1,000,000
Estimated input cost
$0.0000pricing
Characters
166
Words
29

GPT-4o mini

0 tokens

Context limit: 200,000

Context remaining200,000 of 200,000
Estimated input cost
$0.0000pricing
Characters
166
Words
29

Latest AI Tools articles