Google opens Gemini Pro to developers through its API
Neutral Google By What The Future Newsroom · December 14, 2023 · 2 min read

Google opens Gemini Pro to developers through its API

Developers can access Gemini Pro through the Gemini API and Google AI Studio, with a Google AI SDK and an Android Studio project template intended to ease integration. The model handles text and image input, while its benchmark results offer only part of the picture of how it may perform in real-world use.

Google has opened developer access to Gemini Pro, a multimodal AI model that can process text and images. Developers can reach it through the Gemini API and use Google’s tools to build applications around it.

“This is a routine developer access launch, with only a mild lean toward greater AI dependence.”Why it scores Neutral

Tools for building with Gemini Pro

Google AI Studio lets developers integrate Gemini Pro, generate API keys and create AI applications. The company has also added a project template to the latest preview of Android Studio, aimed at making it easier to start working with the Gemini API.

For Android developers, Google offers the Google AI SDK, a client SDK that can connect applications to the service without requiring developers to build their own backend infrastructure. The model itself runs in Google’s data centers rather than on the user’s device.

This setup gives developers a route from experimentation to app integration: they can obtain access and credentials through Google AI Studio, then use the SDK and development tools to connect an application to Gemini Pro.

Cloud access and on-device AI are different paths

Gemini Pro is not the only Gemini model Google has made available to developers. The company launched access to Gemini Nano the previous week. Nano is designed to run on-device and is available on select devices through AICore.

The distinction is practical. Gemini Pro processes requests in Google’s data centers, while Nano is an on-device model. Google’s article identifies the Pixel 8 as a device on which Nano will run, but does not describe the two models as interchangeable.

For developers, the options point to different ways of incorporating AI into an app: connect to Gemini Pro through an API, or explore the on-device path offered by Nano on supported devices.

Benchmarks offer a partial comparison

Gemini Pro’s performance is described as roughly comparable to GPT-3.5. Google says its model outperforms OpenAI’s in six of eight benchmarks, while also upgrading Bard with Gemini Pro.

Those results sit within a broader contest over how multimodal and language models perform on tests. Google has said its upcoming Gemini Ultra can outperform GPT-4 on important benchmarks such as MMLU when special prompting methods are used. Microsoft has presented a different comparison, arguing that GPT-4, also tested with special prompts, is as capable or more capable on benchmarks.

Small models are part of the same competition. Microsoft introduced Phi-2, a model optimized for on-device performance like Gemini Nano. Microsoft’s presented benchmarks show Phi-2 outperforming Gemini Nano in all the tests it included.

Real-world behavior remains the key question

Benchmark results can help compare models under particular test conditions, but they do not settle how well a model will work in an application. The source article notes that real-world behavior is the more interesting question.

For developers, that leaves two things to assess: whether the available tools make integration practical, and whether Gemini Pro’s text-and-image capabilities perform well in the situations their applications need to handle. API access and benchmark claims establish a starting point; experience with the model in actual use will provide a fuller picture.

← Back to the wire

Read next