£9+
Add to cart

Token-Count

£9+

Count tokens and estimate costs before you paste into AI.

Stop guessing if your code fits the context window.

WHAT IT DOES:

token-count ./folder --model gpt-4

token-count file.md --model claude

OUTPUT:

Files: 23

Tokens: 12,456

Estimated cost: $0.37 (GPT-4 input)

⚠️ Warning: Exceeds 8K context window

SUPPORTS:

→ GPT-4, GPT-4-turbo, GPT-3.5

→ Claude 3 models

→ Files or entire folders

→ Multiple file types

WHY YOU NEED THIS:

- Know costs before you run

- Stay within context limits

- Compare token counts across models

- Budget for API usage

✅ Uses tiktoken (same as OpenAI)

✅ Offline — no API calls

✅ Fast scanning

Know before you paste.


£
Add to cart

A Python CLI tool, README + example output for counting tokens & estimating AI cost before sending text to GPT/Claude.

Size
3.66 KB
Powered by