All the model companies except kind of Anthropic (and even they half-assedly do) implement the OpenAI API. It's not an open standard but, like the S3 API, it effectively is.
And, to answer your question, no. The existence of a common API makes it trivial to change zero code and send requests to a different model.