Vertex Gemini 2.5 Flash Lite API parameters
These are the API parameters modelparams.dev tracks for Vertex Gemini 2.5 Flash Lite — 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.
This model is deprecated. Shutdown date: 2026-10-20. Suggested replacement: vertex/gemini-3.1-flash-lite.
After the parameter count instead — how many weights Gemini 2.5 Flash Lite has? That's a different number, and we don't track it. Here's the difference.
Length
3 params
| Parameter | Type | Default | Description | Condition |
|---|---|---|---|---|
|
Max output tokens
generationConfig.maxOutputTokens
|
integer (1…65536) | — | Maximum number of tokens to include in a response candidate. | — |
|
Candidate count
generationConfig.candidateCount
|
integer (1…8) | — | How many independent completions to generate for one request. | — |
|
Stop sequences
generationConfig.stopSequences
|
string | — | A list of strings where the model stops generating further tokens. | — |
Sampling
6 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 (1…+∞) | 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. | — |
|
Presence penalty
generationConfig.presencePenalty
|
number (-2…1) | — | Penalises tokens that already appeared, pushing the model toward new topics. | — |
|
Frequency penalty
generationConfig.frequencyPenalty
|
number (-2…1) | — | Penalises tokens in proportion to how often they have already appeared. | — |
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. | — |
Vertex Gemini 2.5 Flash Lite API parameters in brief
Vertex Gemini 2.5 Flash Lite documents 10 API parameters, grouped by what they control:
-
Length:
generationConfig.maxOutputTokensrange 1–65536;generationConfig.candidateCountrange 1–8;generationConfig.stopSequences. -
Sampling:
generationConfig.temperaturedefaults to 1, range 0–2;generationConfig.topPdefaults to 0.95, range 0–1;generationConfig.topKdefaults to 64, minimum 1;generationConfig.seed;generationConfig.presencePenaltyrange -2–1;generationConfig.frequencyPenaltyrange -2–1. -
Output:
generationConfig.responseMimeTypedefaults to "text/plain", accepts "text/plain", "application/json".
Frequently asked questions
- Which API parameters does Vertex Gemini 2.5 Flash Lite support?
- Vertex Gemini 2.5 Flash Lite accepts 10 API parameters in the request body: generationConfig.maxOutputTokens, generationConfig.temperature, generationConfig.topP, generationConfig.topK, generationConfig.seed, generationConfig.candidateCount, and more.
Resources
Other Vertex models
Gemini 2.5 Flash
12 params
View
Gemini 2.5 Pro
12 params
View
Gemini 3 Flash Preview
13 params
View
Gemini 3.1 Flash Lite
13 params
View
Gemini 3.1 Pro Preview
13 params
View
Gemini 3.1 Pro Preview Customtools
13 params
View
Gemini 3.5 Flash
13 params
View
Gemini 3.5 Flash Lite
11 params
View
Gemini 3.6 Flash
11 params
View
Gemini 3.7 Flash
11 params
View