gemini-3.1-flash-lite-preview retirement
gemini-3.1-flash-lite-preview stopped working on May 25, 2026.
Google Breaking model
gemini-3.1-flash-lite-previewstopped working on May 25, 2026. gemini-3.1-flash-lite-preview was shut down on the Gemini API May 25, 2026; the replacement is gemini-3.1-flash-lite.What to do: Switch to
gemini-3.1-flash-lite. The deprecations page lists May 7, 2027 as its earliest shutdown date, with gemini-3.5-flash-lite as the replacement after that.