| 特性 | Gemini 原生格式 | OpenAI 兼容格式 |
|---|---|---|
| 端点 | https://api.wenwen-ai.com | https://api.wenwen-ai.com/v1/chat/completions |
| SDK | google-genai | openai |
| 推理控制 | thinking_budget (0-16384) | reasoning_effort (low/medium/high) |
| 思考过程 | include_thoughts=True | 不支持 |
| 代码执行 | tools=[{'code_execution': {}}] | 不支持 |
| 媒体上传 | client.files.upload() | Base64 编码 |
| 缓存检测 | cached_content_token_count | 无详细字段 |