llm-gemini 0.38.1 修正 Gemini 4 推理級別支援
llm-gemini 0.38.1
llm-gemini 0.38.1 修正了 Gemini 4 Hydrogen 和 Gemini 4 Neon 的 xhigh 推理級別支援。Gemini 4 Hydrogen 使用 high 時輸出 5,311 tokens,成本為 3.99 cents;使用 xhigh 時輸出 31,477 tokens,成本為 23.61 cents,生成的鵜鶘圖像可與 Gemini 4 Neon 媲美。
Gemini 4 Carbon only supports low, medium and high reasoning levels - but Gemini 4 Hydrogen and Gemini 4 Neon both have an extra xhigh level.
I missed that when I added those models to the llm-gemini plugin, which is now fixed in this dot release.
The xhigh setting for Hydrogen makes a significant difference. I updated my Gemini 4 comparison grid - note how Hydrogen at high used 5,311 output tokens and cost 3.99 cents, but the same model at xhigh used 31,477 output tokens, cost 23.61 cents, and produced a pelican that's competitive with Gemini 4 Neon:

來源:Simon Willison · simonwillison.net