Recently, Linda Lawton shared that she actually uses an automation script to keep track of the models currently available in Gemini. I thought that was a great idea and decided to see if I could build something similar using Pipedream.
Normally, if I wanted to know what models I had available, I'd go to AI Studio and just look, or check the docs. While that's fine usually, there's actually an API method that can do this programmatically, list_models.
Calling this method returns an array of available models, along with information about their features.
Collection
[
|
...
]