The cost of a whole house generator depends on numerous factors. The most critical are fuel type, power output and storage requirements, and how much electricity your family consumes. Gas generators may be cheaper upfront, but generators that offer solar charging with solar panels will save you money on fuel, maintenance, and lifespan in the long run.