Tokenization accuracy
Plain text is counted locally with a verified tokenizer implementation and is not uploaded. Provider request wrappers, tool schemas, images, cached content, and reasoning accounting can add tokens beyond plain prompt text.
Review tokenizer source