Palatini-like theories of gravity have a remarkable connection to models incorporating linear generalized uncertainty principles. Considering this, we delve into the thermodynamics of systems comprising both Bose and Fermi gases. Our analysis encompasses the equations of state for various systems, including general Fermi gases, degenerate Fermi gases, Boltzmann gases, and Bose gases such as phonons and photons, as well as Bose–Einstein condensates and liquid helium.