Pixels for Programs? A Cross-Provider Case Study of Input-Token Accounting for Source Code as Text and Images
23 Jul · Ronak Bhalgami · arXiv:2607.21672
Long source-code contexts consume many text tokens, motivating the proposal to render code as images for vision-language models. Recent work asks whether models can still solve code tasks after this transformation. We examine a different systems question: how commercial APIs count the resulting requests. We present a reproducible measurement case study of provider-reported input tokens for raw source text and a…