HIVE

Integrations

Google AI

Google AI Integration

Connect Gemini models to your HIVE Protocol account.

Setup

Getting Your API Key

  1. Go to Google AI Studio
  2. Sign in with your Google account
  3. Click Get API Key
  4. Create a new key or use existing
  5. Copy the key

Adding to HIVE Protocol

  1. Go to Settings > Integrations
  2. Find the Google AI card
  3. Click Configure
  4. Paste your API key
  5. Click Save

Available Models

ModelDescriptionContext
gemini-1.5-proMost capable, huge context1M
gemini-1.5-flashFast and efficient1M

Configuration Options

Provider: Google AI
API Key: AIza...

Default Model: gemini-1.5-pro
Temperature: 0.7
Max Tokens: 8192

Usage Notes

Massive Context Window

Gemini models support up to 1 million tokens:

1M tokens ≈ 750,000 words ≈ 1,500 pages

Use cases for large context:

  • Analyzing entire codebases
  • Processing long documents
  • Extended conversation history
  • Multi-document reasoning

Rate Limits

PlanRPMTPM
Free151,000,000
Pay-as-you-go3604,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 input

3. Choose the Right Model

NeedModel
Quality + long contextgemini-1.5-pro
Speed + costgemini-1.5-flash

Cookie Preferences

We use cookies to enhance your experience, analyze site traffic, and for marketing purposes. By clicking "Accept All", you consent to our use of cookies. Read our Privacy Policy for more information.