LLM Providers
Google GenAI Plugin
Google Gemini models integration for ElizaOS
Features
- Gemini models - Access to Gemini Pro and Gemini Pro Vision
- Multimodal support - Process text and images
- Embedding models - Native embedding support
- Safety settings - Configurable content filtering
Installation
Configuration
Environment Variables
Character Configuration
Supported Operations
Operation | Models | Notes |
---|---|---|
TEXT_GENERATION | gemini-pro, gemini-pro-vision | Multimodal capable |
EMBEDDING | embedding-001 | 768-dimensional |
OBJECT_GENERATION | All Gemini models | Structured output |
Model Configuration
The plugin uses three model categories:
- SMALL_MODEL: Fast, efficient for simple tasks
- LARGE_MODEL: Best quality, complex reasoning
- IMAGE_MODEL: Multimodal capabilities (text + vision)
- EMBEDDING_MODEL: Vector embeddings
You can configure any available Gemini model:
- Gemini 2.0 Flash (latest)
- Gemini 2.5 Pro Preview
- Gemini 1.5 Pro/Flash
- Gemini Pro (legacy)
- Any new models Google releases
Safety Configuration
Control content filtering:
Usage Tips
- Multimodal - Leverage image understanding capabilities
- Long Context - Gemini 1.5 Pro supports up to 1M tokens
- Rate Limits - Free tier has generous limits
Cost Structure
- Free tier: 60 queries per minute
- Paid tier: Higher limits and priority access
- Embedding calls are separate from generation