A Picture is Worth a Thousand Tokens: A Practitioner’s Guide to Visual Token Compression
Abstract
Vision-Language Model (VLM) inference is ex- pensive, and token count is the dominant cost driver as context lengths grow. This bottleneck is acute for question-answering pipelines, where multi-turn dialogue, retrieved documents, and tool outputs inflate prompts to thousands of tokens per call. A recent line of work proposes rendering text as images, reporting 3–4×fewer tokens than the equivalent text, but accuracy costs on down- stream QA are severe and uneven across models. We investigate this discrepancy both theoretically and empirically. A cost model grounded in BPE and ViT tokenization identifies three governing factors: rendering resolution (DPI), the model’s optical resolution limit, and the provider’s image- token formula. Across five production VLMs (Claude Sonnet 4.6, Claude Opus 4.6, Llama 4 Scout 17B, Qwen3-VL-235B-A22B, Gemma 3 27B PT), we measure OCR accuracy, extractive conversation QA over four content types, and cross-modal document retrieval. Only two of five models (Claude, Qwen) benefit from visual en- coding, achieving 3–5×compression at 43–77% exact match; the remaining three either charge more tokens for images than text or cannot read the rendered content. An intelligent hybrid that keeps identifiers as text and renders structural con- tent as images recovers exact-match accuracy to 87–89%. We distill these findings into a deploy- ment triage that lets practitioners decide, without re-running experiments, whether visual encoding will help for a given model, content type, and QA-accuracy requirement.