Snapcompact renders context as pixel-font bitmaps, cutting LLM input costs ~2x

brandon_galang · x · 2026-09-15

Can Bölük published Snapcompact: when the context window fills up, render the whole context into dense pixel-font bitmaps and pass them back as images. A 1568×1568 PNG holds 40k chars (10k text tokens) billed as only 3,279 image tokens — roughly 1/3 the input price — and models read it back near-verbatim.

Benchmarks:

Free, local, instant — a practical cost optimization for long agent runs.

Original post →

More from coding & agent

coding & agent channel →