In the context of escalating environmental concerns and the imperative for sustainable consumption, this study meticulously examines the variations in food literacy and the propensity to purchase green food among Chinese consumers across three generational cohorts: baby boomers, generation X, and generation Y. Utilizing the theory of planned behavior (TPB) as a conceptual framework, and employing SPSS and structural equation modeling (SEM) for rigorous data analysis, the research elucidates the influence of generational attributes on green food consumption patterns. The study’s importance is marked by its unique contributions: it identifies intergenerational discrepancies in food literacy and furnishes empirical support for the enhancement of green food literacy across all consumer demographics. Furthermore, the research constructs an innovative model of food literacy that integrates generational traits, establishing a theoretical scaffold for advancing consumers’ green food literacy. This comprehensive model synthesizes the determinants of generational variations, food literacy, and the intention to consume green food. Findings from a demographically stratified sample of 720 participants, with equal representation from each cohort and gender (240 participants per cohort), highlight the distinct profiles in food literacy and green food purchasing intentions. These findings are instrumental for stakeholders in formulating nuanced strategies that promote sustainable consumption practices, tailored to the specific characteristics of each generational group within the Chinese market.