← sources

DensePack cuts the price of whole Claude Code sessions by 45.0% to 52.8% with Opus 5.5, and 58.9% to 70.8% with a Sonnet subagent. It's like getting an ultra plan for max plan cost.

source: reddit (reddit:ClaudeAI)published 2026-11-17 04:28ingested 2026-11-18 02:37

retained text

[https://github.com/Fabian-Galvez/DensePack](https://github.com/Fabian-Galvez/DensePack)

  
I'm only shilling this because it works magnificently and it's free. I've found it like having $200 plan for $100. 

Can Claude read text in an image?
Yes, Fable, Opus and Sonnet read text in images.

Why does an image of text cost fewer tokens than raw text?
Images cost 1 token for each square of 28 by 28 pixels, no matter how much text or color the square contains. Text costs 1 token for about 2.4 characters of Python and about 3 characters of English prose. DensePack letters are about 10 by 17 pixels, so the same text fits in an image at about half the tokens.

File	Image size	Text tokens	Image tokens
Markdown prose, 115 lines	728 x 952 px	1,855	886
Python script, 116 lines	896 x 728 px	1,859	834
How much do I save?
On the benches in Savings, DensePack 2.0.3 saved 45.0% to 52.8% of the whole session with Opus 5.5. With an Opus 5.5 main agent and a Sonnet 5.5 subagent, it saved 58.9% to 70.8%.

Longer sessions that read many files save more, because Claude Code sends each image again with each later request.

  
**Is DensePack an exploit that AI companies will shut down?**

No, DensePack sends normal images through the Read and Bash tools of Claude Code. Anthropic bills each image by its [published formula](https://platform.claude.com/docs/en/build-with-claude/vision): one input token for each block of 28 by 28 pixels.

* Images and text have the same price per token. One 28-by-28 block contains several letters, which is why the same text costs about half the tokens as an image.
* The images contain only the text of your files and command output. Instructions inside them are file content, the same as in a text Read, not orders from you.
* Sonnet, Opus and Fable do not run a harmful command because an image contains it.
* DensePack never approves a tool call. Claude Code still asks for your permission and stops destructive actions the same way.
* Models read images better with each release. Haiku 4.5 got about 10% right from images, and Haiku 5.5 about 95%, so DensePack gets better with no update.

document fetched 2026-11-18 00:23 · canonical https://reddit.com/r/ClaudeAI/comments/1xyb2wn/densepack_cuts_the_price_of_whole_claude_code