chore: update field audit tables and provider configs

Batch update from official docs audit - price corrections, context
window fixes, field report updates across all providers.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-04-24 20:12:57 +08:00
parent 5b9c8ac61f
commit b0e0cead04
92 changed files with 1000 additions and 1763 deletions

View File

@@ -1,27 +1,13 @@
# 未确认字段报告 - compute/providers/google.json
- provider: `google`
- generatedAt: `2026-04-23T15:11:31.654Z`
- generatedAt: `2026-04-24T00:00:00+08:00`
- 本轮范围: `defaultTemperature` / `defaultTopP`
## gemini-2.5-pro
- `capabilities`: ZenMux给出reasoning=true但capabilities是项目语义字段需官方能力说明复核
- `defaultTemperature`: 官方通常不提供默认采样参数
- `defaultTopP`: 官方通常不提供默认采样参数
- `extra`: 扩展字段为本地schema需业务侧定义
- `defaultTemperature`: 已查 https://ai.google.dev/api/models 、https://ai.google.dev/gemini-api/docs/text-generation 。官方明确说明模型元数据里存在 backend 默认值,但公共文档没有直接给出 Gemini 2.5 的默认温度数字;本地原值 `1` 只能视为参考值,不能作为官方默认值写入 JSON。
## gemini-2.5-flash
- `capabilities`: ZenMux给出reasoning=true但capabilities是项目语义字段需官方能力说明复核
- `defaultTemperature`: 官方通常不提供默认采样参数
- `defaultTopP`: 官方通常不提供默认采样参数
- `extra`: 扩展字段为本地schema需业务侧定义
## text-embedding-005
- `modelName`: ZenMux无稳定匹配
- `inputPrice`: ZenMux无稳定价格可用需官方价格页复核
- `outputPrice`: ZenMux无稳定价格可用需官方价格页复核
- `defaultTemperature`: 官方通常不提供默认采样参数
- `defaultTopP`: 官方通常不提供默认采样参数
- `extra`: 扩展字段为本地schema需业务侧定义
- `defaultTemperature`: 已查 https://ai.google.dev/api/models 、https://ai.google.dev/gemini-api/docs/text-generation 。官方明确说明模型元数据里存在 backend 默认值,但公共文档没有直接给出 Gemini 2.5 的默认温度数字;本地原值 `1` 只能视为参考值,不能作为官方默认值写入 JSON。

View File

@@ -1,72 +1,55 @@
# 详细字段取值表 - compute/providers/google.json
- provider: `google`
- priceCurrency: `USD`
- generatedAt: `2026-04-23T15:11:31.654Z`
- generatedAt: `2026-04-24T00:00:00+08:00`
- 本轮复核字段: `defaultTemperature` / `defaultTopP`
## 来源
- https://ai.google.dev/gemini-api/docs/models/gemini
- https://ai.google.dev/api/models
- https://ai.google.dev/gemini-api/docs/text-generation
- https://ai.google.dev/gemini-api/docs/gemini-3
- https://ai.google.dev/gemini-api/docs/prompting-strategies
- 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-3.1-pro-preview
| 字段 | 当前值 | 建议值 | 结论 | 依据/说明 |
|---|---|---|---|---|
| `defaultTemperature` | `1` | `1` | 保持 | Gemini 3 文档明确写明 `temperature` 的默认值为 `1.0`。 |
| `defaultTopP` | `0.95` | `0.95` | 保持 | Prompting strategies 文档明确写明 `topP` 的默认值为 `0.95`Models API 文档说明该值是 backend 默认值。 |
## gemini-3-flash-preview
| 字段 | 当前值 | 建议值 | 结论 | 依据/说明 |
|---|---|---|---|---|
| `defaultTemperature` | `1` | `1` | 保持 | Gemini 3 文档明确写明 `temperature` 的默认值为 `1.0`。 |
| `defaultTopP` | `0.95` | `0.95` | 保持 | Prompting strategies 文档明确写明 `topP` 的默认值为 `0.95`Models API 文档说明该值是 backend 默认值。 |
## gemini-3.1-flash-lite-preview
| 字段 | 当前值 | 建议值 | 结论 | 依据/说明 |
|---|---|---|---|---|
| `defaultTemperature` | `1` | `1` | 保持 | Gemini 3 文档明确写明 `temperature` 的默认值为 `1.0`。 |
| `defaultTopP` | `0.95` | `0.95` | 保持 | Prompting strategies 文档明确写明 `topP` 的默认值为 `0.95`Models API 文档说明该值是 backend 默认值。 |
## 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需业务侧定义 |
| `defaultTemperature` | `null` | `null` | 保持 | Google 公共文档未直接给出 Gemini 2.5 的 API 默认 `temperature` 数字;`models.get` 文档只说明模型元数据会返回 backend 默认值,因此 JSON 不保留为伪官方默认值。参考值可记为 `1.0`,但只作参考。 |
| `defaultTopP` | `0.95` | `0.95` | 保持 | Prompting strategies 文档明确写明 `topP` 的默认值为 `0.95` |
## 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需业务侧定义 |
| `defaultTemperature` | `null` | `null` | 保持 | Google 公共文档未直接给出 Gemini 2.5 的 API 默认 `temperature` 数字;`models.get` 文档只说明模型元数据会返回 backend 默认值,因此 JSON 不保留为伪官方默认值。参考值可记为 `1.0`,但只作参考。 |
| `defaultTopP` | `0.95` | `0.95` | 保持 | Prompting strategies 文档明确写明 `topP` 的默认值为 `0.95` |
## 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需业务侧定义 |
| `defaultTemperature` | `null` | `null` | 保持 | Vertex AI embeddings 文档仅定义嵌入输入长度、维度等规格不定义采样默认值embedding 模型不按聊天采样参数使用。 |
| `defaultTopP` | `null` | `null` | 保持 | Vertex AI embeddings 文档仅定义嵌入输入长度、维度等规格不定义采样默认值embedding 模型不按聊天采样参数使用。 |