We study a micro and macroscopic model for chemical reactions with feedback between reactions and temperature of the solute. The first result concerns the quasipotential as the large-deviation rate of the microscopic invariant measure. The second result is an application of modern Onsager–Machlup theory to the pathwise large deviations, in case the system is in detailed balance. The third result is an application of macroscopic fluctuation theory to the reaction flux large deviations, in case the system is in complex balance.