AIProviders
Google Gemini
Using Google Gemini models.
Google Gemini offers Google's most capable multimodal AI models.
How to get an API key
- Go to Google AI Studio.
- Sign in with your Google account.
- Click on Get API key and create a new key within a new or existing Google Cloud project.
- Add it to your
.envfile asGOOGLE_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.