Interactive Demo

See it in action

Click any example below to load it into the counter and see real-time token counts, model compatibility, and cost estimates.

1

Paste or type any text

The counter works in real time. Every keystroke updates the token count, character count, word count, and line count instantly.

You are a helpful assistant that answers questions about machine learning. Keep responses concise and use examples when possible. If you don't know the answer, say so.
2

Upload files, folders, or ZIPs

Drop a single file, select multiple files, upload an entire folder, or drop a .zip archive. The tool reads every text-based file, skips binaries, and gives you a per-file breakdown sorted by token count.

.py .js .ts .json .md .html .css .yaml .sql .csv .zip +20 more
3

Check model compatibility

Instantly see which of the 26 AI models can handle your input. Each card shows a usage bar, status (OK, Tight, or Exceeded), and the estimated input cost based on real API pricing.

Paste a 50,000-word document and watch models with smaller context windows turn red while Gemini 2.5 Pro and Llama 4 Scout stay green with their 1M+ token windows.

Ready to count?

No signup, no install, no cost. Just paste and go.

Open the counter →