llm-gemini 0.38.1
Simon Willison released llm-gemini 0.38.1, fixing a issue with reasoning levels. The update affects Gemini 4 models.
Original reporting · simonwillison.net
Read “llm-gemini 0.38.1” at Simon Willison →
How this was written. Content Delta wrote this article with a language model from Simon Willison’s reporting (model: @cf/meta/llama-3.3-70b-instruct-fp8-fast); it describes that reporting rather than adding to it. The original, linked above, is the full story.
Key points from Simon Willison’s report
- The llm-gemini 0.38.1 release fixes an issue with reasoning levels for Gemini 4 models.
- Gemini 4 Carbon supports low, medium, and high reasoning levels.
- Gemini 4 Hydrogen and Gemini 4 Neon have an additional 'xhigh' reasoning level.
Simon Willison reported the release of llm-gemini 0.38.1, according to his publication. The release notes mention a fix for an issue with the llm-gemini plugin.
The issue was related to the supported reasoning levels of different Gemini 4 models. Specifically, Gemini 4 Carbon only supports low, medium, and high reasoning levels.
In contrast, Gemini 4 Hydrogen and Gemini 4 Neon have an extra 'xhigh' level. This distinction was missed when the models were added to the llm-gemini plugin, leading to the need for a fix.
Questions and answers
What was the issue with the llm-gemini plugin?
The issue was that the plugin did not account for the extra 'xhigh' reasoning level in Gemini 4 Hydrogen and Gemini 4 Neon models.
Which models are affected by the update?
The update affects Gemini 4 Carbon, Gemini 4 Hydrogen, and Gemini 4 Neon models.


