To my knowledge, if the ratio is the same, there won’t be a difference in torque. If the input gear has a lower number of teeth than the output gear, then it’s increasing torque. If the input gear is a higher number of teeth, it is increasing in rpm, with less torque.
Torque equals Force multiplied by Distance
If you have the same distance, ie 2:1, and the same force, say, 5g = 10g of torque.
In short, you can’t make a 1:1 ratio and have it increase in torque, you only get that if the input gear is smaller than the output gear.