Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

Can I use the VertexAI Python SDK to list Gemini models?

I am trying to programmatically list Google's first party Gemini models, but I don't see any such endpoint in the Vertex documentation. I do see this in the Gemini docs: https://ai.google.dev/api/models

Is there a way for me to call that from the vertexai SDK? 

I already tried 

aiplatform.Model.list()

That returns an empty list. Could there be a parameter I'm missing? 

0 3 2,305
3 REPLIES 3