400,000 Wh/month divide by
30 days/month divide by
48V
= 278 Ah/day.
How many days of power do you want to save (for a rainy day)?
Or, will you use most power as it is generated from PV?
In that case, you can get night time consumption under 100 Ah.
Are you on-grid or off grid?
Batteries are expensive per kWh of life, to be avoided.
The only way I see to make batteries competitive with utility rates is DIY LiFePO4 (or recycled). That can get down to $0.05/kWh, assuming they last the claimed number of cycles.