AI Token Counter, Cost & Context PlannerBrowser-local text planning. No model connection or automatic saving. Keep passwords, API keys and other secrets out.
Supplied text
Four separately counted sections, then summed. CRLF and CR become LF; other whitespace is preserved. Supplied text only, up to 256 KiB UTF-8.
Count & scenario
| Section | Tokens | Characters |
|---|
No current budget result
| Component | Tokens / call | USD / call |
|---|
- USD / call
- Not counted
- Scenario USD
- Not counted
No current cost result
Budget & cost assumptions
Optional USD rates per 1 million tokens
Blank rates are unknown, not free. Capacity and cache use are manual assumptions; cached tokens still use context. Each call repeats the same input and output allowance, with no history growth or proven cache reuse.
Reports include all four complete texts and assumptions, not only the active section. JSON saves the editable draft without a count. PDF may reject unsupported characters; TXT, CSV and JSON preserve them.
Complete report text
Explicit encodings, not model detection. Excludes message wrappers, unpasted tools, attachments, hidden context and generated answers. Output is a reserve, not a forecast. Costs are scenarios, not bills; taxes, fees and discounts are excluded.