Google Gemini

Connect Google's Gemini API with a key, and how its thinking settings map to the Hub's.

Google's Gemini models through your own Google AI Studio key, billed per token to your Google account.

Set it up#

  1. Make an API key at https://aistudio.google.com/apikey.
  2. In Settings → Model Hub → Providers, select the Google Gemini tile and paste the key into API key.
  3. Select Test.

Models and prices#

ModelIn, per millionOut, per millionFor
gemini-3.8-flash$0.75$3.75Most work
gemini-3.5-flash-lite$0.30$2.50Bulk and quick work
gemini-3.1-pro-preview$2.00$12.00Hard judgment
gemini-2.5-pro$1.25$10.00
gemini-2.5-flash$0.30$2.50
gemini-embedding-001$0.15Embeddings

Prices were checked on 2026-10-06 and are the base rate; Google charges Pro models more for prompts over 200 000 tokens, which the ledger does not model. Google reports no cost per call, so the ledger's cost is the listed price.

Reasoning#

Gemini models think by default. The Reasoning option maps to Gemini's thinkingConfig by generation:

ModelOffLow, Medium, High
Gemini 3 Flash modelsthinkingLevel: minimalthe level
Gemini 3 ProthinkingLevel: low (it goes no lower)the level
Gemini 2.5 FlashthinkingBudget: 0a budget of the Hub's size
Gemini 2.5 ProthinkingBudget: 128 (its floor)a budget of the Hub's size

Role’s setting is Off unless the role asks for a level.

Web research#

Research roles use Gemini's Google Search grounding. Sources come back with the reply.

Model Hub is made by a worker-owned workshop, free and open source. About Model Hub