What it’s good for
Fast, capable models with generous free tiers. Gemini handles both chat and embeddings from a single provider, so there’s no two-server setup needed. Good for getting started quickly with a cloud provider.Requirements
- A Google AI API key
- Generate one at aistudio.google.com
Configure in Spaceduck
Chat
1
Set your API key
In Settings > Chat, select Google Gemini as the provider, then enter your API key.Or via CLI:
2
Select a model
In Settings > Chat:
- Provider: Google Gemini
- Model: e.g.,
gemini-2.5-flashorgemini-2.0-pro
3
Verify
Send a message in the chat. You should see a streaming response.
Embeddings
Gemini provides text embeddings through the same API key.1
Configure embedding model
In Settings > Memory:
- Toggle Semantic recall on
- Provider: Google Gemini (or “Same as chat provider”)
- Model:
text-embedding-004 - Dimensions: leave empty for the provider default
2
Test
Click the Test button in Settings > Memory.
