Tokenization accuracy
The displayed count is a labeled local estimate, not a provider-exact token count. Provider request wrappers, tool schemas, images, cached content, and reasoning accounting can add tokens beyond plain prompt text.
Review tokenizer source