In addition to the base models, the Gemini API offers experimental models available in Preview, as defined in the Terms, meaning it is not for production use. We release experimental models to gather feedback, get our latest updates into the hands of developers quickly, and highlight the pace of innovation happening at Google. What we learn from experimental launches informs how we release models more widely. An experimental model can be swapped for another without prior notice. We don't guarantee that an experimental model will become a stable model in the future.
Use an experimental model
The Gemini API's experimental models are available for all users. You can use the experimental models either in your code directly using the Gemini API, or you can use an experimental model in Google AI Studio:
Gemini API
To use an experimental model, specify the model code when you initialize the generative model. For example:
model = genai.GenerativeModel(model_name="gemini-1.5-flash-exp-0827")
AI Studio
Select the model code of the experimental model you want to use in the Model drop-down menu in the Settings pane. Experimental models are labeled Preview in the drop-down menu.
Available models
Model code | Base model | Highlights | Release date |
---|---|---|---|
gemini-1.5-pro-exp-0801 |
Gemini 1.5 Pro | Quality improvements for Gemini 1.5 Pro | August 1, 2024 |
gemini-1.5-pro-exp-0827 |
Gemini 1.5 Pro | Quality improvements for Gemini 1.5 Pro | August 27, 2024 |
gemini-1.5-flash-exp-0827 |
Gemini 1.5 Flash | Quality improvements for Gemini 1.5 Flash | August 27, 2024 |
gemini-1.5-flash-8b-exp-0827 |
Gemini 1.5 Flash-8B | Preview release of Gemini 1.5 Flash-8B
Note: 1.5 Flash-8B has the same capabilities as 1.5 Flash |
August 27, 2024 |
Provide feedback
You can provide feedback on the Gemini API's experimental models using our developer forum.