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.
Concept explanation~2 min read
Everything you need to truly understand this topic: intuition, mechanics, step by step explanation, code, formulas, and worked example. Click to expand.
Concept explanation~2 min read
Everything you need to truly understand this topic: intuition, mechanics, step by step explanation, code, formulas, and worked example. Click to expand.
Engineers new to multimodal work tend to picture an image slotting into a prompt as cheaply as a sentence. The reality is the opposite, and this question exists to surface that gap. The answer the interviewer wants connects a mechanism (how an image becomes tokens) to a production decision (how to budget resolution).
The reason this is a tradeoff and not a fact to memorize is that both sides genuinely bite. Low resolution loses real information that some tasks depend on. High resolution costs real latency and money on every request. There is no setting that is correct for all inputs, which is exactly why it is an engineering decision.
This walkthrough quantifies why an image is expensive, traces the cost past the price sheet into prefill and the KV cache, frames the resolution tradeoff honestly with its diminishing returns, and lays out the budgeting and routing patterns that teams use to manage it. The thread throughout is that resolution is a cost knob, and senior engineers tune it on purpose.
Why one image dwarfs a text prompt
Start with the asymmetry. Text arrives already tokenized: a typed question of a dozen words is maybe 30 tokens, and the model attends over them directly. An image has no native tokens. The vision encoder has to manufacture them by patchifying the image and emitting a fixed block, typically a few hundred vision tokens for one base-resolution pass.
Then tiling multiplies it. A single encoder pass downscales the image, which throws away fine detail. To read small text and dense charts, modern VLMs tile: they split the image into a grid, encode each tile separately, and add a downscaled global view. Each tile is its own block of a few hundred tokens. A high-resolution document tiled into a 3x3 grid plus a global view is ten blocks, easily two to three thousand tokens.
Line the two up. The user types a 30-token question and attaches one document image worth 2,560 tokens. The image is roughly 85x the cost of the text it accompanies. That ratio is the heart of the question. Anyone who answers that an image costs about the same as a short prompt has the wrong mental model by two orders of magnitude, and that is the single most important thing to get right here.
Situations where this technique stops working.
2–4 min · Everything important, quickly.
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.
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?
Tiling covers a 2D area. Doubling linear resolution roughly quadruples the number of fixed-size tiles needed, so the per-tile token blocks, and the cost, quadruple too.
Red flags & common mistakes
The phrases that signal junior thinking. Click to expand.
Red flags & common mistakes
The phrases 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.
60 second bullets to scan on the way to the call.
Why does one image cost hundreds to thousands of tokens while a text query costs a few dozen?
How does tiling multiply the token count beyond a single encoder block?
Primary sources. Browse if you want the original framing.
Same topic, related formats. Practice these next.