r/ClaudeCode • u/BrandonIngram1 • 2h ago
Tips & Workflows Reducing usage for bulk reading / data extraction
Hey guys,
Basically I am using Claudecodd as a tool for some bulk reading of PDF files up to several hundred per day with additional data extraction from these files.
As a result I’m finding that Claude code is chewing through my daily and weekly usage extremely fast.
I was wondering if anyone had any advice on some basic or more technical tips to reduce the usage impact that having Claude read large amounts of text while still maintaining accuracy
8
Upvotes
•
u/AutoModerator 2h ago
Hey! Thanks for posting to r/ClaudeCode
While participating in this thread, please follow our community rules. Keep discussions constructive. Attack the idea, not the person.
For help, project discussions, tips, and general chat, join the ClaudeCode Discord.
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.
3
u/Blinkinlincoln 2h ago
If they're in good quality have it write scripts to extract. There's packages to turn pdf info markdown. Save it. Ask haiku to summarize pieces of text.
Also, just use zotero as a reference manager. It can hold all your PDFs and tag them. There's an MCP for Claude to be able to read pieces or full text. There's even a sweet browser connector for chrome. Hope this helps.
2
u/NoScene7932 1h ago
train a model to do this - happy to help you do this for free if you shoot me a dm
1
u/waitwhat1200 1h ago
Use haiku for reading pdf files.
1
u/ae_mero_hajur 1h ago
Sonnet is just too good right now. It can even handle most heavy design and coding works without consuming much usage like opus or Fable.
1
u/CandidSystem6155 1h ago
Most of the usage probably isn't the reading itself but the session rereading its own context every turn. When we measured ours, reading was around 170x the tokens the model actually wrote. So the big win is not feeding hundreds of PDFs into one long session: convert them to text with a script first (pdftotext or similar), then run one fresh headless call per file (claude -p) with just that file's text and the fields you want back, so nothing piles up.
Same idea for the rest of the pipeline: fetching, splitting pages, parsing and counting go into the script, and the model only does the part that needs judgment. Our rule is that if you ran the same command chain twice by hand, it becomes a script.