# google/gemini-3.1-flash-image

Lovable AI Gateway deprecated the model google/gemini-3.1-flash-image without giving a shutdown date yet.

## What to use instead

Lovable AI Gateway stops serving it: move to another model it lists.

- API: Lovable AI Gateway (ai.gateway.lovable.dev)
- Model: google/gemini-3.1-flash-image
- Released: May 28, 2026 (models.dev)
- Kind: Model retirement
- Takes effect: no date given yet
- Calls after that day: fail
- Calls it hits: `model google/gemini-3.1-flash-image`
- Source: [Model list](https://ai.gateway.lovable.dev/v1/models)
- Verified: November 6, 2026, against Lovable AI Gateway's own pages
- Page: https://www.okapi.bot/models/lovable-ai-gateway/google/gemini-3.1-flash-image/

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