I keep repeating myself but the battery isn't where you want to be saving money. On my dream bike there is a 17 Ah HL Li-Ion battery with internal controller at over 600€ but I can't buy it right now. So I have a LiPo pack which cost so far 180 € for 8 Ah usable at 37 V soon to become 16 Ah usable.
An example 48V 15.8 Ah battery pack (12S - 44.4V nominative, 49.8 V hot off the charger) made from 6S 6.6 Ah multistar (3P2S). This pack will be able to provide 18 Amps to the controller all day long as it is rated for over 180 Amps constant. You will have tenths of a volt sag on steep hills:
275€ for 19.8 Ah nominative, 15.8 Ah usable - 758 Wh
366 € for 21.1 Ah usable - 1013 Wh
Then you add in...
128€ for 2 x 300 W 20 A chargers. Each can charge 2 batteries in parallel at just under 1C don't make the mistake I did and buy an 80 W charger which struggles with 10 Ah 6S packs at 3.4 Amps charge rate.
80€ for a couple of 350 W power supplies (notice the power supplies provide more current than the charger requires). I have a PC power supply which provides about 250 W which I got for free.
50€ Wires, plugs, sundry...
528€ total investment for 15.8 Ah, a 2 hour charge time instead of 5-7 hours etc. etc.