UStackUStack
SuperCompress icon

SuperCompress

SuperCompress is a query-aware context compressor for LLM applications that reduces input tokens before inference while preserving answer-critical evidence. It is open source, runs on CPU, and is available as a hosted API and Python package.

SuperCompress

Overview

SuperCompress is a query-aware context compressor for LLM applications. It sits between your app and the model, reducing input tokens before inference by selecting the parts of a prompt that are most relevant to the user’s current question.

The product is designed for long-context workflows such as chatbots, RAG pipelines, support copilots, AI search, and agent loops. The source describes it as open source under MIT, CPU-only, and around 5K parameters, with a hosted API and a local Python package available for use.

Features

Query-aware context compression

Scores prompt segments against the current user question and removes context that is less relevant to answering that query.

Pre-inference prompt preprocessing

Supports chat history, RAG chunks, support transcripts, tool traces, logs, and other long-context inputs before the model call.

Compression reporting and diagnostics

Returns token counts, tokens saved, kept percentage, and a compression risk level so teams can review the impact before rollout or in logs.

Hosted and local workflows

Provides a hosted API and a local Python package, with curl, JSON, and form-encoded request options shown in the docs.

Dashboard and test workflow

Includes an interactive playground and dashboard for trying contexts, creating keys, and viewing metered usage.

Integration guidance

Documents integration paths for OpenAI, LangChain, Express.js, Vercel AI SDK, and local model calls.

Use Cases

  • Chatbots and conversational AI

    Shorten chat history and repeated conversation state before sending each request to a model, helping consumer AI apps control token growth over time.

  • Retrieval-augmented generation

    Compress retrieved passages and document chunks in RAG pipelines so the model sees the most relevant evidence without overshooting the context window.

  • Support copilots

    Reduce support transcripts, ticket history, and knowledge base excerpts before copilots and agent tools call the LLM.

  • Agent loops and tool traces

    Trim tool traces, intermediate outputs, and logs that accumulate across turns in agent workflows.

  • Prompt compression evaluation

    Test the product against your own prompt, compare original and compressed context, and inspect what was kept or removed before rollout.

Pros and Cons

Pros

  • Targets token cost and latency before the model call rather than after generation.
  • Preserves answer-critical evidence instead of blindly truncating the tail of the context.
  • Works on CPU and does not require a GPU.
  • Offers both hosted and local usage paths.
  • Provides measurable output fields such as tokens saved and important-kept percentage.

Cons

  • The pricing page was not available in the collected source, so public plan details are limited to the dashboard.
  • The documentation shows both compiler mode and fixed-ratio mode, which may require users to choose the right workflow for their use case.
  • The source does not provide extensive deployment, security, or team-administration detail beyond the dashboard and docs.

FAQ

How do you use SuperCompress?

SuperCompress can be used either through the hosted HTTP API or through the Python package. The docs show a quick start with the API key in the dashboard and examples for Python and curl.

Does SuperCompress run locally or only as a hosted API?

The documentation says SuperCompress works in compiler mode on the hosted API, while the local Python package supports compression functions such as compress_context(), compress_for_turn(), and compress_detailed().

What tools and model stacks does it fit with?

The source lists OpenAI, Claude, Gemini, and local model calls as supported targets, and the docs mention integrations for OpenAI, LangChain, Express.js, and the Vercel AI SDK.

What does the output include?

The documentation describes a query-aware compiler that compresses context before inference, with output fields such as compressed text, tokens saved, important-kept percentage, and compression risk.

Is there pricing information available?

The docs say the hosted API is metered through the dashboard and that the plan limits are monthly token limits. A pricing page was not available, so only the dashboard plan labels are visible in the source.

Quick Facts

Category
Developer Tool
Product type
Query-aware context compressor for LLMs
Platform
Hosted API and Python package
Runtime
CPU-only; no GPU required
License
MIT
Source domain
supercompress.dev

Альтернативы SuperCompress

AakarDev AI icon

AakarDev AI

AakarDev AI helps teams manage AI provider access, project-level setups, logs, and analytics from one dashboard. It supports BYOK workflows and lists providers including OpenAI, Google Gemini, Anthropic, Groq, Mistral AI, and Perplexity AI.

CreateOS Sandbox icon

CreateOS Sandbox

CreateOS Sandbox is an isolated compute environment for running code and agent workloads inside Firecracker micro-VMs. It is designed for workflows that need machine-level isolation, private networking between sandboxes, and programmatic control through SDK, CLI, or MCP.

Arduino VENTUNO Q icon

Arduino VENTUNO Q

Arduino VENTUNO Q is an edge AI computer for AI and robotics applications. It combines AI inference and deterministic control on a single board and is designed to work with Arduino App Lab.

ByteAsk icon

ByteAsk

ByteAsk is a terminal-first AI coding agent for C and C++ that edits repositories and verifies changes with the real compiler, debugger, sanitizers, and tests before showing a diff. It offers a free tier plus paid plans, with editor connectors and zero-retention handling described in the source.

Codex Plugins icon

Codex Plugins

Codex Plugins bundle reusable skills, app integrations, and MCP servers into workflows you can install in the Codex app or use from Codex CLI. They help extend Codex with connected-service tasks, reusable instructions, and shared team workflows.

hob icon

hob

hob is an independent workspace for coding agents that keeps agent sessions, terminals, history, and follow-up work organized around the tools and providers you already use. It is aimed at developers who want local control over routing, history, and workspace structure rather than a bundled model stack.