The SDK documentation for the fuel system (flight_model.cfg page), currently states that the units used for fuel capacity are in Gallons, when hovering over it, it then elaborates saying that it is an “Imperial measurement equal to 3785 cubic centimeters”.
However, an imperial gallon is actually equal to 4546 cm^3, and it’s the US gallon that is equal to 3785cm^3.