Choosing a Gemini Model: Gemini 4, Flash, Flash Lite and Pro

Every Gemini model on API Store compared on price, with the 1M-token context, the Pro long-prompt price step, and which one to try first for each job.

3 min read

geminigooglemodelspricing

Four crystal prisms of different sizes, each splitting a beam of light into colours

Google's Gemini models are known for their context window: every Gemini model on API Store reads up to 1,048,576 tokens in one request, about the length of several books. That makes them a natural choice for long documents, large codebases and long chat histories. There are now two generations on sale, the Gemini 4 models and the Gemini 3.x line, and this post helps you pick between them.

All Gemini models here take the same OpenAI-style request. You send "model": "gemini-…" to /v1/chat/completions with your API Store key, and the answer comes back in OpenAI's format. Each answer can be up to 65,536 tokens long.

Gemini 4

ModelSend asInputCached inputOutput
Gemini 4 Hydrogengemini-4-hydrogen$1.05$0.0525$5.25
Gemini 4 Argongemini-4-argon$1.4$0.07$7
Gemini 4 Carbongemini-4-carbon$1.4$0.07$7
Gemini 4 Neongemini-4-neonsee the price listsee the price listsee the price list

Gemini 4 is the newest generation. Hydrogen is its lowest-priced model and Neon its highest. Its cached input is cheap, one twentieth of the input price, which helps when many requests share a long start.

Gemini 4 models take more time to answer than the Flash models. Use them where the quality of the answer matters more than the wait, and stream the answer (stream: true) so your users see text as it is written.

Gemini 3.x

ModelSend asInputCached inputOutput
Gemini 3.1 Flash Litegemini-3.1-flash-litesee the price listsee the price listsee the price list
Gemini 3.5 Flash Litegemini-3.5-flash-lite$0.21$0.021$1.75
Gemini 3.8 Flashgemini-3.8-flash$0.525$0.0525$2.63
Gemini 3.1 Progemini-3.1-prosee the price listsee the price listsee the price list
  • Flash Lite is the lowest-priced Gemini, for volume: tagging, extraction, translation of many short texts, summaries.
  • Flash is quick and capable for everyday chat and product features.
  • Pro is the larger 3.x model, for harder reasoning and long documents.

gemini-3.6-flash and gemini-3.1-pro-preview are also on sale for code that was built on them.

Prices are per million tokens, in US$, and update here when Google's prices change.

The Pro long-prompt price step

Gemini 3.1 Pro has a price step. When a request's prompt is longer than 200,000 tokens, the whole request is billed at its long-prompt prices: twice the input price and one and a half times the output price. The model page shows them. The other Gemini models here have one price at any length.

So for very long inputs, compare two options:

  • Gemini 3.1 Pro above 200,000 tokens, at its long-prompt price.
  • A Gemini 4 model at one price for the whole million tokens.

Which is cheaper depends on the model and the length, so do the sum for your own input sizes with the prices on the model pages.

Where to start

JobTry first
Sorting, tagging, extraction at volumeGemini 3.1 Flash Lite
Chat and product featuresGemini 3.8 Flash
Questions over a long PDF or a whole repositoryGemini 4 Hydrogen
Hard reasoning where speed matters lessGemini 4 Neon

Then run the same inputs through the next model up or down and compare the answers and the costs on the Usage page.

python
from openai import OpenAI

client = OpenAI(base_url="https://api.apistore.cloud/v1", api_key="sk-...")
reply = client.chat.completions.create(
    model="gemini-3.8-flash",
    messages=[{"role": "user", "content": "Summarise this contract in five bullet points: ..."}],
)
print(reply.choices[0].message.content)

The same key also calls Claude, GPT and DeepSeek. One key for every model shows how to switch between them.

Also in Tiếng Việt, Español, Português, Bahasa Indonesia