424B2EX-FILING FEES0000886982333-284538S-3The Goldman Sachs Group, Inc.00008869822025-06-272025-06-27iso4217:USD

EX-FILING FEES

The prospectus to which this Exhibit is attached is a final prospectus for the related offerings. The combined maximum aggregate offering price for the offerings is $1,591,000 (comprised of (i) $1,189,000 maximum aggregate offering price with respect to notes linked to the S&P 500® Index, (ii) $402,000 maximum aggregate offering price with respect to notes linked to the Russell 2000® Index).