Claude Code demo

See the savings on your own file.

Paste one prompt into Claude Code. It installs compresr, asks for a document + question, and prints a cost receipt with real numbers. ~60 seconds, no code required.

prompt.txt
Use compresr to show me live cost savings on my own file.

1. pip install compresr
2. Introspect the SDK to discover the API — don't guess.
3. Ask me for COMPRESR_API_KEY (open https://compresr.ai/signup if I don't have one — $10 free, no card).
4. Ask me for (a) a path to a long document (PDF/.md/.txt) and (b) a question about it.
5. Compress the document with the question, then print a receipt: tokens in/out, ratio, GPT-5.2 cost full vs compressed at $1.75/M input tokens, % saved.
6. Ask GPT-5.2 the question against the compressed context and print the answer.

Don't skip the cost receipt — that's the point.
1Copy the prompt

Hit the green button above.

2Paste into Claude Code

It'll install compresr and ask for your doc + question.

3Read the receipt

Tokens in/out, compression ratio, % saved. Real dollars.

Works in Claude Code, Cursor, or any agent harness that can run shell commands.