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.

45K 13 0
gweidart
rs-bpe

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

18K 38 5
cahya-wirawan
pyrwkv-tokenizer

A fast RWKV Tokenizer written in Rust

7K 54 5
cahya-wirawan
rwkv-tokenizer

RWKV Tokenizer

2K 54 5
kgruiz
pytokencounter

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

2K 2 0
Reversehobo
openai-function-tokens

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

492 19 1
Thibault00
runtoken

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

331 2 0
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.

289 62 3
DevelopedBy-Siva
llm-tokenscope

Profile your LLM payloads. Find the waste. Cut the cost. Field-level token attribution, cost leak detection, and payload optimization for any LLM API.

211 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.

203 6 0
DelvyG
promptminify

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

188 1 0
stef41
toksight

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

186 1 0
Wolfe-Jam
slash-tokens

Token Optimization for Context Engineers. 4.8 KB WASM. Sub-millisecond. Zero dependencies.

179 4 0
bb1nfosec
distill-llm

See which files burn your LLM tokens — fix them automatically. CI budget gate + MCP server + adapters for Claude, GPT-4o, Gemini, Ollama.

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