In this paper, the sorption thermodynamics of low-molecular-weight penetrants in a glassy polyetherimide, endowed with specific interactions, is addressed by combining an experimental approach based on vibrational spectroscopy with thermodynamics modeling. This modeling approach is based on the extension of equilibrium theories to the out-of-equilibrium glassy state. Specific interactions are accounted for in the framework of a compressible lattice fluid theory. In particular, the sorption of carbon dioxide, water, and methanol is illustrated, exploiting the wealth of information gathered at a molecular level from Fourier-transform infrared (FTIR) spectroscopy to tailor thermodynamics modeling. The investigated penetrants display a different interacting characteristic with respect to the polymer substrate, which reflects itself in the sorption thermodynamics. For the specific case of water, the outcomes from molecular dynamics simulations are compared with the results of the present analysis.