audit model field values against official docs

This commit is contained in:
2026-04-24 12:20:24 +08:00
parent ca99ea272f
commit c57cd4723d
114 changed files with 6550 additions and 368 deletions

View File

@@ -0,0 +1,72 @@
# 详细字段取值表 - compute/providers/google.json
- provider: `google`
- priceCurrency: `USD`
- generatedAt: `2026-04-23T15:11:31.654Z`
## 来源
- https://ai.google.dev/gemini-api/docs/models/gemini
- https://cloud.google.com/vertex-ai/generative-ai/docs/embeddings/get-text-embeddings
- https://ai.google.dev/pricing
- https://zenmux.ai/models
- https://zenmux.ai/api/v1/models
## gemini-2.5-pro
- ZenMux匹配级别: `exact`
- ZenMux命中: `google/gemini-2.5-pro`
- ZenMux候选: `google/gemini-2.5-pro`
| 字段 | 当前值 | 建议值 | 结论 | 依据/说明 |
|---|---|---|---|---|
| `modelName` | `"gemini-2.5-pro"` | `"gemini-2.5-pro"` | 保持 | ZenMux匹配(exact): google/gemini-2.5-pro |
| `displayName` | `"Gemini 2.5 Pro"` | `"Gemini 2.5 Pro"` | 保持 | 展示字段,需按产品命名策略 |
| `serviceType` | `["chat"]` | `["chat"]` | 保持 | 服务路由字段,优先本项目约定 |
| `contextWindow` | `1048576` | `1048576` | 保持 | Google 官方 Gemini models 页 Token limits 列明输入上限 `1,048,576` |
| `maxOutputTokens` | `65536` | `65536` | 保持 | Google 官方 Gemini models 页 Token limits 列明输出上限 `65,536` |
| `inputPrice` | `1.25` | `1.25` | 保持 | ZenMux(google/gemini-2.5-pro) prompt=1.25 USD/MTokens |
| `outputPrice` | `10` | `10` | 保持 | ZenMux(google/gemini-2.5-pro) completion=10 USD/MTokens |
| `capabilities` | `["chat","reasoning","code","vision","ultra_long_context","tool_use"]` | `["chat","reasoning","code","vision","ultra_long_context","tool_use"]` | 待确认 | ZenMux给出reasoning=true但capabilities是项目语义字段需官方能力说明复核 |
| `defaultTemperature` | `1` | `1` | 待确认 | 官方通常不提供默认采样参数 |
| `defaultTopP` | `0.95` | `0.95` | 待确认 | 官方通常不提供默认采样参数 |
| `extra` | `{}` | `{}` | 待确认 | 扩展字段为本地schema需业务侧定义 |
## gemini-2.5-flash
- ZenMux匹配级别: `exact`
- ZenMux命中: `google/gemini-2.5-flash`
- ZenMux候选: `google/gemini-2.5-flash`
| 字段 | 当前值 | 建议值 | 结论 | 依据/说明 |
|---|---|---|---|---|
| `modelName` | `"gemini-2.5-flash"` | `"gemini-2.5-flash"` | 保持 | ZenMux匹配(exact): google/gemini-2.5-flash |
| `displayName` | `"Gemini 2.5 Flash"` | `"Gemini 2.5 Flash"` | 保持 | 展示字段,需按产品命名策略 |
| `serviceType` | `["chat"]` | `["chat"]` | 保持 | 服务路由字段,优先本项目约定 |
| `contextWindow` | `1048576` | `1048576` | 保持 | Google 官方 Gemini models 页 Token limits 列明输入上限 `1,048,576` |
| `maxOutputTokens` | `65536` | `65536` | 保持 | Google 官方 Gemini models 页 Token limits 列明输出上限 `65,536` |
| `inputPrice` | `0.3` | `0.3` | 保持 | ZenMux(google/gemini-2.5-flash) prompt=0.3 USD/MTokens |
| `outputPrice` | `2.5` | `2.5` | 保持 | ZenMux(google/gemini-2.5-flash) completion=2.5 USD/MTokens |
| `capabilities` | `["chat","reasoning","code","vision","ultra_long_context","tool_use","fast"]` | `["chat","reasoning","code","vision","ultra_long_context","tool_use","fast"]` | 待确认 | ZenMux给出reasoning=true但capabilities是项目语义字段需官方能力说明复核 |
| `defaultTemperature` | `1` | `1` | 待确认 | 官方通常不提供默认采样参数 |
| `defaultTopP` | `0.95` | `0.95` | 待确认 | 官方通常不提供默认采样参数 |
| `extra` | `{}` | `{}` | 待确认 | 扩展字段为本地schema需业务侧定义 |
## text-embedding-005
- ZenMux匹配级别: `none`
- ZenMux候选: (none)
| 字段 | 当前值 | 建议值 | 结论 | 依据/说明 |
|---|---|---|---|---|
| `modelName` | `"text-embedding-005"` | `"text-embedding-005"` | 待确认 | ZenMux无稳定匹配 |
| `displayName` | `"Text Embedding 005"` | `"Text Embedding 005"` | 保持 | 展示字段,需按产品命名策略 |
| `serviceType` | `["embedding"]` | `["embedding"]` | 保持 | 服务路由字段,优先本项目约定 |
| `contextWindow` | `2048` | `2048` | 保持 | Google Cloud Vertex AI Embeddings 文档 https://cloud.google.com/vertex-ai/generative-ai/docs/embeddings/get-text-embeddings 直接列出 `text-embedding-005``Max sequence length``2048 tokens` |
| `maxOutputTokens` | `0` | `0` | 保持 | 同一官方 Vertex AI 文档 https://cloud.google.com/vertex-ai/generative-ai/docs/embeddings/get-text-embeddings 仅定义输出维度与最大序列长度,`text-embedding-005` 输出为向量而非 completion tokens当前以 `0` 记录为不适用 |
| `inputPrice` | `0.1` | `0.1` | 待确认 | ZenMux无稳定价格可用需官方价格页复核 |
| `outputPrice` | (缺省) | (缺省) | 待确认 | ZenMux无稳定价格可用需官方价格页复核 |
| `capabilities` | `["text_embedding","semantic_search"]` | `["text_embedding","semantic_search"]` | 保持 | ZenMux无明确能力映射差异 |
| `defaultTemperature` | `1` | `1` | 待确认 | 官方通常不提供默认采样参数 |
| `defaultTopP` | (缺省) | (缺省) | 待确认 | 官方通常不提供默认采样参数 |
| `extra` | `{}` | `{}` | 待确认 | 扩展字段为本地schema需业务侧定义 |