llm-gemini 0.38.1 adds xhigh; one test cost 6x more

Simon Willison's llm-gemini 0.38.1 adds the xhigh reasoning level for Gemini 4 Hydrogen and Neon; on his test Hydrogen at xhigh cost about 6x more.

Gemini 4 Hydrogen and Gemini 4 Neon have a reasoning level above high, called xhigh, and you can now reach it from Simon Willison's llm command-line tool. His llm-gemini 0.38.1 release note (Nov 20, 2026) says he missed the extra level when he first added the models, while Gemini 4 Carbon stops at high. The bigger news is what xhigh did to the bill.

On Willison's pelican-drawing comparison, Hydrogen at high used 5,311 output tokens and cost 3.99 cents. At xhigh it used 31,477 tokens and cost 23.61 cents, and the drawing became competitive with Neon's. OrcaRouter's analysis checks those numbers against Hydrogen's list price. Google prices Hydrogen at $1.50 per million input tokens and $7.50 per million output tokens in its launch post (Nov 12, 2026). The rate stays the same at xhigh. On this prompt, the model simply wrote about six times as much.

OrcaRouter's takeaway: you can't budget for xhigh from a per-token price sheet. The only number that predicts cost is output tokens per answer, measured on your own prompts. On the same prompt, OrcaRouter notes, Neon at its default high cost 14.55 cents. On that prompt, stepping up a model tier was cheaper than stepping Hydrogen up a rung. OrcaRouter also warns the order flips on Artificial Analysis's long agentic tasks, where Neon at high costs $3.74 per task against $3.16 for Hydrogen at xhigh. It calls the pelican test a single observation: one prompt, one sample per setting, not a benchmark.

Google's own numbers point to a small quality gain at the top rung. Hydrogen scores 51 on the Artificial Analysis Intelligence Index at high and 54 at xhigh, per the launch post. Google's developer guide warns that reasoning tokens at HIGH and XHIGH count toward max_output_tokens. It suggests MEDIUM for tool turns where latency matters. OrcaRouter says no one has yet published whether those extra Index points show up as fewer failed tool calls on agentic work.

Try it: take five prompts where Hydrogen at high gave you a weak answer and rerun them with thinking_level="XHIGH" in Google's SDK, as the developer guide shows. Set a generous output limit so thinking doesn't cut off the answer. It worked if the pass rate rises by enough to justify the extra output tokens you measure on those five prompts.

Sources