openai / tiktokenView on GitHub
tiktoken is a fast BPE tokeniser for use with OpenAI's models.
18,459May 24, 2026Updated 3 weeks ago

Alternatives and similar repositories for tiktoken

Users that are interested in tiktoken are comparing it to the libraries listed below. We may earn a commission when you buy through links labeled 'Ad' on this page.

Sorting:

Are these results useful?