why did they raise 3 days ago? What's the benefit of doing this instead of going public right away? If it's just cash to pay for GPUs, can't they issue bonds or something?
Pump up the valuation baby.
Price setting.
IPO isn't really about "raising money for the company" any longer, unless one means raising the money in their wallets so they can take the money and run.
You pretty much always do a late-stage private round shortly before an IPO, that is the standard. The goal of the late-stage funding round is to give a better idea of how much capital can be raised by the IPO. It helps reduce uncertainty about expectations of what the company is worth before going public.