Thermodynamic consistency is a key factor in heat and mass transfer simulation. A modified lattice Boltzmann pseudopotential model with the ability to simulate multiphase and multicomponent flow with a large density and viscosity ratio is proposed. Relative to a model using the exact difference method, a better thermodynamic consistency is obtained through introducing an improved external force term, a multi-relaxation-time collision operator, and a scaling coefficient k of the equation of state. The coefficient of scale k = 0.1 is preferred due to its better thermodynamic consistency, lower spurious current and a smaller surface tension. The inter-particle interaction strength has little influence over the thermodynamic consistency due to its limited contributions to the surface tension. With the model, the bubble dissolution under pressure is investigated and Henry’s law is validated.