models icon indicating copy to clipboard operation
models copied to clipboard

SuperCompress: Free open-source LLM prompt compression - cut token costs by ~65%

Open arjunkshah opened this issue 5 months ago • 0 comments

SuperCompress: Open-Source Prompt Compression

SuperCompress is a learned prompt compression library that reduces LLM token usage by ~65% using a ~5K parameter neural policy.

Why this matters for ML development:

  • Practical ML deployment: a tiny model (~5K params) as a preprocessing step
  • DQN-style RL training on ~80K query-context pairs
  • Cross-embedding architecture: context scored against query relevance
  • CPU-only inference (~60ms) — deploy anywhere
  • pip install supercompress | MIT license

Live demo: https://supercompress.dev | GitHub: https://github.com/arjunkshah/supercompress

arjunkshah avatar Jun 30 '26 02:06 arjunkshah