1 stable release

1.0.1 Aug 18, 2023

#24 in #capability

Download history 20/week @ 2024-07-21 44/week @ 2024-07-28 5/week @ 2024-08-04 6/week @ 2024-08-11 4/week @ 2024-08-18 6/week @ 2024-08-25 8/week @ 2024-09-01 22/week @ 2024-09-08 11/week @ 2024-09-15 47/week @ 2024-09-22 21/week @ 2024-09-29 30/week @ 2024-10-06 67/week @ 2024-10-20 67/week @ 2024-10-27 24/week @ 2024-11-03

158 downloads per month

MIT license

1.5MB
502 lines


An efficient Rust implementation of tiktoken, enhanced with the capability to calculate OpenAI token costs. Crafted for performance, accuracy, and seamless integration into your projects.

Dependencies

~5.5MB
~115K SLoC