The gasification of solid fuels of different elemental compositions in O2/N2 and O2/CO2 mixtures was studied using equilibrium thermodynamic modeling. The dependences of process characteristics (temperature and the yield of carbon residue) on the composition of gasification agent and the stoichiometric ratio were calculated. The addition of carbon dioxide, on the one hand, promoted the conversion of carbon due to an increase in the concentration of gasifying agents and, on the other hand, decreased the process temperature due to an increase in heat capacity and an endothermic effect of the gasification reaction. The efficiency of using O2/CO2 mixtures for the gasification of fuels increased with the carbon content. The highest chemical efficiency of coke and coal gasification was achieved at an initial CO2 concentration of about 40–60 vol %.