The advantage the api have and this neural network is the super computer behind it, the actual libraries and algorithms that create chatgpt and the openai api is freely available it's known knowledge they dont own a patent on the theory/library