A sealed attic, when your ducts live up there
If your AC ducts run through the attic, foam under the roof deck brings them inside the cooled space instead of leaving them in the heat. That's the case where foam's higher price usually pays its way, and it's the one I recommend it for.

