Google
8 params
Google Gemini 3.7 Flash API parameters
These are the API parameters modelparams.dev tracks for Google Gemini 3.7 Flash — the settings you send in a request. Each row gives the type, default, valid range or values, and the conditions that gate it. It's the same data the JSON API serves.
After the parameter count instead — how many weights Gemini 3.7 Flash has? That's a different number, and we don't track it. Here's the difference.
Length
1 param
| Parameter | Type | Default | Description | Condition |
|---|---|---|---|---|
|
Max output tokens
generationConfig.maxOutputTokens
|
integer (1…65536) | — | Maximum number of tokens to include in a response candidate. | — |
Sampling
4 params
| Parameter | Type | Default | Description | Condition |
|---|---|---|---|---|
|
Temperature
generationConfig.temperature
|
number (0…2 step 0.1) | 1 | Controls randomness. Lower values make outputs more focused; higher values make them more varied. | — |
|
Top P
generationConfig.topP
|
number (0…1 step 0.01) | 0.95 | Controls nucleus sampling by limiting generation to tokens within the selected cumulative probability. | — |
|
Top K
generationConfig.topK
|
integer (0…+∞) | 64 | Limits token sampling to the top K most likely next tokens. | — |
|
Seed
generationConfig.seed
|
integer | — | Optional seed used for decoding when reproducible sampling is desired. | — |
Reasoning
2 params
| Parameter | Type | Default | Description | Condition |
|---|---|---|---|---|
|
Thinking level
generationConfig.thinkingConfig.thinkingLevel
|
enum (minimal | low | medium | high) | "minimal" | Controls Gemini 3.1 Flash-Lite reasoning effort. | — |
|
Include thoughts
generationConfig.thinkingConfig.includeThoughts
|
boolean | false | Controls whether Gemini returns available thought summaries in the response parts. | — |
Output
1 param
| Parameter | Type | Default | Description | Condition |
|---|---|---|---|---|
|
Response MIME type
generationConfig.responseMimeType
|
enum (text/plain | application/json) | "text/plain" | MIME type for generated text candidates. | — |
Google Gemini 3.7 Flash API parameters in brief
Google Gemini 3.7 Flash documents 8 API parameters, grouped by what they control:
-
Length:
generationConfig.maxOutputTokensrange 1–65536. -
Sampling:
generationConfig.temperaturedefaults to 1, range 0–2;generationConfig.topPdefaults to 0.95, range 0–1;generationConfig.topKdefaults to 64, minimum 0;generationConfig.seed. -
Reasoning:
generationConfig.thinkingConfig.thinkingLeveldefaults to "minimal", accepts "minimal", "low", "medium", "high";generationConfig.thinkingConfig.includeThoughtsdefaults to false. -
Output:
generationConfig.responseMimeTypedefaults to "text/plain", accepts "text/plain", "application/json".
Frequently asked questions
- Which API parameters does Google Gemini 3.7 Flash support?
- Google Gemini 3.7 Flash accepts 8 API parameters in the request body: generationConfig.maxOutputTokens, generationConfig.temperature, generationConfig.topP, generationConfig.topK, generationConfig.seed, generationConfig.thinkingConfig.thinkingLevel, and more.
Resources
Other Google models
Gemini 2.5 Flash
8 params
View
Gemini 2.5 Flash
Subscription
8 params
View
Gemini 2.5 Flash Lite
8 params
View
Gemini 2.5 Flash Lite
Subscription
8 params
View
Gemini 2.5 Pro
8 params
View
Gemini 2.5 Pro
Subscription
8 params
View
Gemini 3 Flash Preview
8 params
View
Gemini 3 Flash Preview
Subscription
8 params
View
Gemini 3.1 Flash Lite
8 params
View
Gemini 3.1 Flash Lite
Subscription
8 params
View
Gemini 3.1 Flash Lite Preview
8 params
View
Gemini 3.1 Flash Lite Preview
Subscription
8 params
View
Gemini 3.1 Pro Preview
8 params
View
Gemini 3.1 Pro Preview
Subscription
8 params
View
Gemini 3.1 Pro Preview Customtools
8 params
View
Gemini 3.5 Flash
8 params
View
Gemini 3.5 Flash Lite
8 params
View
Gemini 3.6 Flash
8 params
View
Gemini Flash Latest
8 params
View
Gemma 3 12B IT
4 params
View
Gemma 3 1B IT
4 params
View
Gemma 3 27B IT
4 params
View
Gemma 3 4B IT
4 params
View
Gemma 3n E2B IT
4 params
View
Gemma 3n E4B IT
4 params
View
Gemma 4 12B IT
4 params
View
Gemma 4 26B A4B IT
9 params
View
Gemma 4 31B IT
9 params
View
Gemma 4 E2B IT
4 params
View
Gemma 4 E4B IT
4 params
View