To cite package ‘rtiktoken’ in publications use:
Zimmermann-Kollenda D, Roger Zurawicki, Authors of the dependent Rust crates (2025). rtiktoken: A Byte-Pair-Encoding (BPE) Tokenizer for OpenAI's Large Language Models. R package version 0.0.6, , https://github.com/davzim/rtiktoken.
Corresponding BibTeX entry:
@Manual{, title = {rtiktoken: A Byte-Pair-Encoding (BPE) Tokenizer for OpenAI's Large Language Models}, author = {David Zimmermann-Kollenda and {Roger Zurawicki} and {Authors of the dependent Rust crates}}, year = {2025}, note = {R package version 0.0.6, }, url = {https://github.com/davzim/rtiktoken}, }