Paper proposes 'software thermodynamics' to quantify token costs in coding agents
Theory divides agentic coding costs into 'work' and 'heat,' estimating free energy and inefficiencies in agentic workflows.
1 source · cross-referenced
- Introduces a theory of 'software thermodynamics' to model token costs in coding agents as work and heat.
- Finds about 80% of tokens in successful runs are 'heat'—model calls that do not change the repository state.
- Estimates free energy of a code change at 14–22% of the mean cost of a successful run.
- Shows coding costs 1.1 to 1.5 times more than uncoding in controlled cycle experiments.
A new paper introduces a theory of 'software thermodynamics' to quantify the costs of coding agents, framing token usage as analogous to energy in classical thermodynamics. The authors define token costs as composed of 'work'—productive changes to a codebase—and 'heat'—token expenditure that does not alter the repository state. The theory is tested using a cycle of 'coding' and 'uncoding' changes to a repository, where the spread of token costs over repeated cycles defines a 'software temperature' that correlates with the model's sampling temperature.
The study estimates that about 80% of tokens in a successful run are 'heat,' i.e., generated by model calls that leave the requested change unchanged. The free energy of a code change, estimated by analogy with Jarzynski's equality, is reported as 14 to 22% of the mean cost of a successful coding run. Additionally, the paper finds that coding costs 1.1 to 1.5 times as much as uncoding in controlled experiments.
The authors describe the test suite as a 'software Maxwell's daemon' that judges each coding change, noting that the daemon's verdict can vary with its environment. A flawed test suite that accepts a broken change incurs token costs, highlighting the sensitivity of agentic workflows to evaluation quality.
The practical implication of the theory is the potential for new tools to analyze and optimize coding agents through a thermodynamic lens, offering a quantitative basis for improving efficiency in agentic software engineering.
- Dec 3, 2026 · Google DeepMind — Blog
Genie 4 released with real-time world editing, native audio, and a community gallery
Trust79 - Dec 3, 2026 · arXiv cs.AI
Paper argues human-AI mutualism breaks down as AI capabilities grow without alignment
Trust79 - Dec 3, 2026 · arXiv cs.AI
Introspective oversight method trains models to audit their own behavior with 0.907 AUROC in held-out evaluations
Trust79