Documentation
AIProviders

Google Gemini

Using Google Gemini models.

Google Gemini offers Google's most capable multimodal AI models.

How to get an API key

  1. Go to Google AI Studio.
  2. Sign in with your Google account.
  3. Click on Get API key and create a new key within a new or existing Google Cloud project.
  4. Add it to your .env file as GOOGLE_GENERATIVE_AI_API_KEY.

Available Models

  • Gemini 1.5 Pro: The most capable model with a massive context window (up to 2M tokens). Best for analyzing massive codebases, long videos, or huge documents.
  • Gemini 1.5 Flash: Fast and cost-efficient. Great for high-volume multimodal tasks and quick responses.

On this page