SuperCompress
Benchmarks Agents Blog Changelog Docs Get API key Log in Playground GitHub
SuperCompress on Product Hunt

Cut your LLM API Costs by 65%.

For teams running chat, RAG, support, or coding agents. SuperCompress removes low-value context before inference—so your models do more with the tokens you already pay for.

1M free tokens/mo · then $0.30/1M · no credit card

SuperCompress launch video preview

Prompt compression · RAG context · chat memory · CPU-only policy

Consumer AI apps send chat history, retrieved docs, tool traces, and user context on every request. That context drives LLM API cost, latency, and context-window pressure before the answer is generated. SuperCompress runs before inference, selecting the context most relevant to the current user request. Use it for chatbots, AI search, support agents, copilots, RAG, and any feature where context grows with users.

EXAMPLE: LONG CONVERSATION20,814 TOKENS
const result = await compress({
  model: "supercompress-v1",
  input: conversation,
  preserve: "meaning",
  target_reduction: "max"
})
// → 4,210 tokens (82% smaller)
UP TO 0%

Smaller Prompts

Drastically reduce tokens while keeping what matters.

HIGH 0%+

Meaning Retention

State-of-the-art retention across real-world tasks.

FAST 5–20ms

CPU Inference

Runs locally. No GPU required.

BUILT FOR DEVELOPERS

Control AI Feature Cost
Before the Model Call

Meaning-First Compression

Retains critical information, intent, and structure—so your models stay effective.

Drop-In Simple

Use our API or SDK in minutes. Works with OpenAI, Anthropic, Mistral, and more.

Private by Design

Your data stays yours. Local inference option and enterprise-ready deployments.

HOW IT WORKS

Compress before
the model call.

  1. 01 Ingest Chat, RAG hits, tool traces
  2. 02 Score Relevance vs current ask
  3. 03 Keep Meaning-first retention
  4. 04 Ship Fewer tokens to inference

Context arrives oversized — history, docs, and traces piled into one prompt.

BENCHMARKED TO MATTER

Better Compression.
Better Outcomes.

SuperCompress outperforms leading baselines across real-world datasets and tasks.

View all benchmarks
MODELAVG. COMPRESSION
(LOWER IS BETTER)
MEANING RETENTION
(HIGHER IS BETTER)
SPEED (CPU)
(MS / 1K TOKENS)
gpt-4o-mini (summary) 42% 86.1% 210ms
claude-3-haiku (summary) 47% 83.7% 215ms
llama-3.1-8b (embed) 33% 78.9% 95ms

Evaluation on LongChat, GovReport, and MultiDoc QA. Lower is better for compression & speed. Higher is better for retention.

curl /api/v1/compress \
  -H "Authorization: Bearer $SC_LIVE_..." \
  -H "Content-Type: application/json" \
  -d '{
    "model": "supercompress-v1",
    "input": "$(cat conversation.txt)",
    "preserve": "meaning",
    "target_reduction": 0.8
  }'
// Response
{
  "compressed": "...",
  "original_tokens": 23014,
  "compressed_tokens": 4220,
  "reduction": "82%",
  "retention_estimate": "94%"
}
SuperCompress SuperCompress

Every coding agent. One compression layer.

CODING AGENT PLUGIN · MCP-FIRST

One Install. Every Agent.
Fewer Tokens.

Auto-detect Cursor, Claude Code, Codex, OpenCode, Windsurf, and more. The MCP plugin compresses huge dumps before they burn tokens — keep your normal login.

Or without a global install: npm install supercompress-proxy then npx supercompress setup.

$npm install -g supercompress-proxy
$npx supercompress setup
  • ✓ Detects 48 integrations
  • ✓ MCP plugin installed
  • ✓ Works with login — no API-key mode

USE CASES

Use Cases That
Compound

From agentic coding to document-heavy work, meaning-first compression helps teams do more with less—without losing what matters.

Coding Agents

Compress task history, repo context, tool traces, and diffs so agents reason farther inside the same context window—and spend less per turn.

  • Shrink multi-file diffs before the model call
  • Keep plans + decisions, drop stale tool noise
  • Works as an MCP plugin across Cursor, Claude Code, Codex

Long Conversations

Keep long chats useful and coherent. SuperCompress retains the decisions, constraints, and facts that drive better answers—not every filler turn.

  • Lower cost on multi-hour support or sales threads
  • Preserve user preferences and prior commitments
  • Reduce latency as history grows

RAG & Search

Retrieved chunks often drown the query. Compress retrieved context so the model sees the evidence that matters for the current ask.

  • Cut redundant passages across top-k results
  • Keep citations and key claims intact
  • Fit more evidence into the same budget

Support Copilots

Ticket history, macros, and knowledge-base hits add up fast. Compress before generation to keep replies accurate without burning tokens.

  • Prioritize current issue + account state
  • Drop repeated boilerplate from prior tickets
  • Ship faster replies at lower per-ticket cost

Document Workflows

Specs, tickets, research notes, and PRDs are dense. Compress for reviews and synthesis while retaining requirements and decisions.

  • Faster design and compliance reviews
  • Keep must-have constraints and open questions
  • Pair with human-in-the-loop editing

Production Inference

Reduce token usage and latency in live apps while preserving output quality. Run locally on CPU or deploy beside your API gateway.

  • 5–20ms local compression path
  • Drop-in before OpenAI, Anthropic, and more
  • Meaning retention built for product workloads
SuperCompress

Ship AI features with
lower per-request cost.

1M free tokens/mo · then $0.30/1M · no credit card. Prompt compression for chat, RAG, support, and coding agents.