Integrations
Google AI
Google AI Integration
Connect Gemini models to your HIVE Protocol account.
Setup
Getting Your API Key
- Go to Google AI Studio
- Sign in with your Google account
- Click Get API Key
- Create a new key or use existing
- Copy the key
Adding to HIVE Protocol
- Go to Settings > Integrations
- Find the Google AI card
- Click Configure
- Paste your API key
- Click Save
Available Models
| Model | Description | Context |
|---|---|---|
| gemini-1.5-pro | Most capable, huge context | 1M |
| gemini-1.5-flash | Fast and efficient | 1M |
Configuration Options
Provider: Google AI
API Key: AIza...
Default Model: gemini-1.5-pro
Temperature: 0.7
Max Tokens: 8192Usage Notes
Massive Context Window
Gemini models support up to 1 million tokens:
1M tokens ≈ 750,000 words ≈ 1,500 pagesUse cases for large context:
- Analyzing entire codebases
- Processing long documents
- Extended conversation history
- Multi-document reasoning
Rate Limits
| Plan | RPM | TPM |
|---|---|---|
| Free | 15 | 1,000,000 |
| Pay-as-you-go | 360 | 4,000,000 |
Best Practices
1. Leverage the Context Window
With 1M tokens, you can:
- Include entire documents
- Maintain full conversation history
- Provide extensive reference material
2. Use Flash for Speed
Gemini Flash is extremely fast and cheap:
Pro: Higher quality, $1.25/1M input
Flash: Fast, $0.075/1M input3. Choose the Right Model
| Need | Model |
|---|---|
| Quality + long context | gemini-1.5-pro |
| Speed + cost | gemini-1.5-flash |