The minimum capital amount is 1€, that's the entire point of the UG, to encourage entrepreneurship.
The intended path for the upgrade from UG to GmbH is that once the UG makes a profit, this should be used to save up the 25k€ and convert to a GmbH once it's reached.