The cheaper home "backup" NG generators really aren't designed for this kind of use anyway. You'd end up having to service them fairly often, and maybe it would not be there for an outage when they were really needed.
The industrial units are a whole different animal though. We got a 30KW Kohler unit on ebay that was new at less than 1/3 of the new price, and it's prime power rated, which means it can be used for continuous power generation. These units are more efficient. too Ours is a diesel unit - we live in PG&E land, Who really thinks their NG plant will still work after an earthquake, and our insurance company required a seismic gas shutoff valve as well. That unit at 1/4 load is a gallon an hour of diesel, so $5 /gal / 7.5 kWh $0.66/kWh. At 50% load though, its 1.5*5/15 kwh = $0.50 kWh, which is pretty competitive.
NG units are a little cheaper, but again, who thinks PG&E will survive a quake. The Kohler 30REZG at 50% load consumes 179 cf/h, or 2.77*255000/99976/15=$0.47 kWh.
And gensets don't really like to run well at low load levels either - you get soot buildup etc... The ideal situation would be to see them integrated in a battery management system where if the solar was inadequate to charge the batteries (or unavailable), then you kick the generator on, and charge the batteries at the most efficient load rate of the generator, and then kick the genset off and run off battery power. This avoids long runs at very low load rates, and improves efficiency as well.
It's pretty amazing though that a user with a generator can come close to PG&E peak rates in generation efficiency. Of course, EIA data says that CA users pay 80% higher prices than the rest of the US, so I guess I shouldn't be surprised.