The runtime of a generator depends on various factors, including the fuel capacity, load size, and generator type. Some generators can run for several hours, while others can operate for days or even weeks with proper maintenance and refueling.