DEV Community

Mikhail Savchenko
Mikhail Savchenko

Posted on Originally published at inite.ai

llm-gemini plugin adds xhigh reasoning for Gemini 4 models

Simon Willison has published llm-gemini 0.38.1, a dot release of his plugin that connects the LLM command-line tool to Google's Gemini models.

What changed

The three Gemini 4 models handle reasoning levels differently. Carbon accepts low, medium and high. Hydrogen and Neon accept those three plus a fourth, xhigh. Willison says he missed that when he first added the models to the plugin. The new release corrects it, so xhigh can now be selected for Hydrogen and Neon.

What xhigh costs

Willison also updated his Gemini 4 comparison grid, which runs the same drawing prompt across the models and settings. The Hydrogen figures from that grid:

  • At high: 5,311 output tokens, 3.99 cents.
  • At xhigh: 31,477 output tokens, 23.61 cents.

He describes the xhigh result as a significant improvement. The image Hydrogen produced at that level is, in his words, competitive with what Gemini 4 Neon produced. This is a single informal test on one prompt, so it shows the direction of the trade-off and is not a benchmark.

What to take from it

The release is a compatibility fix in a third-party open-source plugin, not a Google announcement. The source does not say anything about Google's own pricing or about changes in the Gemini API. What it does show is that the top reasoning level on Hydrogen multiplies output tokens and spend per call. Anyone who sets a reasoning level in code should know which models accept which levels, and what each level costs on their real prompts.

Practical checks

  • Update the plugin if you use Hydrogen or Neon and want access to xhigh.
  • Do not apply xhigh to Carbon in shared settings, because that model tops out at high.
  • Log output tokens per call before and after a level change, so the cost shows up in your own numbers.

Top comments (0)