A metal 8-inch by 8-inch square baking pan works best here. I swear by this USA Pan (not sponsored, just love it!). I haven't tried this recipe with a glass baking pan, but I would recommend lowering the temperature to 325°F / 163°C and checking the cake after 20 minutes.