Feeding text as images makes Qwen, GLM and Kimi-K3 think longer
Turning a long document into pictures cuts the input a model reads, but four reasoning models then wrote 1.5 to 3.5 times more output. For two of them, the image route ended up costing more than plain text.
scienceunderway.com/articles/feeding-text-as-images-makes-qwen-glm-and-kimi-k3-think-longer

AI illustrationWhat the study shows
A recent idea for cutting the cost of long documents is to render the text as images and let a vision-language model, an AI that reads both pictures and text, read the pixels. A page of text then costs fewer input tokens, the units models are billed by. This preprint, by a single author at Bitdeer Technologies Group, asks what happens to the output side. It has not been peer reviewed.
The author tested five models: Qwen3.8-27B, GLM-5.3-Flash, Kimi-K3, DeepSeek-V4.1-Flash and Glyph, a model trained for this kind of compression. Each was compared with itself reading the same document as plain text. The main tests used QuALITY, a set of about 2,000 multiple-choice questions on long articles, and 14 English parts of the LongBench long-document benchmark.
Once rendering was tuned to keep accuracy close to text, the images cut input by only about 1.1 to 2 times. But the four general models then produced 1.5 to 3.5 times more output tokens. The author calls this the 'decode tax'. Even Glyph, trained on rendered text, wrote about 13% more.
The author reports the net bill assuming output tokens cost five times as much as input tokens, a common price ratio. On QuALITY, images cost 17 to 55% more than text for Qwen and GLM. They cost 10 to 15% less for Kimi-K3 and DeepSeek. On LongBench, Kimi-K3's saving almost vanished because one counting task triggered very long runs of reasoning.
The extra thinking does not seem to come from text lost in rendering. Qwen's own transcription of the images recovered about 99% of the words. When Kimi-K3 was given its own transcript as plain text, its accuracy and reasoning length went back to text levels.
Most of the extra reasoning, about three quarters or more, happens before the model settles on its answer. So methods that stop a model once its answer is fixed would trim only a small part. Image-mode output also has a heavy tail: the longest 10% of responses held more than half of all image-mode output tokens.
The author tried many cheap signals for predicting, before the model runs, which questions would suffer. None worked well. The best working policy sends long, well-compressed documents to images, then switches to text once image-mode reasoning has used up that document's input saving. On Kimi-K3 and DeepSeek it cut the bill by 6 to 14% for a loss of about 0.3 to 1.2 accuracy points. On QuALITY, simply asking the model to keep its thinking short worked better.
With rendering moved onto the server, the image path was as fast as text before the first token and per token. End to end it was still about 2.2 times slower, purely because it wrote more. The switch-to-text policy cut this to about 1.3 times.
Our reading
In our reading, the main contribution is an accounting correction. Much work on optical compression counts the tokens that go in. This paper shows that for reasoning models the tokens that come out can cancel those savings. The result depends heavily on the model: two of four general models lost money, two saved a modest amount.
The paper's break-even rule is useful because it is simple. Compression pays only if the input saving, weighed against how much longer the model thinks, beats how much output a workload already produces per unit of input. Models that already reason at length on text, as Qwen and GLM did here, start from a worse position. The author is clear that this is a way to read measured results, not a forecast for new workloads.
On our readiness scale this is level II, benchmarked. Results come from public benchmarks with same-model text baselines and confidence intervals. No code, rendering pipeline or run logs are released, and nothing was tested on live traffic.
The rest of this story is for members. Membership is free: read it at scienceunderway.com/articles/feeding-text-as-images-makes-qwen-glm-and-kimi-k3-think-longer
Read the rest of this story
Membership is free. You get every article in full, and can save stories and follow topics.
We send a sign-in link, no password needed. Already a member? Sign inReadiness assessment
| Level | Status | Evidence |
|---|---|---|
| I Lab only | Met | The study runs controlled experiments on five VLMs with the method and analysis fully described. |
| II Benchmarked | Met | Results are reported on public benchmarks: QuALITY (2,086 questions), 14 LongBench English subsets, full Qasper, GovReport and QMSum test sets, and RULER QA to 128k, with bootstrap intervals and same-model text baselines. |
| III Open source | Not yet | The paper links no code, rendering pipeline, prompts or run outputs. It cites only the public weights of the evaluated models. Server-side rendering and the fallback router are described but not released. |
| IV In production | Not yet | No documented use by a named organisation in production. The fallback policy was tested only offline on benchmark runs and assembled latency streams. Cancellation and retry overhead was not measured. |
What would move it up
Releasing the code (renderer, server-side rendering patch, fallback router, evaluation scripts) and the per-question run logs would reach level III. Level IV needs a named team running the image-first policy on live traffic, with real bills and latency under batching and caching. Re-testing with held-out tuning, other models and agentic or code tasks would also help.
The study
Ziqing Ge. When Does Optical Context Compression Pay Off? A Decode-Aware Cost Analysis of Reasoning VLMs. arXiv, 23 November 2026. Read the paper
Notes
- Ziqing Ge, 'When Does Optical Context Compression Pay Off? A Decode-Aware Cost Analysis of Reasoning VLMs', arXiv preprint 2611.30130, November 2026. Not peer reviewed. Source
- No code or data release is linked in the paper.
- Key figures: input compression 1.13 to 1.97 times; output growth 1.5 to 3.5 times on four general models; normalised bills at w=5 on QuALITY: Qwen 1.256 (19 px), GLM 1.171 and 1.334, Kimi-K3 0.852 to 0.871, DeepSeek 0.898 (0.833 at its list ratio w=4). Kimi-K3 LongBench bill 0.985.
- OCR round trip on Kimi-K3: accuracy 94.66% (transcript as text) vs 94.79% (text) vs 92.41% (image); output length 0.97 times vs 2.09 times text.
- Fallback policy: send to images if text input exceeds 4,000 tokens and per-input compression is at least 1.6; abort to text when image reasoning exceeds (text tokens minus image tokens) divided by the price ratio. Bills 0.860 to 0.935 at accuracy changes of minus 0.27 to minus 1.20 points (Table 9).
- Latency at concurrency 1 with server-side rendering: image path 2.16 times (Kimi-K3) and 2.23 times (DeepSeek) slower end to end than text; fallback 1.35 and 1.31 times.
Edited and signed by
Stefan PerdalEditor and publisher143 stories editedStefan read the study, set the readiness level and approved this story. An AI system found the paper and wrote the first draft.
How this was made
An AI model read the study and wrote this article in the structure Science Underway uses. An editor reviewed it and approved it for publication. Check the original study before you rely on the details.
How we workNo corrections


