© 2026 Hashnode
Google’s Gemini models can be used through OpenAI compatible endpoints. That means you can keep using your existing OpenAI SDK or the new OpenAI Agents SDK, and simply point it at Gemini by swapping the base URL and API key. This guide will show you ...
