openai / tiktokenView on GitHub
tiktoken is a fast BPE tokeniser for use with OpenAI's models.
17,683Feb 8, 2026Updated last month

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?