litellm - 💡(How to fix) Fix [Bug]: Gemini 3.5 Flash via Vertex AI reasoning effort broken

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…

Error Message

Error fetching response:Error: 400 litellm.UnsupportedParamsError: vertex_ai does not support parameters: ['reasoning_effort'], for model=gemini-3.5-flash. To drop these, set litellm.drop_params=True or for proxy:

litellm_settings: drop_params: true . If you want to use these params dynamically send allowed_openai_params=['reasoning_effort'] in your request.. Received Model Group=gemini-3.5-flash Available Model Group Fallbacks=None

Code Example

litellm_settings:
  vertex_location: global
  vertex_project: ...

model_list:
  - model_name: gemini-3.5-flash
    litellm_params:
      model: vertex_ai/gemini-3.5-flash
      reasoning_effort: high
      web_search_options:
        search_context_size: high

---

Error fetching response:Error: 400 litellm.UnsupportedParamsError: vertex_ai does not support parameters: ['reasoning_effort'], for model=gemini-3.5-flash. To drop these, set litellm.drop_params=True or for proxy:

litellm_settings:  drop_params: true
.
If you want to use these params dynamically send allowed_openai_params=['reasoning_effort'] in your request.. Received Model Group=gemini-3.5-flash
Available Model Group Fallbacks=None
RAW_BUFFERClick to expand / collapse

Check for existing issues

  • I have searched the existing issues and checked that my issue is not a duplicate.

What happened?

When running the proxy using Gemini 3.5 Flash via Vertex AI and specifying the reasoning effort, all requests fail with an error. The bug happens on v1.86.2 but not on 1.85.1.

Official docs saying Gemini 3.5 Flash via Vertex AI supports multiple thinking levels: https://docs.cloud.google.com/gemini-enterprise-agent-platform/models/thinking

Proxy config:

litellm_settings:
  vertex_location: global
  vertex_project: ...

model_list:
  - model_name: gemini-3.5-flash
    litellm_params:
      model: vertex_ai/gemini-3.5-flash
      reasoning_effort: high
      web_search_options:
        search_context_size: high

Steps to Reproduce

  1. Set up proxy with Gemini 3.5 Flash via Vertex AI with a reasoning effort
  2. In LiteLLM Playground, select the model and the /v1/chat/completions endpoint.
  3. Send ping as the message.

Relevant log output

Error fetching response:Error: 400 litellm.UnsupportedParamsError: vertex_ai does not support parameters: ['reasoning_effort'], for model=gemini-3.5-flash. To drop these, set litellm.drop_params=True or for proxy:

litellm_settings:  drop_params: true
.
If you want to use these params dynamically send allowed_openai_params=['reasoning_effort'] in your request.. Received Model Group=gemini-3.5-flash
Available Model Group Fallbacks=None

What part of LiteLLM is this about?

Proxy

What LiteLLM version are you on ?

v1.86.2

Twitter / LinkedIn details

No response

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING

litellm - 💡(How to fix) Fix [Bug]: Gemini 3.5 Flash via Vertex AI reasoning effort broken