where ∆G is the reaction free energy (uncorrected for a redox reaction, and solvation-corrected otherwise). The total cost of a reaction pathway is the sum of the costs of the individual reactions. We note that, because all reactions included in our network are exergonic, the constant term tends to dominate, though this cost function retains a preference for highly exergonic reactions over those that are only slightly exergonic.