Paying cash
The lowest lifetime cost, full stop, because you skip both interest and the dealer fee that subsidizes low-rate solar loans. Payback for a typical Arizona or Nevada system runs 8–12 years at current rates, after which the electricity is effectively free for another decade or more.
Worth comparing against what that capital earns elsewhere. If your money is in a 5% instrument, the calculation is closer than it looks.