watch nowOpenAI is preparing to confidentially file a draft of its IPO prospectus as soon as Friday, as the company gears up for what could be one of the largest public markets debuts in history, CNBC confirmed on Wednesday.The artificial intelligence company, which is valued at more than $850 billion by private investors, is working with banks including Goldman Sachs and Morgan Stanley to prepare to file in the coming days or weeks, according to a source familiar with the matter who asked not to be named because the details are confidential."As part of normal governance, we regularly evaluate a range of strategic options," An OpenAI representative said in a statement. "Our focus remains on execution."OpenAI has been preparing to IPO as soon as the fourth quarter of this year, as CNBC previously reported. OpenAI CFO Sarah Friar told CNBC last month that it is "good hygiene" for a company of OpenAI's size to "look and feel and act" like a public company, but she wouldn't comment on a specific timeline. Goldman Sachs and Morgan Stanley did not comment. The Wall Street Journal was first to report the confidential filing.The news about OpenAI's preparations lands as Elon Musk's competitor SpaceX, which merged with xAI earlier this year, is set to publicly disclose its IPO prospectus as soon as Wednesday. Goldman Sachs will have the lead left position on the SpaceX prospectus, followed by Morgan Stanley, and then Bank of America, Citigroup and JPMorgan Chase, sources told CNBC.SpaceX's offering is expected to bring in a record-breaking sum after it was most recently valued at $1.25 trillion in February. It confidentially filed with the Securities and Exchange Commission last month.This is breaking news. Please refresh for updates.