- Why some models are estimated instead of exact count?
- Anthropic, Google, and most open-weight vendors do not ship a browser-safe tokenizer for current models. Their official count_tokens APIs would upload your prompt — we never call them. OpenAI and Qwen/GLM use local Exact tokenizers. Claude, Gemini, Llama, Mistral, and DeepSeek are local approximations for planning only.
- Which models are counted exactly?
- OpenAI GPT / o-series use js-tiktoken locally. Qwen2.5 and GLM-4 use Hugging Face Transformers.js tokenizers in the browser (Exact after the tokenizer downloads once). Claude, Gemini, Llama, Mistral, and DeepSeek stay Estimated.
- Is my prompt uploaded?
- No. Token counting runs entirely in your browser. Saving draft text is off by default; if you enable it, drafts stay in localStorage on your device only.
- How accurate are Claude / Gemini estimates?
- They are local approximations (o200k-based proxy), not official vendor tokenizers. Treat them as planning aids. For billing-accurate counts, use each vendor’s API on your own infrastructure.
- What are ChatML framing tokens?
- Chat APIs wrap each message with role markers and a small fixed overhead. Chat mode adds that framing so multi-turn budgets are closer to real requests.
- What is context window overflow?
- Each model has a maximum context size. The counter progress bar turns yellow from 70% and red from 90% or over limit, with a truncation risk note.
- How are costs estimated?
- We apply published list prices (USD per 1M input/output tokens). Prices as of 2026-10-23. Optional cost alert threshold highlights the panel when round-trip estimate exceeds your budget.
- What is Chat mode?
- Chat mode counts System / User / Assistant messages with OpenAI-style ChatML framing overhead. Import messages JSON and export per-message token JSON for scripts.
- How do I split a long document?
- Open Split by token limit. Set max tokens per chunk. Markdown-aware mode prefers headings and paragraphs and tries not to cut inside fenced code blocks.
- How to split documents for RAG with overlap?
- On Split by token limit, set Overlap (tokens). Each next chunk starts with the last N tokens of the previous one. Use 0 to disable.
- Can I count many files at once?
- Yes — Batch Token Counter lets you multi-select local .md / .txt files, see a summary table, and export CSV.
- Can I set custom API prices or encodings?
- In Options, enable Custom USD / 1M or force tiktoken encodings. Preferences persist in localStorage. Use Clear local settings to reset.
- Does the PWA work offline?
- After the first visit (or Install app), the service worker precaches the shell and tiktoken chunks. Qwen/GLM tokenizers also cache after their first download.
- How do Markdown cleanup options work?
- Independently toggle: remove Mermaid, remove code fences, strip HTML, strip links/URLs, collapse whitespace, and strip Markdown markers.
- Where is the blog?
- ThinkPHP serves /blog, /api/blog/*, and /backend. In local Nuxt dev these paths can be proxied to PHP.