LLMPrice.io
Free · nothing uploaded · no signup

Make the same prompt cheaper.

Paste a prompt and get a tighter one back: conversational filler stripped, duplicate context removed, static instructions moved first so prompt caching can bite. The token counter is built in: your prompt is counted as you type, with before and after totals and projected savings at your scale. Everything runs in your browser; your prompt never leaves your device.

Examples:
500 input tokens (sample estimate, paste text for a real count)
Expected response length
Scale

What the optimizer actually does

Three passes, all mechanical and all visible in the before and after: whitespace and filler phrases are stripped, repeated context blocks are collapsed to one, and the prompt is reordered so static instructions come first and dynamic variables last, which is the structure prompt caching discounts require. It never rewrites your meaning, and it shows its work.

The method behind it is written up in the prompt optimization guide. To price the optimized prompt across every model at your scale, use the cost calculator.

Related: How prompt caching cuts the input bill · Token counter · Estimate a whole project →