Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Could someone clarify what exactly are those tokens ?


Length of given text after encoding it with their BPE. In general, you can expect it to be 1.2x-2x the len(words) in your text.


The Pricing FAQ notes that it's, on average, 4 characters, which IMO is fair.

Super common punctuation is its own token, however.




Consider applying for YC's Winter 2026 batch! Applications are open till Nov 10

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: