Available Models
Gemini Pro (Recommended)
Model:gemini-pro
Gemini Pro Vision
Model:gemini-pro-vision
Setup
Step 1: Get API Key
- Go to Google AI Studio
- Click “Create API Key”
- Select your GCP project
- Copy the API key
Step 2: Enable Gemini API
In Google Cloud Console:- Go to Google Cloud Console
- Search for “Generative Language API”
- Click “Enable”
- Wait for API to activate (usually instant)
Step 3: Add to CallIntel
For Super Admins:- Go to Settings → Developer Settings
- Click “API Keys”
- Select “Google Gemini” from provider list
- Paste API key
- Click “Test Connection”
- Save
- Go to Settings → AI Models
- Click “Add Google Gemini”
- Paste API key
- Select which models to enable
- Save
Step 4: Configure Agent
- Create or Edit an Agent
- Under “Language Model”, select:
gemini-proorgemini-pro-vision
- Configure settings:
- Temperature: 0.7 (default)
- Max Tokens: 200
- Save agent
Step 5: Test
Make a test call:- Use Web Call feature
- Speak with agent
- Verify responses
- Check logs
Model Selection
Gemini vs OpenAI
| Feature | Gemini | GPT-3.5 |
|---|---|---|
| Quality | ⭐⭐⭐⭐⭐ | ⭐⭐⭐⭐ |
| Speed | ⭐⭐⭐⭐⭐ | ⭐⭐⭐⭐⭐ |
| Cost | ⭐⭐⭐⭐⭐ | ⭐⭐⭐⭐ |
| Vision | ✓ | ✗ |
| Function Calling | ✓ | ✓ |
When to Use Gemini
Advantages:- Slightly cheaper than GPT-3.5
- Faster responses
- Native vision support
- Great for document analysis
- Excellent multilingual support
- High-volume customer service
- Document verification
- Multilingual agents
- Vision-based tasks
- Cost-sensitive operations
Configuration
Temperature
Controls response variability (0-2):Top P
Controls diversity (0-1):Top K
Controls output (1-40):Cost Comparison
Monthly Costs (1000 calls)
Gemini Vision Costs
Advanced Features
Image Analysis
Process images with Gemini Pro Vision:Function Calling
Enable agents to interact with external systems:Streaming Responses
Get responses progressively:Optimization
1. Use Gemini for High Volume
2. Optimize Prompts
Keep system prompts concise:3. Reduce Token Usage
Monitoring
API Usage
Check Gemini API usage:- Go to Google AI Studio
- View usage statistics
- Check spending rate
- Monitor quota limits
Call Metrics
Track in CallIntel dashboard:Best Practices
1. Start with Gemini Pro
2. Use Vision Sparingly
3. Monitor Response Quality
4. Test Before Deploying
Troubleshooting
Getting 'API key invalid' error
Getting 'API key invalid' error
Verify key format is correct, API is enabled in Google Cloud Console, and key is for Gemini API.
Responses are slower than expected
Responses are slower than expected
Gemini is typically fast, but check network latency. Try reducing max_tokens.
Vision requests failing
Vision requests failing
Ensure image format is supported (JPEG, PNG, GIF). Check file size isn’t too large.
Cost is higher than expected
Cost is higher than expected
Check if using vision model. Vision requests cost 2-3x more. Switch to Gemini Pro for text-only.
See Also
AI Models Overview
Compare all AI providers
OpenAI Models
Using OpenAI models
Agent Setup
Create and configure agents
Support
Google Gemini Docs
Contact Support
Email: callintel01@gmail.com