Models Availability using GenAI SDK (python)

Hi!
I’m building a Python app using Google GenaAI SDK. I don’t understand which models are available, as the only one that seems to be working is “models/gemini-2.0.flash.exp”. I’m not able to use any other model and I don’t get how I should add them. Whenever I try to change the model card, for example to “models/gemini-2.0-flash-001” I get the following error “not_found: models/gemini-2.0-flash-001 is not found for API v”. Is there some setting I need to change I order to work with newer models?

2 Likes

Hi,

Welcome to the forum.

Kindly consult the documentation: Gemini models  |  Gemini API  |  Google AI for Developers

Also, the python package allows you to list the available models for your account.

Cheers