Prompt Compression

Quick definition

Reducing the length of prompt context while preserving information needed for a task.

Reducing the length of prompt context while preserving information needed for a task.

Compression trades token savings against the risk of dropping details that matter for accurate answers.

Example: A system summarizes earlier conversation turns before sending a new query.

Common use cases: Long-running assistants and token-cost control.

Examples

  • A system summarizes earlier conversation turns before sending a new query.

Use cases

  • Long-running assistants and token-cost control.

Frequently asked questions

What is Prompt Compression?

Reducing the length of prompt context while preserving information needed for a task.

What should I know about Prompt Compression?

Compression trades token savings against the risk of dropping details that matter for accurate answers.

Categories and tags