Your files stay on your device

Prompt Diff: Token and Cost Delta Between Two Prompts

Before/after prompts with exact token deltas, a line diff, and the cost change per model.

Before
the original prompt
After
the revised prompt
Encoding and models
Cost delta models (up to 4)

1 selected. Deltas are exact nano-USD at the registry rates, zero output tokens.

Rules this tool follows
  • Both sides counted exactly with the selected encoding. No chars-÷-4 estimates anywhere on this page.
  • The line diff reuses the audited text-diff engine; tokenization runs in the AI family worker so vocabulary tables never enter the page.
  • Cost deltas use the dated registry rates at zero output tokens: they isolate what the prompt change alone does to the input bill.
  • Each side is capped at 60,000 characters; prompts do not leave this tab.
Nothing in yet

Paste, drop, or type to begin. Everything stays on this device.