Pasting big logs and files into Claude: what it costs your limit
Pasting a full log, stack trace or document into Claude feels free. It is not: that text stays in the chat and is read again on every reply after it.
Why a paste costs more than once
Claude re-reads the whole conversation each time it answers. A 2,000-line log pasted at message 5 is read again at message 6, 7, 8 and onwards, so its cost keeps adding up for as long as the chat continues.
How to trim before you paste
- Keep the error and the lines just before it, not the whole run.
- Remove repeated lines: a warning printed 500 times only needs to appear once with a count.
- Cut blank lines and long runs of similar output.
- For documents, paste only the section you are asking about.
When you need the whole file
If Claude really needs everything, start a new chat for that task so the big paste does not ride along with unrelated questions later.
Trimmed automatically
Lighter, a free Chrome extension for claude.ai, notices a big paste and offers a shorter version first: repeats collapsed, blank runs removed, the important lines kept. In one test, a 2,000-line log went from about 50,000 tokens to about 6,400. It all happens on your computer.