# stabilityai/stable-diffusion-2-1

Calls to the model stabilityai/stable-diffusion-2-1 on DeepInfra stopped working on September 27, 2024.

On September 27, 2024, DeepInfra retired model stabilityai/stable-diffusion-2-1. Requests targeting this model fail after this date. This change affects all calls specifying model stabilityai/stable-diffusion-2-1 on api.deepinfra.com.

## What to use instead

DeepInfra recommends moving to stabilityai/sdxl-turbo as a replacement.

- API: DeepInfra (api.deepinfra.com)
- Model: stabilityai/stable-diffusion-2-1
- Kind: Model retirement
- Takes effect: September 27, 2024
- Calls after that day: fail
- Calls it hits: `model stabilityai/stable-diffusion-2-1`
- 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/stabilityai/stable-diffusion-2-1/

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