Solar is the cheapest form of energy averaged over the whole year. 2025 was the first year where more total electricity was produced by renewables than not.
It has the obvious problem that it doesn't work at night and in winter. That's a big problem. I don't know how to fix that.