Pixels for Programs? A Cross-Provider Case Study of Input-Token Accounting for Source Code as Text and Images

Rendering code as images can cut input-token counts by up to 86%, but Gemini charges nearly 7x more for it at scale.