Starting today, developers can access the latest Gemini models via the OpenAI Library and REST API, making it easier to get started with Gemini. We wi

Gemini is now accessible from the OpenAI Library

submited by
Style Pass
2024-11-08 21:30:37

Starting today, developers can access the latest Gemini models via the OpenAI Library and REST API, making it easier to get started with Gemini. We will initially support the Chat Completions API and Embeddings API, with plans for additional compatibility in the weeks and months to come. You can read more in the Gemini API docs, and if you aren't already using the OpenAI libraries, we recommend that you call the Gemini API directly.

For a list of supported Gemini API parameters, you can read our API Reference. We are excited for more developers to get a chance to start building with Gemini and will have more updates to share soon. If you are a Vertex AI Enterprise customer, we also support OpenAI compatibility. Happy building!

Leave a Comment