Skip to main content

Google Gemini

Google Gemini is the recommended AI provider for most QA Hub deployments. It offers a generous free tier, fast response times, and strong performance on structured test generation tasks.

Get an API key

  1. Go to aistudio.google.comGet API key.
  2. Create a new key or use an existing one.
  3. Copy the key — it starts with AIza.

Configure in QA Hub

  1. Go to Settings → AI Model.
  2. Select Google Gemini as the provider.
  3. Paste your API key.
  4. Select a model (see below).
  5. Click Test connection, then Save.

Available models

ModelSpeedContextBest for
gemini-2.0-flashFast1M tokensHigh-volume generation, default choice
gemini-2.5-proSlower2M tokensComplex acceptance criteria, nuanced output
gemini-1.5-proMedium2M tokensStable production workloads

Thinking mode

Gemini 2.5 Pro supports extended thinking, which improves output quality for complex scenarios at the cost of higher latency and token usage. Disable it in Settings if speed is a priority:

Settings → AI Model → Disable thinking mode (Gemini)

Free tier limits

The Gemini free tier allows up to 1,500 requests per day and 1M tokens per minute on Flash models. For teams generating more than ~200 test cases per day, a paid plan is recommended.

Troubleshooting

ErrorCauseFix
429 RESOURCE_EXHAUSTEDDaily quota hitWait until reset or upgrade plan
403 API_KEY_INVALIDWrong or revoked keyGenerate a new key in AI Studio
503 overloadedTemporary Google outageRetry — QA Hub does not set quota flag for this