Prompt Compression

  • Last Updated 5 April, 2026
  • by David Spuler, Ph.D.

What is Prompt Compression?

Prompt compression is the shortening of LLM prompts automatically so that they contain fewer tokens and can be processed more efficiently. This isn't used on short user queries, but there are many other parts of a prompt that are longer, such as the entire conversational history, retrieved documents, or other types of "context" for the prompt. For this reason, this technique is often called "context compression" or "token reduction".

Releated research areas include:

Research on Prompt Compression

Research papers include:

More AI Research Topics

Read more about: