a 5 gallon tank is the recommended minimum for 2 frogs
Yes they are small, but they do like space to move around and not constantly be jammed on top of each other.
Also considering that the larger volume of water means increased stability in the water parameters