Prompt Token Counter Model: 0 tokens
Prompt / Text0 chars · 0 words · 0 lines
Token Analysis
0
Estimated Tokens
Model Comparison
Context Window Usage
0 / 128,000 tokens0%
Text Breakdown
Characters0
Words0
Lines0
Sentences0
Paragraphs0
Avg tokens/word
Cost Estimate (selected model)
Input cost$0.000000
Output cost (×2 estimate)$0.000000
Total estimate$0.000000
Ready — paste a prompt to start counting

How to Use

1

Paste Prompt

Type or paste your prompt into the editor on the left.

2

Select Model

Choose the target AI model from the toolbar to see its context usage and pricing.

3

Analyse

Token count, context usage %, and cost estimate update instantly — all in your browser.

About Token Counting

Why tokens?
LLMs process text as tokens, not characters. One token ≈ 4 characters or ¾ of a word in English.
100% Private
All counting happens locally in your browser. Your text is never sent to any server.
Cost Aware
Estimate API costs before sending large prompts to avoid unexpected bills.
Context Limits
See at a glance how much of a model's context window your prompt fills.

Note: This tool uses a fast BPE-approximation algorithm. Counts are close estimates — for exact counts use the official tokenizer libraries (tiktoken for OpenAI, tokenizers for HuggingFace). Typical accuracy is within ±5%.

✓ Copied!