Usually photons are not conserved in their interaction with matter. Consequently, for the thermodynamics of photons, while we have a concept of temperature for energy conservation, there is no equivalent chemical potential for particle number conservation. However, the notion of a chemical potential is crucial in understanding a wide variety of single- and many-body effects, from transport in conductors and semiconductors to phase transitions in electronic and atomic systems. Here we show how a direct modification of the system-bath coupling via parametric oscillation creates an effective chemical potential for photons even in the thermodynamic limit. In particular, we show that the photonic system equilibrates to the temperature of the bath, with a tunable chemical potential that is set by the frequency of the parametric coupler. Specific implementations, using circuit-QED or optomechanics, are feasible using current technologies, and we show a detailed example demonstrating the emergence of Mott insulator-superfluid transition in a lattice of nonlinear oscillators. Our approach paves the way for quantum simulation, quantum sources, and even electron-like circuits with light.