Audience
Developers and AI engineering teams that need official Google SDKs to integrate Gemini API features into applications
About Google GenAI SDK
The Gemini API libraries provide official, production-ready Google GenAI SDKs for building with the Gemini API in popular programming languages. Google recommends using the Google GenAI SDK when building with Gemini, since these libraries are developed and maintained by Google, used across official documentation and examples, and are generally available for production use. The SDKs are available for Python, JavaScript/TypeScript, Go, Java, and C#, with installation through standard package managers such as pip install google-genai, npm install google/genai, Maven dependencies for google genai, and dotnet add package Google GenAI. They provide access to the latest Gemini API features and are designed to offer the best performance when working with Gemini models. Google strongly recommends migrating from legacy libraries to the new Google GenAI SDK because the legacy libraries are not actively maintained.