# deepseek-ai/deepseek-ocr

Calls to the model deepseek-ai/deepseek-ocr on DeepInfra stopped working on May 7, 2026.

DeepInfra retired the model deepseek-ai/deepseek-ocr on May 7, 2026. Calls specifying this model fail since that date. The change affects any requests sent to model deepseek-ai/deepseek-ocr on api.deepinfra.com.

## What to use instead

DeepInfra recommends moving to google/gemma-4-31B-it instead.

- API: DeepInfra (api.deepinfra.com)
- Model: deepseek-ai/deepseek-ocr
- Released: October 20, 2025 (models.dev)
- Kind: Model retirement
- Takes effect: May 7, 2026
- Calls after that day: fail
- Calls it hits: `model deepseek-ai/deepseek-ocr`
- 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/deepseek-ai/deepseek-ocr/

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