Check a system prompt against a token budget you set. You see characters, words, approximate tokens and how much headroom is left (or how far over you are). Counting runs in your browser.
How to use
- Paste your system prompt.
- Enter your token budget, for example the share of the context window you want to reserve for instructions (the default is 8,000).
- Read the result: characters, words, approximate tokens and Remaining tokens, or an Over budget warning.
About the count
Tokens are estimated at about 4 characters per token, a common English rule of thumb. Real tokenizers differ by model, and code, JSON and non-English text usually use more tokens. For an exact OpenAI count use the OpenAI tokenizer; to compare model families use Tokenizer compare.
Why keep system prompts short
Every request resends the system prompt, so a long prompt adds input cost and latency on each call and leaves less room for the conversation. Some APIs offer prompt caching that reduces the cost of repeated prefixes; check your provider’s pricing.
Related
Tokenizer compare · Prompt length checker · API cost calculator
How we check
Checked against the tool’s unit tests and a manual run in a desktop browser on 2026-11-13 (Asia/Colombo). Corrections: [email protected].