Prompts can be compressed to save cost and reduce latency. Algorithms like LLMLingua use smaller language models (like LLaMA-7B or GPT-2) to compute token perplexity.
By dropping low-perplexity tokens (grammatical filler, redundant adjectives, predictable words), these tools can compress prompts by up to 50-80% without losing quality.