PyRank
  • Insights
  • PyPI
  • GitHub
  • Search
  • Compare
  • Advisories
  • Ecosystem
  • About

Tiktoken Python Packages

Python packages with the GitHub topic tiktoken. Sorted by relevance, with stars and monthly downloads.
izikeros
count-tokens

Count tokens in a text file.

48K 14 0
gweidart
rs-bpe

A ridiculously fast Python BPE (Byte Pair Encoder) implementation written in Rust

16K 41 5
cahya-wirawan
pyrwkv-tokenizer

A fast RWKV Tokenizer written in Rust

11K 54 5
cahya-wirawan
rwkv-tokenizer

RWKV Tokenizer

8K 54 5
kgruiz
pytokencounter

A Python library for tokenizing text and counting tokens using various encoding schemes.

1K 2 0
adam2go
puretiktoken

tiktoken in pure Python: byte-for-byte compatible BPE tokenizer for GPT-4/4o, no Rust extension, zero dependencies

1K 0 0
bb1nfosec
skim-llm

Runtime token proxy + optimization toolkit for LLM developers and enterprises. Intercepts API calls, strips waste in real-time, tracks costs, and serves a web dashboard.

713 4 1
Thibault00
runtoken

A blazing-fast BPE tokenizer for LLMs. Drop-in tiktoken replacement, 20-80x faster.

689 4 0
RLASAF12
context-budget

Claude Code context window budget calculator — know your token cost before you load

589 0 0
Mrrobi
convopack

Framework-agnostic, provider-agnostic context-window packer for LLM chat history.

486 0 0
Reversehobo
openai-function-tokens

A package to estimate token counts for messages AND functions in openai's chat completion API.

482 19 1
uninhibited-scholar
llm-context-compressor

Shrink LLM context windows by removing noise, redundancy, and long-tail detail — without losing signal.

469 1 0
bb1nfosec
distill-llm

Runtime token proxy + intelligence dashboard for LLM tools. Intercepts API calls, strips waste, tracks costs — for individual developers and Fortune 500 teams.

342 4 1
ElmiraGhorbani
chatgpt-long-term-memory

The ChatGPT Long Term Memory package is a powerful tool designed to empower your projects with the ability to handle a large number of simultaneous users.

317 62 3
DevelopedBy-Siva
llm-tokenscope

Profile your LLM payloads. Find the waste. Cut the cost.

287 0 0
unitythemaker
tokdu

tokdu (Token Disk Usage) is a terminal-based utility that helps you analyze and visualize token usage in your codebase. Similar to the classic du (disk usage) command, tokdu shows you how many tokens your files and directories consume, which is essential when working with Large Language Models (LLMs) that have token limits.

255 7 0
Wolfe-Jam
slash-tokens

Token budget estimation in 4.8 KB WASM. Sub-millisecond. Zero dependencies.

221 4 0
DelvyG
promptminify

Minify LLM prompts to save tokens — domain-aware, tiktoken-validated, zero regressions.

184 1 0
stef41
toksight

Tokenizer analysis & comparison toolkit — compression, coverage, audit, cost estimation. Zero deps.

176 1 0
    • Data from PyPI, GitHub, ClickHouse, and BigQuery