- Notifications
You must be signed in to change notification settings - Fork1k
Closed
Description
Question
Gemini 2.5 Flash and Gemini 2.5 Pro have reached general availability (GA) as of June 17, 2025. Preview endpoints will be discontinued on July 15, 2025.
Currently pydantic-ai models:
LatestGeminiModelNames = Literal[ "gemini-1.5-flash", "gemini-1.5-flash-8b", "gemini-1.5-pro", "gemini-1.0-pro", "gemini-2.0-flash", "gemini-2.0-flash-lite-preview-02-05", "gemini-2.0-pro-exp-02-05", "gemini-2.5-flash-preview-05-20", "gemini-2.5-pro-exp-03-25", "gemini-2.5-pro-preview-05-06",]
Preview Endpoint Availability and Removal: All existing Gemini 2.5 Flash and Pro preview endpoints (listed below) will continue to be available with their current preview pricing until July 15, 2025. After this date, these preview endpoints will be shut down.ogemini-2.5-flash-preview-04-17ogemini-2.5-flash-preview-05-20ogemini-2.5-pro-preview-03-25ogemini-2.5-pro-preview-05-06ogemini-2.5-pro-preview-06-05Required actions:To ensure uninterrupted service and to use the new GA capabilities, you will need to do the following:•Migrate to new GA endpoints: Update your applications to use the new GA endpoints (gemini-2.5-flash and gemini-2.5-pro) before July 15, 2025. After this date, the preview endpoints will be decommissioned.
This is a message recieved from Google for my projects that run on GCP and use pydantic-ai agents.
Additional Context
No response