Skip to content
PyRank
  • Search
  • PyPI
  • GitHub
  • Insights
  • Compare
  • Advisories
  • Ecosystem
  • About

Prompt Caching Python Packages

Python packages with the GitHub topic prompt-caching. Sorted by monthly downloads, with stars and forks.
tokensafe-dev
tokensafe

Your AI agent is smart enough to code all day. Now it actually can. Local runtime firewall & zero-loss context optimizer for AI coding agents.

65K 47 3
vgp7758
agt-agent

An AI agent framework that builds itself — multi-model ReAct + tiered cache-friendly context + async multi-agent + XML workflows. CLI & WebUI, zero LangChain.

16K 1 0
superbasedapp
superbased-observer

Track what every AI coding agent costs and see the limit coming. Per-session, per-model cost for Claude Code, Codex, Cursor and 37 more tools from your provider's own token counts, plus limit gauges, a dangerous-command guard and dashboard terminals. Free, Apache-2.0, runs on your machine.

11K 66 6
dshakes
distil-llm

Compression with a quality contract — cache-aware, causally-pruned LLM context compression for agentic runtimes, certified non-inferior across 7 domains. Works with any SDK.

7K 21 3
ashhadahsan
cachemaxxing

Stop paying full price for the same tokens.

4K 0 0
rkolesnichenko
ccdrift

A check for silent changes in Claude Code's prompt caching, Haiku use, settings, context and hooks, read from your local session logs

3K 0 0
Cognisn
cognisn-spark

Secure Personal AI Research Kit — Multi-provider LLM web interface with MCP tools, voice chat, persistent memory, and autonomous actions

3K 0 0
ShreyanshMisra
runeconomy

Find inference waste in multi-step agent workflows and verify improvements with controlled vLLM experiments

3K 0 0
dotnetpower
tokprof

Tokenomics & Token Economics for LLMs & AI Agents (EN/KO): cut token costs in VS Code GitHub Copilot, speed up coding with cctx, and profile agent calls with tokprof.

3K 0 0
vamsiramakrishnan
ctx-harness

A context sidecar for coding agents (Claude Code, Codex, Antigravity, and more). Cut wasteful token spend, reduce turns with LSP, and delay context compaction — without lossy compression.

3K 13 3
memtylabs
memty

User-owned, local-first memory for AI assistants: one private vault for Claude, ChatGPT, Gemini, Perplexity, Cursor, and any MCP client

3K 4 2
YauhenBichel
context-handoff

Claude Code plugin: meter what each turn costs, write a handoff note, resume cheaply after /clear

2K 0 0
PaulMorrisDev
claudeglass

Are you using Claude Code well? Finds the habits and settings that waste tokens, from the transcripts on your machine. Local dashboard, stdlib-only Python.

2K 6 0
Haarris
cachecanary

Know the moment your Claude prompt cache breaks on Amazon Bedrock, not when the bill arrives.

2K 4 0
13manmayarai-hash
omnicache-proxy

⚡ Zero-latency semantic caching, agent loop accelerator & cost optimization gateway for LLMs. Slash OpenAI & Anthropic bills by 40%-75%.

2K 1 0
shangliy
kvleak

Cut Claude Code token cost: find where your prompt-cache money leaks and fix it with one command. Also Codex CLI, Gemini CLI, OpenCode.

2K 3 1
peterwkdev-creator
claude-context-cost

How much each source (CLAUDE.md, rules, skills, memory, tool results) costs in the context of a Claude Code session, counted from the API usage in its transcript. Also a context budget for CI, and the git version of each file a session loaded.

2K 0 0
douglasmonsky
codex-usage-tracking

Local-first MCP tools and dashboard for investigating Codex token usage, credits, costs, caching, and thread patterns.

2K 197 18
ojuschugh1
sqz

Context compression for AI coding agents: compresses tool output before it enters the model, dedups repeats to 13-token refs. Claude Code, Cursor, Codex, Kiro, Zed, any MCP client. Rust, zero LLM calls.

1K 680 45
superbasedapp
superbased-sdk

Track what every AI coding agent costs and see the limit coming. Per-session, per-model cost for Claude Code, Codex, Cursor and 37 more tools from your provider's own token counts, plus limit gauges, a dangerous-command guard and dashboard terminals. Free, Apache-2.0, runs on your machine.

1K 66 6
426ai
forkreduce

Share one long context across many LLM queries: cached prefix, parallel forks, semantic reduce. Built on Pydantic AI.

1K 2 0
Kayariyan28
ctxbudgeter

Model-agnostic context intelligence for AI agents. Agents manage their own context, ctxbudgeter governs it: context API (compact, pin, archive, recall, rollback), graduated autonomy, a portable context skill, per-model policy learning, CTXBench, an MCP server. Plus ContextOps: token budgets, PII/secret scanning, Context BOM, MRI. Local-first.

1K 3 0
spikethebuild
agentlens-local

Local-first observability for AI coding agents. Maximum visibility. Minimum token overhead.

979 0 0
LeeGyeongPil
cache-autopsy

Offline CLI that explains why your LLM prompt cache missed: request-prefix diff, usage-aware hit rate, missed token and cost estimates, and CI gates for Anthropic and OpenAI logs.

928 0 0
    • Original data from PyPI, GitHub, and OSV; downloads served through ClickHouse
    • Sources & methodology