Best AI Utility logo
Best AI Utility
Back to Open Source

tiktoken

by openai

Fast BPE tokenizer for use with OpenAI's models.

Stars
19,619
Forks
1,669
Language
Python
Category
Libraries & Tools

Get the code

# Clone the repository
git clone https://github.com/openai/tiktoken
View on GitHub

Frequently asked questions

What is tiktoken?

Fast BPE tokenizer for use with OpenAI's models.

Is tiktoken safe to use?

tiktoken is an open-source project by openai on GitHub. Review the source code and license before using it in production.

How do I get started with tiktoken?

git clone https://github.com/openai/tiktoken

What language is tiktoken written in?

openSource.faqWhatLanguageAnswer

Related projects