工具创新性地通过模型名称后缀实现功能切换,涵盖三大控制维度:搜索增强(-search)、推理优化(-nothinking/maxthinking)、版本选择(1.0/1.5/2.5)。技术实现上,请求路由模块会解析模型名称,动态调整底层API调用参数。例如gemini-2.5-pro-maxthinking会设置thinking_budget=32768but (not)-search变体会激活Google搜索API。实际测试表明,使用-nothinking变体能使简单查询的响应速度提升60%,而-maxthinking变体将复杂问题的回答质量提高35%。
This answer comes from the articlegeminicli2api: Proxy tool to convert Gemini CLI to OpenAI-compatible APIsThe