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

Tokens Python Packages

Python packages with the GitHub topic tokens. Sorted by relevance, with stars and monthly downloads.
miguelgrinberg
flask-httpauth

Simple extension that provides Basic, Digest and Token HTTP authentication for Flask routes

2.7M 1K 235
chopratejas
headroom-ai

Compress tool outputs, logs, files, and RAG chunks before they reach the LLM. 60-95% fewer tokens, same answers. Library, proxy, MCP server.

1.3M 57K 4K
BobTheBuidler
ypricemagic

Fetch accurate prices for tokens solely using on-chain data.

65K 76 20
BobTheBuidler
eth-portfolio-temp

Use eth-portfolio to output information about a wallet or collection of wallets in a streamlined, speed-optimized way.

34K 15 6
ApeWorX
ape-tokens

Tokens converter plugin for the Ape Framework

16K 11 8
BobTheBuidler
eth-portfolio

Use eth-portfolio to output information about a wallet or collection of wallets in a streamlined, speed-optimized way.

12K 15 6
adamallcock
runcost-ai

Small polyglot cost ledger for LLM and agent API calls

4K 1 0
Elijas
token-throttle

Simple Multi-Resource Rate Limiting That Saves Unused Tokens. Rate limit API requests across different resources and workers without wasting your quota. Reserve tokens upfront, get refunds for what you don't use, and avoid over-limiting.

4K 19 2
pankajniet
leancontext

Trim the redundant tool output your AI agent re-sends every turn. Deterministic, type-aware token reduction with a fidelity score — never breaks the agent.

3K 0 0
ZON-Format
zon-format

ZON → 35-70% cheaper LLM prompts than JSON/TOON. Zero overhead.

3K 71 7
luthraG
llmprof

pprof for your LLM context - see where every token and dollar goes.

3K 1 0
Crack525
tokenxray

Live cost alerts, hard-stop ceiling, and session analysis for Claude Code. The spending guard Claude Code doesn't ship with.

2K 1 0
hamidi-dev
opentab-ai

📊 Browse your AI coding spend in the terminal — OpenCode, Claude Code, Codex & more

2K 19 0
chopratejas
headroom-hardened

Compress tool outputs, logs, files, and RAG chunks before they reach the LLM. 60-95% fewer tokens, same answers. Library, proxy, MCP server.

2K 57K 4K
1kkiRen
tokenizerchanger

Library for manipulating the existing tokenizer.

1K 21 1
fernforge
ruleprof

Ablate your CLAUDE.md / AGENTS.md rules to see which ones actually change agent behavior vs. just cost tokens.

1K 0 0
ojuschugh1
sqz

Universal context intelligence layer — compresses LLM context across CLI, MCP, browser, and IDE

1K 368 25
Waelr1985
contextcram

llm · rag · context-window · tokens · prompt-engineering · token-budget · agents · python

962 1 0
SUDARSHANCHAUDHARI
foldback-ai

Lossless context compression for LLM agents — fold it down, fold it back. Compresses tool outputs/logs before the model, prompt-cache-preserving, 39–82% fewer tokens. pip install foldback-ai

942 1 0
epoko77-ai
tokenhabit

Scan your Claude Code logs and find the habits silently burning your tokens. No LLM calls, no deps, offline.

934 13 2
fkenmar
atlas-map

Fast Rust repo map for AI coding agents: token-budgeted signatures, imports, diff, and MCP.

814 0 0
camelyello-88
llmstat

CLI-first, local LLM cost tracker for indie devs — drop it in front of any OpenAI-compatible API and watch token usage and spend in real time. No cloud, no signup.

782 17 0
javaisbetterthanpython
cursor-usage

Cross-platform CLI for your Cursor (cursor.com) usage, spend & per-event logs — no API key needed.

738 0 0
helloderekg
skim-mcp

Lossless skim-then-expand MCP server: read big files, repos, and command output with far fewer tokens

664 0 0
    • Data from PyPI, GitHub, ClickHouse, and BigQuery