Not entirely comparable because SMA PV + battery inverter can add together, or battery inverter can suck down power from PV to battery. For an off-grid system, this allows more oversize PV.
Each Sunny Island battery inverter is 5.75kW continuous (at 25 degrees C), 11kW surge. MSRP $5700, retail $4700, new on eBay $3000.
Sunny Boy battery inverters up to 7.7kW, cost $2000 +/-
For grid-backup, 2x SI + 2x SB, 13.4kW max through relay, maybe $10k.
Off-grid, 2x SI + 3x or 4x SB, 24kW max, $12k to $14k
The current model Sunny Boy are about $0.30/W. I bought new old stock previous models for $0.10/W. Off-grid or earlier installed grid-tie system, doesn't require UL-1471-SA. Might make a 24kW system for $8500. That could actually peak at about 36kW continuous when PV panels are aimed at sun.