tiktoken 3.8.3

A high-performance pure-Rust implementation of OpenAI's tiktoken BPE tokenizer
Documentation