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

Tokenization is <0.1% of the inference time for the first token in the same way it is <0.1% for the last.
 help



Time to first token refers to the time until the model outputs one token, which includes the time to process the entire prompt (doing prefill). The GPU time per token is much lower when doing prefill, so the significance of tokenization is higher.

Have you done preliminary numbers on replacing tokenizer on, say, llama-server?


Running the numbers now



Consider applying for YC's Fall 2026 batch! Applications are open till July 27.

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

Search: