Google Developer Platform
Gemini is now accessible from the OpenAI Library- Google Developers Blog

Gemini is now accessible from the OpenAI Library- Google Developers Blog

11/8/2024 · Logan Kilpatrick

What this post added

This post announces the integration of Gemini models with the OpenAI Library and REST API, enabling developers to access Gemini via familiar OpenAI tools. It provides code examples for Python, TypeScript/JavaScript, and REST to demonstrate how to use the Chat Completions API and Embeddings API with Gemini models. It also mentions plans for further compatibility and directs users to Gemini API docs and Vertex AI Enterprise customer support for OpenAI compatibility.

Read the original post ↗