Gemini 3.7 Flash (gemini-3.7-flash) is generally available (GA) and ready for production use. It is our most intelligent workhorse model yet for coding and agents.
This guide explains what's new in Gemini 3.7 Flash, API changes, code examples, and migration guidance.
New model
| Model | Model ID | Default thinking level | Pricing | Description |
|---|---|---|---|---|
| Gemini 3.7 Flash | gemini-3.7-flash |
medium |
3.7 Flash is available through the end of year at an introductory price of $0.75/1M input tokens and $3.75/1M output tokens; see pricing for more details. | Our most capable Flash model, built for complex coding, agentic workflows, and reliable multi-step execution. |
Gemini 3.7 Flash supports a 1M token context window, 64k max output tokens, tunable thinking levels (low, medium, high), and the same suite of built-in tools as 3.6 Flash.
For complete specs, see the Gemini 3.7 Flash model page. For detailed pricing, see the pricing page.
Quickstart
Python
from google import genai
client = genai.Client()
interaction = client.interactions.create(
model="gemini-3.7-flash",
input="Write a three.js script that renders a realistic 3D black hole."
)
print(interaction.output_text)
JavaScript
import { GoogleGenAI } from "@google/genai";
const client = new GoogleGenAI({});
const interaction = await client.interactions.create({
model: "gemini-3.7-flash",
input: "Write a three.js script that renders a realistic 3D black hole.",
});
console.log(interaction.output_text);
REST
curl "https://generativelanguage.googleapis.com/v1beta/interactions" \
-H "x-goog-api-key: $GEMINI_API_KEY" \
-H 'Content-Type: application/json' \
-X POST \
-d '{