Skip to main content
Docs
Search
⌘K
Log in
Create account
Docs
API Reference
Blog
Release Notes
Blog
/
Tags
#billing
1 article
Nov 19, 2026
900 KB of one repeated letter took almost six minutes to count
Performance
tiktoken-go is quadratic on one long piece of text: how we measured it, two fixes that did not hold, the 512-byte bounded count, and what it does to billed tokens.
Ask Docs
Search
Ask Docs
Type to search the documentation
Using current page
Send
Enter to send, Shift+Enter for a new line.
Clear chat