Amazon NASDAQ:AMZN is looking to raise at least $25 billion through a U.S. dollar bond sale as the tech giant balances debt needs with an increasingly expensive AI investment cycle.

According to a filing with the U.S. Securities and Exchange Commission, Amazon plans to use the proceeds for general corporate purposes, including debt repayment, acquisitions and investments in subsidiaries. The final size of the offering could increase depending on investor demand.

The notes will span maturities ranging from 3 to 40 years. The longest-dated tranche is expected to pay a spread of 1.45 percentage points above comparable U.S. Treasuries. Barclays, Goldman Sachs, J.P. Morgan and Morgan Stanley are underwriting the offering.