An Azure service that provides access to OpenAI’s GPT-3 models with enterprise capabilities.
Hello 85795786,
Welcome to Microsoft Q&A and Thank you for your detailed questions, I understand you want to ensure there is no impact to your current production environment due to the Azure AI Inference SDK (preview) deprecation.
Based on your setup, there is no immediate impact, and your current implementation can continue to run as-is. Please find the breakdown below:
1. Usage of Python SDK (openai package)
Your understanding is correct.
You are currently using:
from openai import AsyncAzureOpenAI
The deprecation announced for May 30, 2025 applies specifically to the Azure AI Inference preview SDK (azure-ai-inference beta)
The official OpenAI SDK (openai PyPI package) is not part of this deprecation
This SDK communicates using the /openai/v1/ API under the hood
Your current Python implementation using the openai package will continue to function normally. No changes are required.
2. API version (2024-10-21) and v1 API migration
In your case:
- When using the OpenAI SDK, the API version is abstracted and handled internally
- The SDK already uses the
/openai/v1API, so you do not need to manually manageapi-version - The SDK deprecation (preview package) and API version lifecycle are independent
There is no requirement to migrate API versions by May 30, 2025
You can plan any API upgrades separately based on your roadmap
3. Azure OpenAI resources and endpoints
Your current setup:
https://<resource-name>.openai.azure.com/
is part of the classic Azure OpenAI Service resource type, and:
- These resources are not being deprecated
- The Azure AI Foundry model inference endpoints are a separate offering
- There is no mandatory migration to Foundry
You are not required to Change endpoint URLs, Recreate resources, Move to Foundry
You can continue using your existing Azure OpenAI resources and endpoints without any changes.
No impact from Azure AI Inference SDK (preview) retirement
No changes required for your current SDK (openai) usage
No forced API version migration
No changes required for your Azure OpenAI resources or endpoints.
Please refer this
Migrate from Azure AI Inference SDK to OpenAI SDK (Python) https://learn.microsoft.com/azure/foundry/how-to/model-inference-to-openai-migration?tabs=python-key
I Hope this helps. Do let me know if you have any further queries.
If this answers your query, please do click Accept Answer and Yes for was this answer helpful.
Thank you!