LOCALDEVTOOLBOX / PROBLEM / REDUCE-PROMPT-TOKENS

Reduce prompt tokens — trim the words, keep the meaning

Prompts grow by accretion: polite filler, restated context, copy-pasted blocks. Paste your prompt and trim it with live savings per fix — locally.

Est. tokens0
After trims0
Saved0

What bloats prompts the most?

Trim without breaking the prompt

Cut words, never constraints. "Answer in German, max 5 bullets, no code" is cheap and load-bearing — keep it. The filler around it is what costs you.

Trimming your side of the conversation is only half the battle — if the context is logs, JSON or stack traces, use the context optimizer which dedupes and compacts data too.