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

Token Counting Python Packages

Python packages with the GitHub topic token-counting. Sorted by relevance, with stars and monthly downloads.
adam2go
puretiktoken

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

1K 0 0
sairintechnologycom
burnlens

Open-source LLM FinOps proxy — track OpenAI, Anthropic (Claude), and Google Gemini costs by feature, team, and customer. Zero code changes. pip install burnlens.

882 3 0
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
aryanjp1
tokenbudget

Lightweight token tracking, cost management, and budget enforcement for LLM API calls

319 6 1
Wolfe-Jam
slash-tokens

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

221 4 0
stef41
tokonomix

Universal LLM token counting and cost management. Track, compare, and optimize your LLM API spending.

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