Until recently, batteries have been very expensive. However, like wind and solar, as we build the industry they are dropping exponentially in cost, at about 20% per year over the past decade [1], and we are hitting a non-linear inflection point when it's more profitable to include batteries in a new build than to omit them.
One set of estimated from Lazard: advanced nuclear at $118-$192/MWh, and lithium-ion charged from directly attached solar at $102-$139/MWh [2].
Lazard have analyses for energy generation costs by technology, and storage costs based on use case and scenario. (Note that the storage use cases include the cost of charging the storage system.)
These cost estimates work hard to simplify a hugely complex subject, by estimating a levelized cost of energy, which is then of course an oversimplification. It doesn't consider the value of when energy is delivered, or the price of when the storage is charged. EIA, filled with a lot of hard energy guys that are dismayed to see renewables outperforming in cost, puts out ridiculous numbers, but has also embraced something called the LACE to try to compensate. However they have been so wrong on hard numbers that they can't be trusted when it comes to renewables.
The design of energy markets has absolutely huge impacts on the profitability of storage as well, and it can still be very hard to get compensated for the value provided to the grid. There probably would already have been GW of batteries on Texas' ERCOT grid if they buy/sell dual nature had been legal earlier.
[1] https://arstechnica.com/tech-policy/2020/09/the-story-of-che...
[2] https://www.lazard.com/perspective/lcoe2019/