The lawsuit accuses the firm of abandoning its founding principle of benefiting humanity.
Elon Musk is suing OpenAI, the makers of ChatGPT, arguing it has breached the principles he agreed to when he helped found it in 2015.
The lawsuit — which has also been filed against OpenAI boss Sam Altman — says the firm has departed from its original non-profit, open source mission.
It says instead of trying to «benefit humanity» — as it was set up to do — it is focusing on «maximising profits» for major investor Microsoft.
OpenAI has been approached for comment.
The firm was created with the intention of building what’s known as artificial general intelligence AI that can perform any task a human being is capable of.
It was also set up as a not-for-profit company, meaning it would not aim to make money.
The lawsuit, which has been filed in San Francisco, states it was under these conditions, that Mr Musk agreed to found OpenAI, along with Mr Altman and co-founder Greg Brockman.
He left three years later.
«This case is filed to compel OpenAI to adhere to the Founding Agreement and return to its mission to develop AGI for the benefit of humanity, not to personally benefit the individual Defendants and the largest technology company in the world,» the lawsuit says.