• Google
  • Text
  • 1.05M context

Gemini 3.7 Flash API: pricing, capabilities and setup

Gemini 3.7 Flash API: Google's Flash-tier model for code and agentic work with a 1M-token context window; in the catalog for projects already tuned on it.

pay as you go · no subscription · key right after sign-up

Model ID
Input
$0.225 / 1M
Output
$1.125 / 1M
Get a key No subscription · pay as you go

How much Gemini 3.7 Flash costs

  • Input
    $0.225
    per 1M tokens
  • Output
    $1.125
    per 1M tokens
  • Cache read
    $0.0225
    per 1M tokens
  • Cache write
    $0.225
    per 1M tokens · same as input

Cost calculator

30 M tokens

75%

The rest is output

With llmbox
$14

What a typical task costs

TaskTokens (input / output)With llmbox
Short chat2 000 / 500$0.00101
Code review20 000 / 2 000$0.00675
Document summary40 000 / 2 000$0.01125
Agent session600 000 / 30 000$0.16875

Specs

  • Context
    1.05M
    tokens
  • Max output
    66K
    tokens
  • Input
    text

Setup in three steps

  1. 01
    Get a key

    Sign up and create an API key in the dashboard.

    Get a key →
  2. 02
    Set the base URL

    In any OpenAI-compatible client, point the API address to:

  3. 03
    Pass the model id

    Put this identifier in the model field:

import os
from openai import OpenAI

client = OpenAI(
    base_url="https://llmbox.cc/v1",
    api_key=os.environ["LLMBOX_API_KEY"],
)
resp = client.chat.completions.create(
    model="google/gemini-3.7-flash",
    messages=[{"role": "user", "content": "Hi! Tell me about yourself in two sentences."}],
)
print(resp.choices[0].message.content)

What Gemini 3.7 Flash is good for

Gemini 3.7 Flash is a Flash-tier model in Google's Gemini 3 generation. Google Cloud's documentation calls it the primary agentic workhorse of the Gemini 3 family, sitting between the deep-reasoning Pro models and Flash Lite, which is built for high volumes of simple requests. According to Google's documentation, it has a 1,048,576-token context window and a single response returns up to 65,536 tokens. On llmbox the model works with text: text in, text out.

What it's good for

The main reason to pick 3.7 Flash from the catalog is a service that already runs on this model. Google has deprecated 3.7 Flash and recommends moving to Gemini 3.8 Flash, but changing the model in a production service means re-checking its answers. While you do that, the project can keep running on the familiar version and 3.8 Flash can receive the same requests for comparison.

Per Google, 3.7 Flash is built for agentic work and programming: generating code from a spec, debugging, and making changes based on review comments. Reasoning is on by default at the medium level; Google's documentation also lists low and high, while the minimal level that 3.6 Flash had is not supported in this version. The 1M-token window lets you pass a long document or an exported conversation in full and get a summary or an answer about it.

When it's not the right fit

  • A new project — start with Gemini 3.8 Flash: it is the newer version, and through llmbox it supports your functions, JSON-schema output, image input and Codex CLI.
  • The hardest reasoning and large code changes — compare with Gemini 4 Argon.
  • High-volume labeling and short answers — Gemini 3.1 Flash Lite is built for large volumes of simple requests.

How to connect

You call 3.7 Flash from your own code through the OpenAI SDK or another OpenAI-compatible client with an llmbox key — no AI Studio key or Google Cloud project needed; the key and base URL are covered in the Quickstart. To prepare the switch, send the same set of real requests to 3.7 Flash and 3.8 Flash: the key stays the same when you change models, tokens and cost for both show up in the request log in your dashboard, and you compare the answers on your side.

Gemini 3.7 Flash API pricing

The rates per 1M input, output and cache-read tokens are on this page. Reasoning tokens count as output, so the cost of an answer also depends on how much the model reasoned. You pay from a prepaid balance as you go, with no subscription; spend by day and by model is in the Usage section of your dashboard.

Typical tasks

  • Projects and prompts already tuned on 3.7 Flash
  • Generating and reviewing code in your own service
  • Answering questions over long documents and conversations
  • Comparing against 3.8 Flash before you switch

Gemini 3.7 Flash or Gemini 3.8 Flash?

ModelInput · 1MOutput · 1M
Gemini 3.7 Flash$0.225$1.125
Gemini 3.8 Flash$0.225$1.125

Gemini 3.7 Flash vs neighbours

ModelInput · 1MOutput · 1M
Gemini 3.7 Flash$0.225$1.125
Gemini 3.1 Flash Lite $0.10$0.40
Gemini 3.8 Flash $0.225$1.125
Gemini 3.6 Flash $0.25$1.215
Gemini 3.1 Pro Preview $0.30$1.70
Qwen3.8 Max Qwen$0.225$0.7875
All Google models

Other Google models

FAQ

How is Gemini 3.7 Flash different from Gemini 3.8 Flash?

3.8 Flash is the newer version: Google has deprecated 3.7 Flash and names 3.8 Flash as its replacement. Through llmbox, 3.8 Flash supports your own functions, JSON-schema output, image input and Codex CLI, so new projects should start there.

How is 3.7 Flash different from Gemini 3.6 Flash?

Google recommends migrating to 3.7 Flash from 3.5 Flash and 3.6 Flash and describes it as focused on agentic work and code. Per Google's documentation, 3.6 Flash has a minimal reasoning level, while 3.7 Flash offers only low, medium and high, with medium as the default.

Why use 3.7 Flash if 3.8 Flash exists?

So that a project tuned on 3.7 Flash keeps running on a familiar model while you compare it with 3.8 Flash on your own requests. Switching only changes the model ID — your llmbox key stays the same.

How do I connect Gemini 3.7 Flash through llmbox?

Create a key in your dashboard and pass it, together with the llmbox base URL, to any OpenAI-compatible client, with google/gemini-3.7-flash as the model. Step-by-step setup is in the Quickstart.

How is Gemini 3.7 Flash billed?

Per input, output and cache-read token at the per-1M-token rates on this page, from a prepaid balance as you go. Reasoning tokens count as output.