llm-gemini 0.38.1
AI-generated summary of reporting by Simon Willison’s Weblog. Read the original for the full story.
Why it matters
The xhigh reasoning level is a real cost lever: Gemini 4 Hydrogen at xhigh cost 23.61 cents versus 3.99 cents at high, so llm-gemini users can now actually select it.
Simon Willison maintains a free add-on called llm-gemini that lets people use Google's Gemini AI models through a command-line tool. Google's newest models offer a 'reasoning level' setting that controls how much thinking the AI does before answering. Some new models offer an extra-highest level called xhigh that Willison had accidentally left out. Version 0.38.1 fixes that, and it turns out xhigh makes the AI think much longer and cost about six times more.
This is a minor bug-fix release for a developer tool, not a business event. The substantive detail: Gemini 4 Hydrogen at the xhigh reasoning level produced 31,477 output tokens at 23.61 cents versus 5,311 tokens at 3.99 cents on high, a roughly sixfold cost difference that teams choosing reasoning levels should know. Only Google's Gemini 4 Hydrogen and Neon support xhigh; Carbon caps at high.
llm-gemini 0.38.1 fixes plugin support for the xhigh reasoning level on Gemini 4 Hydrogen and Gemini 4 Neon; Gemini 4 Carbon supports only low, medium and high. Willison's updated comparison grid shows Hydrogen at xhigh emitting 31,477 output tokens at 23.61 cents versus 5,311 tokens at 3.99 cents at high, and producing a pelican drawing competitive with Gemini 4 Neon. Token usage and cost figures come from his own benchmark runs.
Questions this answers
The article above answers these:
- Which Gemini 4 models support the xhigh reasoning level?
- How much more does Gemini 4 Hydrogen xhigh cost than high?
- What changed in llm-gemini 0.38.1?
Read the original
This summary exists to save you time, not to replace the source.
Key terms
llm-gemini Gemini 4 Carbon Gemini 4 Hydrogen Gemini 4 Neon Pyodide Datasette
Was this summary useful?
One click, anonymous. It tells us which summaries to re-run.
Related reading
Code-driven AI illustrations are more useful than images from dedicated image models
Code-driven AI illustrations let designers edit assets directly in code, saving time on iteration and ensuring consistency, which is a game-changer for teams that need rapid, reusable visual content.
A hierarchical note-taking app for building large personal knowledge bases
Trilium lets users build and navigate massive personal knowledge bases without duplicating content, saving time on organization and retrieval.
Desktop apps in Go with native UI or web frontend
Go developers can now ship cross-platform desktop and mobile apps in a single small binary without cgo or heavy runtimes, cutting build complexity and deployment size.
OpenBitFun: an agent workspace with four harness modes and phone remote control
OpenBitFun lets agents run on any machine and be controlled from a phone, eliminating the need to choose between local power and remote access, saving developers time switching contexts.
Intel One Mono: a monospaced font designed with low-vision developers
Developers with low vision or eye fatigue can read code more clearly, reducing errors and improving productivity.