The Goldman Sachs Group Inc.

07/26/2024 | Press release | Distributed by Public on 07/26/2024 04:04

Primary Offering Prospectus - Form 424B2

424B2

Filed Pursuant to Rule 424(b)(2)

Registration Statement No. 333-269296

The information in this preliminary pricing supplement is not complete and may be changed. This preliminary pricing supplement is not an offer to sell nor does it seek an offer to buy these securities in any jurisdiction where the offer or sale is not permitted.

Subject to Completion. Dated July 25, 2024.

GS Finance Corp.

$

Autocallable Equity-Linked Notes due 2029

guaranteed by

The Goldman Sachs Group, Inc.

Payment at Maturity: The amount that you will be paid on your notes at maturity, if they have not been automatically called, is based on the performance of the underlier with the lowest underlier return.

Automatic Call: The notes will be automatically called on an annual call payment date if the closing level of each underlier is greater than or equal to its initial underlier level on the related call observation date.

Interest: The notes do not bear interest.

The terms included in the "Key Terms" table below are expected to be as indicated, but such terms will be set on the trade date. You should read the disclosure herein to better understand the terms and risks of your investment, including the credit risk of GS Finance Corp. and The Goldman Sachs Group, Inc. See page PS-7.

Key Terms

Company (Issuer) / Guarantor:

GS Finance Corp. / The Goldman Sachs Group, Inc.

Aggregate face amount:

$

Automatic call feature:

The notes will be automatically called if the closing level of each underlier is greater than or equal to its initial underlier level on any call observation date. In that case, the company will pay, for each $1,000 of the outstanding face amount, an amount in cash on the following call payment date equal to $1,000 + ($1,000 × the applicable call premium amount).

Cash settlement amount:

subject to the automatic call feature, on the stated maturity date, the company will pay, for each $1,000 face amount of the notes, an amount in cash equal to:

if the final underlier level of each underlier is greater than or equal to its initial underlier level: $1,000 + ($1,000 × the maturity date premium amount); or
if the final underlier level of any underlier is less than its initial underlier level: $1,000

Underliers:

the common stock of Apple Inc. (current Bloomberg ticker: "AAPL UW"), the common stock of Amazon.com, Inc. (current Bloomberg ticker: "AMZN UW"), the common stock of Broadcom Inc. (current Bloomberg ticker: "AVGO UW"), the Class A common stock of Meta Platforms, Inc. (current Bloomberg ticker: "META UW") and the common stock of Microsoft Corporation (current Bloomberg ticker: "MSFT UW")

Maturity date premium amount:

73.75%

Initial underlier level:

with respect to an underlier, an intra-day level or the closing level of such underlier on the trade date

Final underlier level:

with respect to an underlier, the closing level of such underlier on the determination date*

Underlier return:

with respect to an underlier: (its final underlier level - its initial underlier level) ÷ its initial underlier level

Lesser performing underlier return:

the underlier return of the lesser performing underlier (the underlier with the lowest underlier return)

Calculation agent:

Goldman Sachs & Co. LLC ("GS&Co.")

CUSIP / ISIN:

40058EF76 / US40058EF761

* subject to adjustment as described in the accompanying general terms supplement

Our estimated value of the notes on trade date / Additional amount / Additional amount end date:

$885 to $925 per $1,000 face amount, which is less than the original issue price. The additional amount is $ and the additional amount end date is . See "The Estimated Value of Your Notes At the Time the Terms of Your Notes Are Set On the Trade Date Is Less Than the Original Issue Price Of Your Notes."

Original issue price

Underwriting discount

Net proceeds to the issuer

100% of the face amount1

% of the face amount1

% of the face amount

1 The original issue price will be % for certain investors; see "Supplemental Plan of Distribution; Conflicts of Interest" on page PS-16 for additional information regarding the fees comprising the underwriting discount.

Neither the Securities and Exchange Commission nor any other regulatory body has approved or disapproved of these securities or passed upon the accuracy or adequacy of this prospectus. Any representation to the contrary is a criminal offense. The notes are not bank deposits and are not insured by the Federal Deposit Insurance Corporation or any other governmental agency, nor are they obligations of, or guaranteed by, a bank.

Goldman Sachs & Co. LLC

Pricing Supplement No. dated , 2024.

Key Terms (continued)

Trade date:

August 7, 2024

Original issue date:

August 12, 2024

Determination date:

August 7, 2029*

Stated maturity date:

August 14, 2029*

Call observation dates*

Call payment dates*

Call premium amount

August 7, 2025

August 14, 2025

14.75%

August 7, 2026

August 14, 2026

29.5%

August 9, 2027

August 16, 2027

44.25%

August 7, 2028

August 14, 2028

59%

* subject to adjustment as described in the accompanying general terms supplement

PS-2

The issue price, underwriting discount and net proceeds listed above relate to the notes we sell initially. We may decide to sell additional notes after the date of this pricing supplement, at issue prices and with underwriting discounts and net proceeds that differ from the amounts set forth above. The return (whether positive or negative) on your investment in notes will depend in part on the issue price you pay for such notes.

GS Finance Corp. may use this prospectus in the initial sale of the notes. In addition, Goldman Sachs & Co. LLC or any other affiliate of GS Finance Corp. may use this prospectus in a market-making transaction in a note after its initial sale. Unless GS Finance Corp. or its agent informs the purchaser otherwise in the confirmation of sale, this prospectus is being used in a market-making transaction.

About Your Prospectus

The notes are part of the Medium-Term Notes, Series F program of GS Finance Corp. and are fully and unconditionally guaranteed by The Goldman Sachs Group, Inc. This prospectus includes this pricing supplement and the accompanying documents listed below. This pricing supplement constitutes a supplement to the documents listed below, does not set forth all of the terms of your notes and therefore should be read in conjunction with such documents:

The information in this pricing supplement supersedes any conflicting information in the documents listed above. In addition, some of the terms or features described in the listed documents may not apply to your notes.

We have not authorized anyone to provide any information or to make any representations other than those contained in or incorporated by reference in this pricing supplement and the accompanying documents listed above. We take no responsibility for, and can provide no assurance as to the reliability of, any other information that others may provide. This pricing supplement and the accompanying documents listed above are an offer to sell only the notes offered hereby, but only under circumstances and in jurisdictions where it is lawful to do so. The information contained in this pricing supplement and the accompanying documents listed above is current only as of the respective dates of such documents.

We refer to the notes we are offering by this pricing supplement as the "offered notes" or the "notes". Each of the offered notes has the terms described below. Please note that in this pricing supplement, references to "GS Finance Corp.", "we", "our" and "us" mean only GS Finance Corp. and do not include its subsidiaries or affiliates, references to "The Goldman Sachs Group, Inc.", our parent company, mean only The Goldman Sachs Group, Inc. and do not include its subsidiaries or affiliates and references to "Goldman Sachs" mean The Goldman Sachs Group, Inc. together with its consolidated subsidiaries and affiliates, including us. The notes will be issued under the senior debt indenture, dated as of October 10, 2008, as supplemented by the First Supplemental Indenture, dated as of February 20, 2015, each among us, as issuer, The Goldman Sachs Group, Inc., as guarantor, and The Bank of New York Mellon, as trustee. This indenture, as so supplemented and as further supplemented thereafter, is referred to as the "GSFC 2008 indenture" in the accompanying prospectus supplement.

The notes will be issued in book-entry form and represented by master note no. 3, dated March 22, 2021.

PS-3

HYPOTHETICAL EXAMPLES

The following examples are provided for purposes of illustration only. The examples should not be taken as an indication or prediction of future investment results and merely are intended to illustrate (i) the impact that the various hypothetical closing levels of the underliers on a call observation date could have on the amount payable, if any, on the related call payment date and (ii) the impact that the various hypothetical closing levels of the lesser performing underlier on the determination date could have on the cash settlement amount at maturity assuming all other variables remain constant and are not intended to predict the closing levels of the underliers.

The information in the following examples reflects hypothetical rates of return on the offered notes assuming that they are purchased on the original issue date at the face amount and held to a call payment date or the stated maturity date. If you sell your notes in a secondary market prior to a call payment date or the stated maturity date, as the case may be, your return will depend upon the market value of your notes at the time of sale, which may be affected by a number of factors that are not reflected in the examples below, such as interest rates, the volatility of the underliers, the creditworthiness of GS Finance Corp., as issuer, and the creditworthiness of The Goldman Sachs Group, Inc., as guarantor. The information in the examples also reflects the key terms and assumptions in the box below.

Key Terms and Assumptions

Face amount

$1,000

Call premium amount

with respect to a call payment date, the applicable call premium amount

Maturity date premium amount

73.75%

The notes are not automatically called, unless otherwise indicated below

Neither a market disruption event nor a non-trading day occurs on any originally scheduled call observation date or the originally scheduled determination date

No change in or affecting any of the underliers

Notes purchased on original issue date at the face amount and held to a call payment date or the stated maturity date

For these reasons, the actual performance of the underliers over the life of your notes, the actual underlier levels on any call observation date or the determination date, as well as the amount payable on a call payment date or at maturity, if any, may bear little relation to the hypothetical examples shown below or to the historical underlier levels shown elsewhere in this pricing supplement.

Also, the hypothetical examples shown below do not take into account the effects of applicable taxes.

PS-4

Hypothetical Amount in Cash Payable on a Call Payment Date

The examples below show the hypothetical amounts that we would pay on a call payment date with respect to each $1,000 face amount of the notes if the hypothetical closing level of each underlier was greater than or equal to its initial underlier level on the applicable call observation date. While there are more than two potential call payment dates with respect to your notes, the examples below only illustrate the amount you will receive, if any, on the first and second call payment date.

Your notes are automatically called on the first call observation date. If, for example, the closing level of each underlier was determined to be 120% of its initial underlier level, your notes would be automatically called and the amount in cash that we would deliver for your notes on the corresponding call payment date would be 114.75% of the face amount of your notes or $1,147.50 for each $1,000 of the face amount of your notes.

Your notes are not automatically called on the first call observation date and are automatically called on the second call observation date. If, for example, the closing level of each underlier was determined to be 130% of its initial underlier level, your notes would be automatically called and the amount in cash that we would deliver for your notes on the corresponding call payment date would be 129.5% of the face amount of your notes or $1,295.00 for each $1,000 of the face amount of your notes.

Hypothetical Payment at Maturity

If the notes are not automatically called on any call observation date, the cash settlement amount that we would deliver for each $1,000 face amount of your notes on the stated maturity date will depend on the performance of the lesser performing underlier on the determination date, as shown in the table below. The table below assumes that the notes have not been automatically called on a call observation date.

The levels in the left column of the table below represent hypothetical final underlier levels of the lesser performing underlier and are expressed as percentages of the initial underlier level of the lesser performing underlier. The amounts in the right column represent the hypothetical cash settlement amounts, based on the corresponding hypothetical final underlier level of the lesser performing underlier, and are expressed as percentages of the face amount of a note (rounded to the nearest one-thousandth of a percent). Thus, a hypothetical cash settlement amount of 100.000% means that the value of the cash payment that we would deliver for each $1,000 of the outstanding face amount of the offered notes on the stated maturity date would equal 100.000% of the face amount of a note, based on the corresponding hypothetical final underlier level of the lesser performing underlier and the assumptions noted above.

Hypothetical Final Underlier Level

of the Lesser Performing Underlier (as Percentage of Its Initial Underlier Level)

Hypothetical Cash Settlement Amount

(as Percentage of Face Amount)

200.000%

173.750%

175.000%

173.750%

150.000%

173.750%

125.000%

173.750%

100.000%

173.750%

75.000%

100.000%

50.000%

100.000%

25.000%

100.000%

0.000%

100.000%

As shown in the table above, if the notes have not been automatically called on a call observation date:

If the final underlier level of the lesser performing underlier were determined to be 25.000% of its initial underlier level, the cash settlement amount that we would deliver on your notes at maturity would be 100.000% of the face amount of your notes.
As a result, if you purchased your notes on the original issue date at the face amount and held them to the stated maturity date, you would receive no return on your investment.
If the final underlier level of the lesser performing underlier were determined to be 200.000% of its initial underlier level, the cash settlement amount that we would deliver on your notes at maturity would be limited to 173.750% of each $1,000 face amount of your notes.
As a result, if you held your notes to the stated maturity date, the cash settlement amount would be capped, and you would not benefit from any increase in the final underlier level of the lesser performing underlier over its initial underlier level.

PS-5

SELECTED RISK FACTORS

An investment in your notes is subject to the risks summarized below. These risks, as well as other risks and considerations, are explained in more detail in the accompanying documents listed above under "About Your Prospectus". You should carefully review these risks and considerations as well as the terms of the notes described herein and in such accompanying documents. Your notes are a riskier investment than ordinary debt securities. Also, your notes are not equivalent to investing directly in the underliers. You should carefully consider whether the offered notes are appropriate given your particular circumstances.

Risks Related to Structure, Valuation and Secondary Market Sales

The Estimated Value of Your Notes At the Time the Terms of Your Notes Are Set On the Trade Date (as Determined By Reference to Pricing Models Used By GS&Co.) Is Less Than the Original Issue Price Of Your Notes

The original issue price for your notes exceeds the estimated value of your notes as of the time the terms of your notes are set on the trade date, as determined by reference to GS&Co.'s pricing models and taking into account our credit spreads. After the trade date, the estimated value as determined by reference to these models will be affected by changes in market conditions, the creditworthiness of GS Finance Corp., as issuer, the creditworthiness of The Goldman Sachs Group, Inc., as guarantor, and other relevant factors. The price at which GS&Co. would initially buy or sell your notes (if GS&Co. makes a market, which it is not obligated to do), and the value that GS&Co. will initially use for account statements and otherwise, also exceeds the estimated value of your notes as determined by reference to these models. As agreed by GS&Co. and the distribution participants, this excess (i.e., the additional amount set forth on the cover of this pricing supplement) will decline to zero on a straight line basis over the period from the date hereof through the additional amount end date set forth on the cover of this pricing supplement. Thereafter, if GS&Co. buys or sells your notes it will do so at prices that reflect the estimated value determined by reference to such pricing models at that time. The price at which GS&Co. will buy or sell your notes at any time also will reflect its then current bid and ask spread for similar sized trades of structured notes.

In estimating the value of your notes as of the time the terms of your notes are set on the trade date, GS&Co.'s pricing models consider certain variables, including principally our credit spreads, interest rates (forecasted, current and historical rates), volatility, price-sensitivity analysis and the time to maturity of the notes. These pricing models are proprietary and rely in part on certain assumptions about future events, which may prove to be incorrect. As a result, the actual value you would receive if you sold your notes in the secondary market, if any, to others may differ, perhaps materially, from the estimated value of your notes determined by reference to our models due to, among other things, any differences in pricing models or assumptions used by others. See "The Market Value of Your Notes May Be Influenced by Many Unpredictable Factors" below.

The difference between the estimated value of your notes as of the time the terms of your notes are set on the trade date and the original issue price is a result of certain factors, including principally the underwriting discount and commissions, the expenses incurred in creating, documenting and marketing the notes, and an estimate of the difference between the amounts we pay to GS&Co. and the amounts GS&Co. pays to us in connection with your notes. We pay to GS&Co. amounts based on what we would pay to holders of a non-structured note with a similar maturity. In return for such payment, GS&Co. pays to us the amounts we owe under your notes.

In addition to the factors discussed above, the value and quoted price of your notes at any time will reflect many factors and cannot be predicted. If GS&Co. makes a market in the notes, the price quoted by GS&Co. would reflect any changes in market conditions and other relevant factors, including any deterioration in our creditworthiness or perceived creditworthiness or the creditworthiness or perceived creditworthiness of The Goldman Sachs Group, Inc. These changes may adversely affect the value of your notes, including the price you may receive for your notes in any market making transaction. To the extent that GS&Co. makes a market in the notes, the quoted price will reflect the estimated value determined by reference to GS&Co.'s pricing models at that time, plus or minus its then current bid and ask spread for similar sized trades of structured notes (and subject to the declining excess amount described above).

Furthermore, if you sell your notes, you will likely be charged a commission for secondary market transactions, or the price will likely reflect a dealer discount. This commission or discount will further reduce the proceeds you would receive for your notes in a secondary market sale.

There is no assurance that GS&Co. or any other party will be willing to purchase your notes at any price and, in this regard, GS&Co. is not obligated to make a market in the notes. See "Additional Risk Factors Specific to the Notes - Your Notes May Not Have an Active Trading Market" in the accompanying general terms supplement.

The Notes Are Subject to the Credit Risk of the Issuer and the Guarantor

Investors are dependent on our ability and the ability of The Goldman Sachs Group, Inc., as guarantor of the notes, to pay all amounts due on the notes. Therefore, investors are subject to the credit risk, and to changes in the market's view of the creditworthiness, of the issuer and the guarantor. See "Description of the Notes We May Offer - Information About Our Medium-Term Notes, Series F Program - How the Notes Rank Against Other Debt" in the accompanying prospectus supplement and "Description of Debt Securities We May Offer - Guarantee by The Goldman Sachs Group, Inc." in the accompanying prospectus.

PS-6

You May Receive Only the Face Amount of Your Notes at Maturity

Assuming your notes are not automatically called, if the underlier return of any underlier is negative, the return on your notes will be limited to the face amount.

Even if the amount paid on your notes at maturity exceeds the face amount of your notes, the overall return you earn on your notes may be less than you would have earned by investing in a note with the same stated maturity that bears interest at the prevailing market rate.

Also, the market price of your notes prior to a call payment date or the stated maturity date, as the case may be, may be significantly lower than the purchase price you pay for your notes. Consequently, if you sell your notes before the stated maturity date, you may receive far less than the amount of your investment in the notes.

Your Notes Do Not Bear Interest

You will not receive any interest payments on your notes. The overall return you earn on your notes may be less than you would have earned by investing in a non-indexed debt security of comparable maturity that bears interest at a prevailing market rate.

The Amount You Will Receive on a Call Payment Date or on the Stated Maturity Date, as the Case May Be, Will Be Capped

Even if the closing level of each underlier on a call observation date exceeds its initial underlier level, causing the notes to be automatically called on such day, you will not benefit from the increases in the closing levels of the underliers above their initial underlier levels on the call observation date. If your notes are automatically called on a call observation date, the payment you will receive for each $1,000 face amount of your notes on the corresponding call payment date will depend on the applicable call premium amount and is capped due to such call premium amount. In addition, the cash settlement amount you may receive on the stated maturity date is capped due to the maturity date premium amount.

Your Notes Are Subject to Automatic Redemption

We will automatically call and redeem all, but not part, of your notes on a call payment date if, as measured on any call observation date, the closing level of each underlier is greater than or equal to its initial underlier level. Therefore, the term for your notes may be significantly reduced. You may not be able to reinvest the proceeds from an investment in the notes at a comparable return for a similar level of risk in the event the notes are automatically called prior to maturity. For the avoidance of doubt, if your notes are automatically called, no discounts, commissions or fees described herein will be rebated or reduced.

The Cash Settlement Amount Will Be Based Solely on the Lesser Performing Underlier

If the notes are not automatically called, the cash settlement amount will be based on the lesser performing underlier without regard to the performance of any other underlier, even if there is an increase in the level of any other underlier.

We Will Not Hold Shares of the Underliers for Your Benefit

The indenture governing your note does not contain any restriction on our ability or the ability of any of our affiliates to sell, pledge or otherwise convey any shares of the underliers acquired by us or them. Neither we nor our affiliates will pledge or otherwise hold shares of the underliers for your benefit in order to enable you to exchange your note for shares under any circumstances. Consequently, in the event of our bankruptcy, insolvency or liquidation, any shares of the underliers owned by us will be subject to the claims of our creditors generally and will not be available for your benefit specifically.

You Have No Shareholder Rights or Rights to Receive Any Underlier

Investing in your notes will not make you a holder of any shares of the underliers. Neither you nor any other holder or owner of your notes will have any rights with respect to the underliers, including any voting rights, any rights to receive dividends or other distributions, any rights to make a claim against the underliers or any other rights of a holder of any shares of the underliers. Payments on your notes will be made in cash and you will have no right to receive delivery of any underliers.

In Some Circumstances, the Payment You Receive On the Notes May Be Based On the Securities of Another Company and Not the Issuer of an Underlier

Following certain corporate events relating to an underlier where its issuer is not the surviving entity, the amount you receive at maturity may be based on the securities of a successor to such underlier issuer or any cash or any other assets distributed to holders of shares of such underlier in such corporate event. The occurrence of these corporate events and the consequent adjustments may materially and adversely affect the value of the notes. We describe the specific corporate events that can lead to these adjustments and the procedures for selecting distribution property under "Supplemental Terms of the Notes - Anti-dilution Adjustments for Index Stocks" in the accompanying general terms supplement.

The Market Value of Your Notes May Be Influenced by Many Unpredictable Factors

When we refer to the market value of your notes, we mean the value that you could receive for your notes if you chose to sell them in the open market before the stated maturity date. A number of factors, many of which are beyond our control, will influence the market value of your notes, including:

the levels of the underliers;

PS-7

the volatility - i.e., the frequency and magnitude of changes - in the closing levels of the underliers;
the dividend rates of the underliers;
economic, financial, regulatory, political, military, public health and other events that affect stock markets generally and the market segments of which the underliers are a part, and which may affect the closing levels of the underliers;
interest rates and yield rates in the market;
the time remaining until your notes mature; and
our creditworthiness and the creditworthiness of The Goldman Sachs Group, Inc., whether actual or perceived, and including actual or anticipated upgrades or downgrades in our credit ratings or the credit ratings of The Goldman Sachs Group, Inc. or changes in other credit measures.

Without limiting the foregoing, the market value of your notes may be negatively impacted by increasing interest rates. Such adverse impact of increasing interest rates could be significantly enhanced in notes with longer-dated maturities, the market values of which are generally more sensitive to increasing interest rates.

These factors may influence the market value of your notes if you sell your notes before maturity, including the price you may receive for your notes in any market making transaction. If you sell your notes prior to maturity, you may receive less than the face amount of your notes. You cannot predict the future performance of the underliers based on their historical performance.

There is No Affiliation Between the Underlier Issuers and Us

Goldman Sachs is not affiliated with the underlier issuers. However, we or our affiliates may currently or from time to time in the future engage in business with the underlier issuers. Neither we nor any of our affiliates have participated in the preparation of any publicly available information or made any "due diligence" investigation or inquiry with respect to the underlier issuers. You, as an investor in your notes, should make your own investigation into the underlier issuers.

The underlier issuers are not involved in this offering of notes in any way and do not have any obligation of any sort with respect to your notes. Thus, the underlier issuers do not have any obligation to take your interests into consideration for any reason, including in taking or not taking any corporate actions that might affect the value of your notes.

Risks Related to Tax

Your Notes will be Treated as Debt Instruments Subject to Special Rules Governing Contingent Payment Debt Instruments for U.S. Federal Income Tax Purposes

The notes will be treated as debt instruments subject to special rules governing contingent payment debt instruments for U.S. federal income tax purposes. If you are a U.S. individual or taxable entity, you generally will be required to pay taxes on ordinary income from the notes over their term based on the comparable yield for the notes, even though you generally will not receive any payments from us until maturity. This comparable yield is determined solely to calculate the amount on which you will be taxed prior to maturity and is neither a prediction nor a guarantee of what the actual yield will be. In addition, any gain you may recognize on the sale, exchange, redemption or maturity of the notes will be taxed as ordinary interest income. If you are a secondary purchaser of the notes, the tax consequences to you may be different. Please see "Supplemental Discussion of U.S. Federal Income Tax Consequences" below for a more detailed discussion. Please also consult your tax advisor concerning the U.S. federal income tax and any other applicable tax consequences to you of owning your notes in your particular circumstances.

PS-8

THE UNDERLIERS

Where Information About the Underlier Issuers Can Be Obtained

The underliers are registered under the Securities Exchange Act of 1934. Companies with securities registered under the Exchange Act are required to file financial and other information specified by the U.S. Securities and Exchange Commission ("SEC") periodically. Information filed by the underlier issuers with the SEC electronically can be reviewed through a web site maintained by the SEC. The address of the SEC's web site is sec.gov.

Information about the underlier issuers may also be obtained from other sources such as press releases, newspaper articles and other publicly available documents.

We do not make any representation or warranty as to the accuracy or completeness of any materials referred to above, including any filings made by the underlier issuers with the SEC.

We Obtained the Information About the Underlier Issuers From the Underlier Issuers' Public Filings

This pricing supplement relates only to your notes and does not relate to the underliers or other securities of the underlier issuers. We have derived all information about the underlier issuers in this pricing supplement from the publicly available information referred to in the preceding subsection. We have not participated in the preparation of any of those documents or made any "due diligence" investigation or inquiry with respect to the underlier issuers in connection with the offering of your notes. Furthermore, we do not know whether all events occurring on or before the date of this pricing supplement - including events that would affect the accuracy or completeness of the publicly available documents referred to above and the trading price of shares of the underliers - have been publicly disclosed. Subsequent disclosure of any events of this kind or the disclosure of or failure to disclose material future events concerning the underlier issuers could affect the value you will receive at maturity and, therefore, the market value of your notes.

Neither we nor any of our affiliates make any representation to you as to the performance of the underliers.

Historical Closing Levels of the Underliers

The closing levels of the underliers have fluctuated in the past and may, in the future, experience significant fluctuations.

Before investing in the offered notes, you should consult publicly available information to determine the levels of each underlier between the date of this pricing supplement and the date of your purchase of the offered notes. You should not take the historical levels of an underlier as an indication of the future performance of that underlier.

The graphs below, except where otherwise indicated, show the daily historical closing levels of each underlier from January 2, 2019 through July 23, 2024, adjusted for corporate events, if applicable. We obtained the closing levels in the graphs below from Bloomberg Financial Services, without independent verification.

PS-9

According to publicly available information, Apple Inc. designs, manufactures and markets smartphones, personal computers, tablets, wearables and accessories, and sells a variety of related services. Information filed with the SEC by the underlier issuer under the Exchange Act can be located by referencing its SEC file number 001-36743. The daily historical closing prices for Apple Inc. in the graph below have been adjusted for a 4-for-1 stock split that became effective before the market open on August 31, 2020.

Historical Performance of Apple Inc.

According to publicly available information, Amazon.com, Inc. is an e-commerce company. Information filed with the SEC by the underlier issuer under the Exchange Act can be located by referencing its SEC file number 000-22513. The daily historical closing prices for Amazon.com, Inc. in the graph below have been adjusted for a 20-for-1 stock split that became effective before the market open on June 6, 2022.

Historical Performance of Amazon.com, Inc.

PS-10

According to publicly available information, Broadcom Inc. designs, develops and supplies a broad range of semiconductor and infrastructure software solutions. Information filed with the SEC by the underlier issuer under the Exchange Act can be located by referencing its SEC file number 001-38449. The daily historical closing prices for Broadcom Inc. in the graph below have been adjusted for a 10-for-1 stock split that became effective before the market open on July 15, 2024.

Historical Performance of Broadcom Inc.

According to publicly available information, Meta Platforms, Inc. (formerly Facebook, Inc.) builds products that enable people to connect and share with friends and family through mobile devices, personal computers, virtual reality and mixed reality headsets, and wearables. On June 9, 2022, Meta Platforms, Inc. began trading under the ticker symbol "META" on the Nasdaq Global Select Market. Prior to June 9, 2022, Meta Platforms, Inc. traded under the ticker symbol "FB". Information filed with the SEC by the underlier issuer under the Exchange Act can be located by referencing its SEC file number 001-35551.

PS-11

Historical Performance of Meta Platforms, Inc.

According to publicly available information, Microsoft Corporation is a technology company. Information filed with the SEC by the underlier issuer under the Exchange Act can be located by referencing its SEC file number 001-37845.

Historical Performance of Microsoft Corporation

PS-12

SUPPLEMENTAL DISCUSSION OF U.S. FEDERAL INCOME TAX CONSEQUENCES

The following section supplements the discussion of U.S. federal income taxation in the accompanying prospectus supplement.

The following section is the opinion of Sidley Austin LLP, counsel to GS Finance Corp. and The Goldman Sachs Group, Inc. It applies to you only if you hold your notes as a capital asset for tax purposes. This section does not apply to you if you are a member of a class of holders subject to special rules, such as:

a dealer in securities or currencies;
a trader in securities that elects to use a mark-to-market method of accounting for your securities holdings;
a bank;
a regulated investment company;
a life insurance company;
a tax-exempt organization;
a partnership;
an accrual method taxpayer subject to special tax accounting rules as a result of its use of financial statements;
a person that owns the notes as a hedge or that is hedged against interest rate risks;
a person that owns the notes as part of a straddle or conversation transaction for tax purposes; or
a United States holder (as defined below) whose functional currency for tax purposes is not the U.S. dollar.

This section is based on the U.S. Internal Revenue Code of 1986, as amended, its legislative history, existing and proposed regulations under the Internal Revenue Code, published rulings and court decisions, all as currently in effect. These laws are subject to change, possibly on a retroactive basis.

You should consult your tax advisor concerning the U.S. federal income tax and other tax consequences of your investment in the notes, including the application of state, local or other tax laws and the possible effects of changes in federal or other tax laws.

United States Holders

This subsection describes the tax consequences to a United States holder. You are a United States holder if you are a beneficial owner of the notes and you are:

a citizen or resident of the United States;
a domestic corporation;
an estate whose income is subject to U.S. federal income tax regardless of its source; or
a trust if a United States court can exercise primary supervision over the trust's administration and one or more United States persons are authorized to control all substantial decisions of the trust.

If you are not a United States holder, this section does not apply to you and you should refer to "- Non-United States Holders" below.

Your notes will be treated as debt instruments subject to special rules governing contingent payment debt instruments for U.S. federal income tax purposes. Under those rules, the amount of interest you are required to take into account for each accrual period will be determined by constructing a projected payment schedule for your notes and applying rules similar to those for accruing original issue discount on a hypothetical noncontingent debt instrument with that projected payment schedule. This method is applied by first determining the yield at which we would issue a noncontingent fixed rate debt instrument with terms and conditions similar to your notes (the "comparable yield") and then determining as of the issue date a payment schedule that would produce the comparable yield. These rules will generally have the effect of requiring you to include amounts in income in respect of your notes over their term based on the comparable yield for the notes, even though you will not receive any payments from us until maturity.

It is not entirely clear how, under the rules governing contingent payment debt instruments, the maturity date for debt instruments (such as your notes) that provide for the possibility of early redemption should be determined for purposes of computing the comparable yield and projected payment schedule. It would be reasonable, however, to compute the comparable yield and projected payment schedule for your notes (and we intend to make the computation in such a manner) based on the assumption that your notes will remain outstanding until the stated maturity date.

We have determined that the comparable yield for the notes is equal to % per annum, compounded semi-annually, with a projected payment at maturity of $ based on an investment of $1,000.

Based on this comparable yield, if you are an initial holder that holds a note until maturity and you pay your taxes on a calendar year basis, we have determined that you would be required to report the following amounts as ordinary income, not taking into account any positive or negative adjustments you may be required to take into account based on the actual payments on the notes, from the note each year:

PS-13

Accrual Period

Interest Deemed to Accrue During Accrual Period (per $1,000 note)

Total Interest Deemed to Have Accrued from Original Issue Date (per $1,000 note) as of End of Accrual Period

through December 31, 2024

January 1, 2025 through December 31, 2025
January 1, 2026 through December 31, 2026
January 1, 2027 through December 31, 2027
January 1, 2028 through December 31, 2028

January 1, 2029 through

You are required to use the comparable yield and projected payment schedule that we compute in determining your interest accruals in respect of your notes, unless you timely disclose and justify on your U.S. federal income tax return the use of a different comparable yield and projected payment schedule.

The comparable yield and projected payment schedule are not provided to you for any purpose other than the determination of your interest accruals in respect of your notes, and we make no representation regarding the amount of contingent payments with respect to your notes.

If you purchase your notes at a price other than their adjusted issue price determined for tax purposes, you must determine the extent to which the difference between the price you paid for your notes and their adjusted issue price is attributable to a change in expectations as to the projected payment schedule, a change in interest rates, or both, and reasonably allocate the difference accordingly. The adjusted issue price of your notes will equal your notes' original issue price plus any interest deemed to be accrued on your notes (under the rules governing contingent payment debt instruments) as of the time you purchase your notes. The original issue price of your notes will be the first price at which a substantial amount of the notes is sold to persons other than bond houses, brokers or similar persons or organizations acting in the capacity of underwriters, placement agents or wholesalers. Therefore, you may be required to make the adjustments described above even if you purchase your notes in the initial offering if you purchase your notes at a price other than the issue price.

If the adjusted issue price of your notes is greater than the price you paid for your notes, you must make positive adjustments increasing (i) the amount of interest that you would otherwise accrue and include in income each year, and (ii) the amount of ordinary income (or decreasing the amount of ordinary loss) recognized upon maturity by the amounts allocated under the previous paragraph to each of interest and the projected payment schedule; if the adjusted issue price of your notes is less than the price you paid for your notes, you must make negative adjustments, decreasing (i) the amount of interest that you must include in income each year, and (ii) the amount of ordinary income (or increasing the amount of ordinary loss) recognized upon maturity by the amounts allocated under the previous paragraph to each of interest and the projected payment schedule. Adjustments allocated to the interest amount are not made until the date the daily portion of interest accrues.

Because any Form 1099-OID that you receive will not reflect the effects of positive or negative adjustments resulting from your purchase of notes at a price other than the adjusted issue price determined for tax purposes, you are urged to consult with your tax advisor as to whether and how adjustments should be made to the amounts reported on any Form 1099-OID.

You will recognize gain or loss upon the sale, exchange, redemption or maturity of your notes in an amount equal to the difference, if any, between the cash amount you receive at such time and your adjusted basis in your notes. In general, your adjusted basis in your notes will equal the amount you paid for your notes, increased by the amount of interest you previously accrued with respect to your notes (in accordance with the comparable yield and the projected payment schedule for your notes) and increased or decreased by the amount of any positive or negative adjustment, respectively, that you are required to make if you purchase your notes at a price other than the adjusted issue price determined for tax purposes (as described in the accompanying prospectus supplement).

Any gain you recognize upon the sale, exchange, redemption or maturity of your notes will be ordinary interest income. Any loss you recognize at such time will be ordinary loss to the extent of interest you included as income in the current or previous taxable years in respect of your notes, and thereafter, capital loss. If you are a noncorporate holder, you would generally be able to use such ordinary loss to offset your income only in the taxable year in which you recognize the ordinary loss and would generally not be able to carry such ordinary loss forward or back to offset income in other taxable years.

PS-14

Non-United States Holders

If you are a non-United States holder, please see the discussion under "United States Taxation - Taxation of Debt Securities - Non-United States Holders" in the accompanying prospectus for a description of the tax consequences relevant to you. You are a non-United States holder if you are the beneficial owner of the notes and are, for U.S. federal income tax purposes:

a nonresident alien individual;
a foreign corporation; or
an estate or trust that in either case is not subject to U.S. federal income tax on a net income basis on income or gain from the notes.

The Treasury Department has issued regulations under which amounts paid or deemed paid on certain financial instruments ("871(m) financial instruments") that are treated as attributable to U.S.-source dividends could be treated, in whole or in part depending on the circumstances, as a "dividend equivalent" payment that is subject to tax at a rate of 30% (or a lower rate under an applicable treaty), which in the case of amounts you receive upon the sale, exchange, redemption or maturity of your notes, could be collected via withholding. If these regulations were to apply to the notes, we may be required to withhold such taxes if any U.S.-source dividends are paid on the underliers during the term of the notes. We could also require you to make certifications (e.g., an applicable Internal Revenue Service Form W-8) prior to thematurity of the notes in order to avoid or minimize withholding obligations, and we could withhold accordingly (subject to your potential right to claim a refund from the Internal Revenue Service) if such certifications were not received or were not satisfactory. If withholding was required, we would not be required to pay any additional amounts with respect to amounts so withheld.

These regulations generally will apply to 871(m) financial instruments (or a combination of financial instruments treated as having been entered into in connection with each other) issued (or significantly modified and treated as retired and reissued) on or after January 1, 2027, but will also apply to certain 871(m) financial instruments (or a combination of financial instruments treated as having been entered into in connection with each other) that have a delta (as defined in the applicable Treasury regulations) of one and are issued (or significantly modified and treated as retired and reissued) on or after January 1, 2017. In addition, these regulations will not apply to financial instruments that reference a "qualified index" (as defined in the regulations). We have determined that, as of the issue date of your notes, your notes will not be subject to withholding under these rules. In certain limited circumstances, however, you should be aware that it is possible for non-United States holders to be liable for tax under these rules with respect to a combination of transactions treated as having been entered into in connection with each other even when no withholding is required. You should consult your tax advisor concerning these regulations, subsequent official guidance and regarding any other possible alternative characterizations of your notes for U.S. federal income tax purposes.

Foreign Account Tax Compliance Act (FATCA) Withholding

Pursuant to Treasury regulations, Foreign Account Tax Compliance Act (FATCA) withholding (as described in "United States Taxation-Taxation of Debt Securities-Foreign Account Tax Compliance Act (FATCA) Withholding" in the accompanying prospectus) will generally apply to obligations that are issued on or after July 1, 2014; therefore, the notes will generally be subject to the FATCA withholding rules.

PS-15

SUPPLEMENTAL PLAN OF DISTRIBUTION; CONFLICTS OF INTEREST

See "Supplemental Plan of Distribution" in the accompanying general terms supplement and "Plan of Distribution - Conflicts of Interest" in the accompanying prospectus.

GS Finance Corp. will sell to GS&Co., and GS&Co. will purchase from GS Finance Corp., the aggregate face amount of the offered notes specified on the front cover of this pricing supplement. GS&Co. proposes initially to offer the notes to the public at the original issue price set forth on the cover page of this pricing supplement, and to certain securities dealers at such price less a concession not in excess of % of the face amount. GS&Co. may pay a referral fee of % from the concession to another dealer in connection with its marketing efforts related to the offered notes. The original issue price for notes purchased by certain retirement accounts and certain fee-based advisory accounts will be % of the face amount of the notes, which will reduce the underwriting discount specified on the cover of this pricing supplement with respect to such notes to %. GS&Co. is an affiliate of GS Finance Corp. and The Goldman Sachs Group, Inc. and, as such, will have a "conflict of interest" in this offering of notes within the meaning of Financial Industry Regulatory Authority, Inc. (FINRA) Rule 5121. Consequently, this offering of notes will be conducted in compliance with the provisions of FINRA Rule 5121. GS&Co. will not be permitted to sell notes in this offering to an account over which it exercises discretionary authority without the prior specific written approval of the account holder. We have been advised that GS&Co. will also pay a fee to iCapital Markets LLC, a broker-dealer in which an affiliate of GS Finance Corp. holds an indirect minority equity interest, for services it is providing in connection with this offering.

We will deliver the notes against payment therefor in New York, New York on the original issue date set forth on the cover page of this pricing supplement. Under Rule 15c6-1 of the Securities Exchange Act of 1934, trades in the secondary market generally are required to settle in one business day, unless the parties to any such trade expressly agree otherwise. Accordingly, purchasers who wish to trade notes on any date prior to one business day before delivery will be required to specify alternative settlement arrangements to prevent a failed settlement.

We have been advised by GS&Co. that it intends to make a market in the notes. However, neither GS&Co. nor any of our other affiliates that makes a market is obligated to do so and any of them may stop doing so at any time without notice. No assurance can be given as to the liquidity or trading market for the notes.

The notes will not be listed on any securities exchange or interdealer quotation system.

PS-16