Answer: You can configure generation parameters including temperature, topP, maxOutputTokens, and thinkingConfig in Gemini CLI. Temperature controls output randomness, while topP sets nucleus sampling probability. Status: Confirmed Entry: tool/gemini-cli/models/generation-parameters-reference Revision: 1 Digest: sha256:491f6d65a62db79f (changes whenever the content changes) Timeline: Created: 2026-11-13T03:17:31Z Last changed: 2026-11-13T03:17:31Z Last verified: 2026-11-20T12:50:59Z Next check: 2026-11-21T12:50:59Z Check interval: Daily Expected change: No fixed schedule Data: Field | Value | Source | As of temperature | temperature | [1] | 2026-11-20 topP | topP | [1] | 2026-11-20 maxOutputTokens | maxOutputTokens | [1] | 2026-11-20 thinkingConfig | thinkingConfig | [1] | 2026-11-20 Sources: [1] Google. "Advanced Model Configuration". https://geminicli.com/docs/cli/generation-settings.md Role: primary. Accessed: 2026-11-20T12:50:59Z Quote: "**`temperature`**: (`number`) Controls output randomness." (Supports: temperature) Quote: "**`topP`**: (`number`) Nucleus sampling probability." (Supports: topP) Quote: "**`maxOutputTokens`**: (`number`) Limit on generated response length." (Supports: maxOutputTokens) Quote: "**`thinkingConfig`**: (`object`) Configuration for models with reasoning" (Supports: thinkingConfig) Published: 2026-10-16T02:36:07Z Snapshot SHA-256: 54bc4a3daee4f59b9450c1bfe4a83f88166352c910ee7cae7b132f60e9cbcb56 (captured 2026-11-13T03:17:30Z) Verification: Method: Automated extraction from [1] with deepseek-flash (JSON output, thinking disabled). Every value was checked by code to appear verbatim in a quoted passage of [1]. On this check the text of [1] was unchanged since 2026-11-13T03:17:31Z, so the values verified then were kept. Cross-check: not-available at 2026-11-20T12:50:59Z. No independent second source is configured for this entry Last successful check: 2026-11-20T12:50:59Z Last attempt: 2026-11-20T12:50:59Z Notes and limitations: Extracted automatically from a single official source (section "`GenerateContentConfig` (Common Parameters)"). Related: https://latestn.com/tool/gemini-cli/models/launch-specific-gemini-3-model How do I launch a specific Gemini 3 model directly in Gemini CLI? https://latestn.com/tool/gemini-cli/models/local-model-routing How do I enable or configure local model routing with Gemma in Gemini CLI? https://latestn.com/tool/gemini-cli/models/manual-local-model-routing-setup How do I set up local model routing with a Gemma model in Gemini CLI? https://latestn.com/tool/gemini-cli/models/enable-gemini-3 How do I enable Gemini 3 Pro or Gemini 3 Flash in Gemini CLI? https://latestn.com/tool/gemini-cli/models/enable-local-gemma-model-routing How do I enable local Gemma model routing in Gemini CLI? https://latestn.com/tool/gemini-cli/models/fallback-model-routing How does Gemini CLI automatically switch to a fallback model when the primary model fails? https://latestn.com/tool/ All entries in AI tools Change log: Time | Event | Change | Source 2026-11-13T03:17:31Z | added | Entry created | — Changes for this entry as a feed: https://latestn.com/tool/gemini-cli/models/generation-parameters-reference/latest Challenge this entry: Open challenges: None How: If a value here is wrong or out of date, send what is wrong and a link to evidence. Challenges are queued and checked against the evidence; they do not change the entry by themselves. If the entry changes as a result, the change log says so. Form: https://latestn.com/dispute/tool/gemini-cli/models/generation-parameters-reference POST: https://latestn.com/dispute/tool/gemini-cli/models/generation-parameters-reference with claim, evidence_url, and optionally field and contact (form-encoded or JSON) GET: https://latestn.com/dispute/tool/gemini-cli/models/generation-parameters-reference?claim={what is wrong}&evidence_url={link} How to cite: LatestN. (2026). Which generation parameters like temperature and topP can I configure in Gemini CLI? Revision 1, last verified 2026-11-20T12:50:59Z. https://latestn.com/tool/gemini-cli/models/generation-parameters-reference (accessed 2026-11-21T09:52:22Z). @misc{LatestN_tool_gemini_cli_models_generation_parameters_reference_r1, title = {Which generation parameters like temperature and topP can I configure in Gemini CLI?}, author = {{LatestN}}, year = {2026}, howpublished = {\url{https://latestn.com/tool/gemini-cli/models/generation-parameters-reference}}, note = {Revision 1; digest sha256:491f6d65a62db79f; last verified 2026-11-20T12:50:59Z; accessed 2026-11-21T09:52:22Z} } Reuse: License: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/) Attribution: Copying and adapting are allowed, including commercially, if you credit LatestN and link to the entry you used. Each entry ends with a ready-made citation. URL: https://latestn.com/tool/gemini-cli/models/generation-parameters-reference