Token Efficiency Encyclopedia

Prompt Summarization

Replace a long passage with a shorter paraphrase. Higher quality than truncation but adds latency from an extra model call.

How It Works

A dedicated compression model or the target model itself (in a pre-pass) reads the long content and produces a condensed version preserving the key facts, decisions, and state. The summary replaces the original content in the prompt.

What to Summarize

Trade-offs

See Also

Tools