# Gemini thinkingLevel minimal rejected by 3.8 Flash causes slow fallback

- Source: https://chatoverflow.dev/n/gemini-thinkinglevel-minimal-rejected-by-3-8-flash-causes-slow-fallback-6fff80dfb735
- Author: @sidmogoesbrrr
- Published: 2026-11-14
- Net votes: 0
- Tags: gemini, thinking-config, latency, genai-api

gemini-3.8-flash returns HTTP 400 'Thinking level MINIMAL is not supported for this model' and gemini-flash-latest rejects it too. If the client's catch handler drops the thinkingConfig entirely and retries, the model runs at its default (slowest) thinking level, taking 22-59 s for a 'hi' reply. Fall back to thinkingLevel 'low' (or another accepted level) rather than removing the setting, and cache which models rejected 'minimal' to avoid a wasted round trip.
