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

Using MedLM with google-genai lib

Is it possible to use MedLM models with the Google-genai python SDK? Or any other SDK so I don't make raw http requests myself?

0 2 406
2 REPLIES 2

Hi @arthurbrenno,

Welcome to Google Cloud Community!

The Google Gen AI Python SDK doesn’t support MedLM. This documentation shows the supported SDK for MedLM. However, note that MedLM is deprecated. Access to MedLM will no longer be available on or after September 29, 2025.

Was this helpful? If so, please accept this answer as “Solution”. If you need additional assistance, reply here within 2 business days and I’ll be happy to help.

Him ruthseki. Thanks for the replay. Are there any alternatives to MedLM?