Variation in chemical energy, that is food availability, is posited to cause variation in body size. However, examinations of the relationship are rare and primarily limited to amniotes and zooplankton. Moreover, the relationship between body size and chemical energy may be impacted by phylogenetic history, clade-specific ecology, and heterogeneity of chemical energy in space and time. Considerable work remains to both document patterns in body size over gradients in food availability and understanding the processes potentially generating them. Here, we examine the functional relationship between body size and chemical energy availability over a broad assortment of marine mollusks varying in habitat and mobility. We demonstrate that chemical energy availability is likely driving body size patterns across habitats. We find that lower food availability decreases size-based niche availability by setting hard constraints on maximum size and potentially on minimum size depending on clade-specific ecology. Conversely, higher food availability promotes greater niche availability and potentially promotes evolutionary innovation with regard to size. We posit based on these findings and previous work that increases in chemical energy are important to the diversification of Metazoans through size-mediated niche processes.