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.
exact token counts both sides · line diff · cost delta per model · worker-only, nothing leaves the tab
Cost delta models (up to 4)
1 selected. Deltas are exact nano-USD at the registry rates, zero output tokens.
- 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.