The thermodynamic potentials for surface species were calculated using only vibrational contribution to the partition function, while for gaseous species translational and rotational contributions was included as well. Thermochemical calculations were performed at STP (298.15 K, 1 atm) and at 500 -800 K, i.e., temperatures of interest for ALD of GaN and InN.