llm-gemini 0.38.1 修复 xhigh 推理档位支持
Simon Willison 发布 llm-gemini 插件 0.38.1 版本,修复了此前遗漏的 Gemini 4 Hydrogen 与 Neon 模型专属 xhigh 推理档位支持。实测显示 Hydrogen 在 xhigh 档下输出 token 从 5311 增至 31477、成本从 3.99 美分升至 23.61 美分,生成质量显著提升。
报道正文
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:

Tags: gemini, llm, llm-reasoning, pelican-riding-a-bicycle, ai, llms, google, generative-ai