Gemini is now accessible from the OpenAI Library Developers can now access and build with the latest Gemini models through the OpenAI Library and REST API. Update your code with three lines and get started. Source: Google Developers Blog