I think only some of their ToS are conditioned on competing, where I (not a lawyer) would seek advice first is:
"""For example, you may not:
…
• Attempt to or assist anyone to reverse engineer, decompile or discover the source code or underlying components of our Services, including our models, algorithms, or systems (except to the extent this restriction is prohibited by applicable law).
"""
"""For example, you may not:
…
• Attempt to or assist anyone to reverse engineer, decompile or discover the source code or underlying components of our Services, including our models, algorithms, or systems (except to the extent this restriction is prohibited by applicable law). """
May be fine, IDK, I'm not a lawyer.
I may also be looking at the wrong ToS entirely: https://openai.com/policies/terms-of-use