Google Retires Two Gemini Image Preview Models on June 25, 2026
Google shut down gemini-3.1-flash-image-preview and gemini-3-pro-image-preview today. Developers must migrate immediately to the generally available replacements or face broken image generation calls.
gemini-3.1-flash-image-preview Shutdown
Google retired gemini-3.1-flash-image-preview on June 25, 2026.
- Model: gemini-3.1-flash-image-preview
- Shutdown Date: June 25, 2026
- Recommended Replacement: gemini-3.1-flash-image (GA)
- Impact: All preview image endpoints for this model are now unavailable
The model launched as a preview on February 26, 2026. Google provided no extended grace period. Applications calling this endpoint will receive errors starting today.
gemini-3-pro-image-preview Shutdown
Google retired gemini-3-pro-image-preview on the same date.
- Model: gemini-3-pro-image-preview
- Shutdown Date: June 25, 2026
- Recommended Replacement: gemini-3-pro-image (GA)
- Impact: Preview image generation requests to this model no longer function
The model entered preview on November 20, 2025. Google directs all users to the stable GA version for continued image capabilities.
Migration Requirements
Developers must update code and configurations today.
- Replace all references to gemini-3.1-flash-image-preview with gemini-3.1-flash-image.
- Replace all references to gemini-3-pro-image-preview with gemini-3-pro-image.
- Test image generation flows immediately after changes.
- Monitor for any rate limit or capability differences between preview and GA versions.
No further support exists for the retired preview endpoints.
Additional Gemini Deprecations Active in 2026
The official deprecations page lists many other models with upcoming or recent shutdown dates.
- gemini-2.0-flash and gemini-2.0-flash-001 shut down June 1, 2026. Migrate to gemini-3.5-flash.
- gemini-2.5-pro shuts down October 16, 2026. Migrate to gemini-3.1-pro-preview.
- gemini-2.5-flash and gemini-2.5-flash-lite shut down October 16, 2026. Migrate to gemini-3.5-flash or gemini-3.1-flash-lite.
- Several earlier preview variants already reached end of life in late 2025 and early 2026.
Google continues consolidating users onto the Gemini 3 model family. Developers should review the full deprecations list at ai.google.dev/gemini-api/docs/deprecations and audit all Gemini API calls in their codebases.
Early migration prevents production outages as more preview and older models reach retirement.