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.

Read this as

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