A unified Azure platform for creating and managing AI models, agents, and applications with built‑in enterprise security, monitoring, and governance
The question is whether the app can keep calling the same deployment after the model changes, and, with two models on the same API, which one the call uses.
The call selects a deployment by name. A Foundry resource has one endpoint, and each deployment is a separate name on it. The Endpoints for Microsoft Foundry Models article says you access a model by its deployment name. On the older route that name is the {deployment-name} segment in /openai/deployments/{deployment-name}/. On the /openai/v1/ route the same name goes in the model field. Two models can expose the same operations. The name in the request is what selects one of them.
If the model you want is already deployed, change the deployment name the app sends. That is enough. If the app must keep its current name, change the model on that deployment:
- A newer version of the same model can stay on the same deployment name. The article Azure OpenAI in Microsoft Foundry Models working with models shows reading the deployment, setting
Model.Version, and callingNew-AzCognitiveServicesAccountDeploymentagain with the same name. The REST update uses that same name in the URL and the new version in the body. Wait until the provisioning state is Succeeded, then call the app as it is. - A different model family on a provisioned deployment can also keep the same name. That article says an in-place migration keeps the name and the size, the state shows Updating for about 20–30 minutes, and traffic keeps flowing. A family change goes through the REST API or Azure CLI, with the new model name and version sent to that same deployment. In Foundry, the version dropdown on the deployment is the version change.
- That article limits automatic version updates to Standard deployment types. Its Standard examples change the version and leave the model name as it was. A Standard in-place change to a different model family is not in that article. For a different family on Standard, deploy the other model and point the app at that deployment name.
I have not run this update.