โš ๏ธ Heads up: this tool's official website appears to be unreachable right now. It may be offline, rebranded, or temporarily down.
Google Gen AI Go SDK

Google Gen AI Go SDK

โ˜… 3.8 ๐Ÿ”– 1200 saves ๐Ÿ’ฐ Free GitHub

The Google Gen AI Go SDK is Google’s official open-source client library for building applications with Gemini and other Google generative AI models from Go. Hosted on GitHub with about 1,200 stars and updated continuously through October 2026, it provides a single, idiomatic interface to both the Gemini Developer API and Vertex AI (the Gemini Enterprise Agent Platform).

Overview

Go teams building on Google’s AI stack previously had to choose between separate clients for the consumer-facing Gemini API and the enterprise Vertex AI platform. This SDK unifies them: the same code can target the Developer API with an API key or the enterprise backend with Google Cloud credentials, switched through configuration. It covers text and multimodal generation, streaming, function calling, structured output and other core Gemini capabilities, with strongly typed Go structs throughout. Because it is maintained by Google, it tracks new model releases and API features closely, and it is the recommended path for new Go projects using Gemini, superseding older generative AI clients.

Key Features

  • One SDK for both the Gemini Developer API and Vertex AI backends
  • Typed Go APIs for text, image and multimodal generation
  • Streaming responses and function calling support
  • Structured output with schema-constrained JSON
  • Actively maintained by Google with frequent releases
  • Apache-2.0 licensed and installable via go get

The package is organised around a single client type with sub-services for models, chats, files and other API areas, and it ships with examples and tests in the repository. It is the successor to Google’s earlier generative AI Go client, which is now deprecated in its favour.

๐Ÿ’ณ Pricing

The SDK is free and open source under the Apache-2.0 license. Costs come only from your own Gemini API or Google Cloud usage, billed by Google under your account; the library itself carries no fee.

Who Is It For

Go developers and platform teams who want the official, supported route to Gemini models, whether prototyping against the Developer API or deploying on Google Cloud’s enterprise platform.

๐Ÿš€ Visit Google Gen AI Go SDK Official Site

๐Ÿšฉ Report an issue