A focus of many astrobiology questions resides on the interplay between biochemistry and geochemistry. This biotic-abiotic interface is intimately connected to habitability. Computational systems biology provides a paradigm to characterize this interface. Here we describe the application of constraint-based metabolic modeling to characterize photosynthetic microorganisms inhabiting a modern analog to the Earth’s primordial ocean. Biochemistry is captured in a metabolic network that is converted to a mathematical model. Geochemistry results in constraints that limit the capabilities of the metabolic network. The combination of the two within a single framework can elucidate the co-evolution of life and the environment.