Best practices

When to use prompt compression

Prompt compression is not always the right answer. Here is a decision framework to help you determine when to compress and when to skip.

By Arjun Shah - Creator of SuperCompress - Updated 2026-07-03

Compress when:

Skip when:

Frequently asked questions

Should I always compress RAG contexts?

Yes. RAG contexts are the highest-ROI target for compression due to their size and noise level.

Should I compress few-shot examples?

Not usually. Few-shot examples are carefully chosen and typically small. Compression is more valuable on large context blocks.

Build with less context

Put compression in front of your next LLM call.

Use the hosted API or run SuperCompress locally. Keep the evidence, drop the token waste, and measure the savings before it reaches your model.

Get an API keyRead the guide