# microsoft/phi-3-medium-4k-instruct

Calls to the model microsoft/phi-3-medium-4k-instruct on DeepInfra stopped working on July 16, 2026.

DeepInfra retired the model microsoft/phi-3-medium-4k-instruct on July 16, 2026. Calls specifying this model fail since that date.

## What to use instead

Move to meta-llama/Meta-Llama-3.1-8B-Instruct-Turbo, recommended by DeepInfra.

- API: DeepInfra (api.deepinfra.com)
- Model: microsoft/phi-3-medium-4k-instruct
- Kind: Model retirement
- Takes effect: July 16, 2026
- Calls after that day: fail
- Calls it hits: `model microsoft/phi-3-medium-4k-instruct`
- Source: [Model list](https://api.deepinfra.com/models/list)
- Verified: November 6, 2026, against DeepInfra's own pages
- Page: https://www.okapi.bot/models/deepinfra/microsoft/phi-3-medium-4k-instruct/

Okapi finds the calls this change hits in your repo and opens the pull request with the fix: https://github.com/apps/okapi-agent
