Why images are expensive to process in a VLM, and the core tradeoff that creates
Explain why feeding images to a vision-language model costs far more than feeding the same query as text, and name the central tradeoff a team has to manage because of it.
One image becomes hundreds to thousands of vision tokens that go through prefill like text, so the central tradeoff is resolution: more tiles buy fine-detail accuracy but cost latency and money every request.
Imagine you pay a reader per page they read. A short typed question is a single page, quick and cheap. But an uploaded photo is not one page. The model slices it into many little pieces and, if you ask for high detail, slices it into even more pieces so it can read the fine print. Suddenly that one photo is hundreds or thousands of pages, far more than your typed question. The reader has to flip through every page before answering, which takes time and costs money. So the big decision is how finely to slice each image. Slice it coarsely and you save pages but might miss small text. Slice it finely and you catch the detail but pay for all those extra pages.
Detailed answer & concept explanation~6 min readEverything you need to truly understand this topic: intuition, mechanics, step by step explanation, code, formulas, and worked example. Click to expand.
Everything you need to truly understand this topic: intuition, mechanics, step by step explanation, code, formulas, and worked example. Click to expand.
Everything you need to truly understand this topic: intuition, mechanics, step by step explanation, code, formulas, and worked example.
Everything important, quickly.
Explain that an image expands into hundreds to thousands of vision tokens that prefill like text, name the resolution versus cost tradeoff with its prefill and KV-cache consequences, and close on per use case token budgeting.
Real products, models, and research that use this idea.
- OpenAI GPT-5.5 high-detail images are priced as a base block plus per-tile blocks, so a full-page scan costs many times a thumbnail.
- LLaVA-NeXT AnyRes tiling expands a high-resolution image into multiple per-tile token blocks plus a global view, the canonical open-source version of this cost.
- Qwen3-VL dynamic resolution scales visual tokens with input size, so teams cap resolution per use case to control prefill cost and latency.
What an interviewer would ask next. Try answering before peeking at the approach.
QWhy does the resolution versus cost relationship scale roughly with the square of resolution?
QBeyond the per-token price, what makes a high-token image expensive on a serving fleet?
Don't say thisRed flags and common mistakes that signal junior thinking. Click to expand.
Red flags and common mistakes that signal junior thinking. Click to expand.
Thinking an image costs about the same as a short text prompt. One image routinely costs hundreds to thousands of tokens, dwarfing the user's typed query.
The night-before-the-interview bullets. Scan these on the way to the call.
Primary sources. Skim if you want the original framing.
Same topic, related formats. Practice these next.