AI Provider Setup · BYOK
1M-token context from Google AI Studio — Gemini 2.5 Pro, Flash, and Flash-Lite.
Google Gemini 2.5 Pro's 1M-token context window is the largest in the frontier. Good fit when you need to feed it very large inputs in a single call — ad creative libraries, product catalogs, long video transcripts. Keys come from Google AI Studio (not Google Cloud Vertex AI).
GOOGLE_API_KEYGo to aistudio.google.com and sign in with a Google account. AI Studio is separate from Google Cloud Vertex — do not use the Vertex console.
The free tier has very strict rate limits. Open aistudio.google.com and click Set up billing to upgrade to the paid tier — much higher limits.
Navigate to aistudio.google.com/app/apikey. You can create keys scoped to specific Google Cloud projects.
Click Create API key. Pick a project (or let Google create one) and give it a name. The full key appears immediately.
You can always re-view Google AI Studio keys later, but copy it now for convenience.
Go to Settings then AI Providers, find the Google Gemini row, paste the key, and click Connect.
gemini-2.5-pro is our recommendation — 1M context and best reasoning. Use gemini-2.5-flash or flash-lite for cheap high-volume work.
Make sure the Generative Language API is enabled in your Google Cloud project (AI Studio usually enables it automatically).
Once you've pasted your key into /settings/ai-providers, hit Test. Admaxxer makes a single no-cost call against the provider's /v1/models (or equivalent) endpoint and reports back:
These are the pinned model IDs Admaxxer tests against. The model picker in chat will show these plus any live-catalog entries the provider returns.
| Model ID | Display name | Context | Tools | Best for |
|---|---|---|---|---|
gemini-2.5-pro |
Gemini 2.5 Pro (recommended) | 1000K | Yes | 1M context, best reasoning in the Gemini family. Default pick. |
gemini-2.5-flash |
Gemini 2.5 Flash | 1000K | Yes | Much cheaper than Pro. Great for classification, summarization, batch work. |
gemini-2.5-flash-lite |
Gemini 2.5 Flash-Lite | 1000K | Yes | Cheapest Gemini tier that still supports tools. Good for light tasks at scale. |
When it happens: On Connect if the key is wrong or restricted to another referrer.
Fix: Open aistudio.google.com/app/apikey, confirm the key, and remove any HTTP referrer restriction.
When it happens: Quickly on the free tier — per-minute and per-day limits are low.
Fix: Enable billing in AI Studio. Paid tier limits are much higher.
When it happens: If the Generative Language API is not enabled on the underlying GCP project.
Fix: Open console.cloud.google.com and enable Generative Language API for the project tied to this key.
When it happens: If the model name is stale (Gemini model names change).
Fix: Use gemini-2.5-pro or gemini-2.5-flash. Check ai.google.dev/models for the current list.
When it happens: If a response is blocked by Gemini's content safety filters.
Fix: Rephrase the prompt. Admaxxer surfaces the filter reason — adjust the ad copy or source text accordingly.