Google offers two primary platforms to access its LLMs, including the latest Gemini models:
1. Google AI platform
The Google AI platform provides a straightforward setup for developers and users, and access to the latest Gemini models. To use the Gemini models via Google AI:
- Google Account: A standard Google account is sufficient for authentication.
- API Key: Generate an API key to authenticate your requests.
- Visit this page to create your API key: https://ai.google.dev/gemini-api/docs/api-key
- After obtaining the API key, set the
GOOGLE_API_KEY
environment variable in your development environment (see the instructions for OpenAI) to authenticate your requests.
2. Google Cloud Vertex AI
For enterprise-level features and integration, Google’s Gemini models are available through Google Cloud’s Vertex AI platform. To use models via Vertex AI:
- Create a Google Cloud account, which requires accepting the terms of service and setting...