Azure AI Foundry
phi-4 model retirement
Stops working
On January 17, 2027, model phi-4 will be retired and calls to it will fail. This change affects requests using model phi-4 on Azure AI Foundry.
What to use instead of phi-4
Move to microsoft--phi-4 (Foundry Managed Compute), which is recommended by Microsoft.
Facts
- API
- Azure AI Foundry
*.services.ai.azure.com - Model
phi-4- Kind
- Model retirement
- Takes effect
- January 17, 2027
- Calls after that day
- Fail
- Source
- Deprecations page
- Last updated
- Verified
- , against Azure AI Foundry's own pages
Questions
When does phi-4 shut down?
Calls to the model phi-4 on Azure AI Foundry stop working on January 17, 2027.
What happens to calls after January 17, 2027?
They fail from that day.
How do I find the calls this hits in my code?
Okapi reads your repository, finds the calls this change hits and opens a pull request with the fix. It never commits to your branches: every change comes as a pull request you review.
More from Azure AI Foundry 10
-
flux-1.1-proModel retirement Stops workingin 68 days -
claude-opus-5-5-fastModel retirement Stops workingin 78 days -
phi-4-mini-instructModel retirement Stops workingin 80 days -
phi-4-mini-reasoningModel retirement Stops workingin 80 days -
phi-4-multimodal-instructModel retirement Stops workingin 80 days -
phi-4-reasoningModel retirement Stops workingin 80 days -
flux.2-flexModel retirement Stops workingin 83 days -
flux.2-proModel retirement Stops workingin 83 days -
gpt-realtime-2Model retirement Stops workingin 83 days -
kimi-k2.5Model retirement Stops workingin 89 days
Is your code calling this?
Okapi finds the calls this change hits in your repo and opens the pull request with the fix before January 17, 2027.