They are both oil filled just the gas one keep the oil under pressure to prevent foaming of the oil e.g. over bad terrain. A good gas shock will generally be significantly more expensive, if they are the same price you can assume that it's not a great gas shock. Gas can also make for a harsh ride compared to oil over good paved roads.