Removing filler, duplication, and low-value context from prompts.
Prompt trimming deletes redundant instructions, duplicated context, and verbose formatting before sending a request. It reduces input tokens without changing the model.
Trimming is free to try and compounds with caching: fewer tokens to send and fewer tokens to cache.