The Goldman Sachs Group, Inc.424B2N/AEX-FILING FEESS-30000886982N/A333-284538N/A00008869822026-06-292026-06-29iso4217: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,370,000 (comprised of (i) $691,000 maximum aggregate offering price with respect to notes linked to the S&P 500® Index, (ii) $679,000 maximum aggregate offering price with respect to notes linked to the Russell 2000® Index.