To cite package ‘rtiktoken’ in publications use:

  Zimmermann-Kollenda D, Roger Zurawicki, Authors of the dependent Rust
  crates (2026). _rtiktoken: A Byte-Pair-Encoding (BPE) Tokenizer for
  OpenAI's Large Language Models_. R package version 0.11.0.3,
  <https://github.com/davzim/rtiktoken>.

A BibTeX entry for LaTeX users is

  @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 = {2026},
    note = {R package version 0.11.0.3},
    url = {https://github.com/davzim/rtiktoken},
  }
