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,68 +1,30 @@
# 详细字段取值表 - compute/providers/perplexity.json
- provider: `perplexity`
- priceCurrency: `USD`
- generatedAt: `2026-04-23T15:11:31.654Z`
- generatedAt: `2026-04-24T00:00:00+08:00`
- 本轮复核字段: `defaultTemperature` / `defaultTopP`
## 来源
- https://docs.perplexity.ai
- https://zenmux.ai/models
- https://zenmux.ai/api/v1/models
- https://docs.perplexity.ai/api-reference/sonar-post
## sonar-pro
- ZenMux匹配级别: `none`
- ZenMux候选: (none)
| 字段 | 当前值 | 建议值 | 结论 | 依据/说明 |
|---|---|---|---|---|
| `modelName` | `"sonar-pro"` | `"sonar-pro"` | 保持 | Perplexity 官方模型页直接使用该模型名 |
| `displayName` | `"Sonar Pro"` | `"Sonar Pro"` | 保持 | 展示字段,需按产品命名策略 |
| `serviceType` | `["chat"]` | `["chat"]` | 保持 | 服务路由字段,优先本项目约定 |
| `contextWindow` | `200000` | `200000` | 保持 | Perplexity 官方模型页 https://docs.perplexity.ai/docs/sonar/models/sonar-pro 标注 `200K context length` |
| `maxOutputTokens` | `8192` | `8192` | 待确认 | 已查 https://docs.perplexity.ai/docs/sonar/models/sonar-pro 与 https://docs.perplexity.ai/docs/getting-started/pricing ,官方页面给出 context 与价格,但未给出 max output tokens |
| `inputPrice` | `3` | `3` | 待确认 | ZenMux无稳定价格可用需官方价格页复核 |
| `outputPrice` | `15` | `15` | 待确认 | ZenMux无稳定价格可用需官方价格页复核 |
| `capabilities` | `["chat","web_search","reasoning","citation"]` | `["chat","web_search","reasoning","citation"]` | 保持 | ZenMux无明确能力映射差异 |
| `defaultTemperature` | `1` | `1` | 待确认 | 官方通常不提供默认采样参数 |
| `defaultTopP` | `1` | `1` | 待确认 | 官方通常不提供默认采样参数 |
| `extra` | `{}` | `{}` | 待确认 | 扩展字段为本地schema需业务侧定义 |
| `defaultTemperature` | `null` | `null` | 保持 | Perplexity Sonar API 文档给出了 `temperature` 参数和取值范围,但未给“省略时默认值”。 |
| `defaultTopP` | `null` | `null` | 保持 | Perplexity Sonar API 文档给出了 `top_p` 参数和取值范围,但未给“省略时默认值”。 |
## sonar-reasoning-pro
- ZenMux匹配级别: `none`
- ZenMux候选: (none)
| 字段 | 当前值 | 建议值 | 结论 | 依据/说明 |
|---|---|---|---|---|
| `modelName` | `"sonar-reasoning-pro"` | `"sonar-reasoning-pro"` | 保持 | Perplexity 官方模型页直接使用该模型名 |
| `displayName` | `"Sonar Reasoning Pro"` | `"Sonar Reasoning Pro"` | 保持 | 展示字段,需按产品命名策略 |
| `serviceType` | `["chat"]` | `["chat"]` | 保持 | 服务路由字段,优先本项目约定 |
| `contextWindow` | `128000` | `128000` | 保持 | Perplexity 官方模型页 https://docs.perplexity.ai/docs/sonar/models/sonar-reasoning-pro 标注 `128K context length` |
| `maxOutputTokens` | `8192` | `8192` | 待确认 | 已查 https://docs.perplexity.ai/docs/sonar/models/sonar-reasoning-pro 与 https://docs.perplexity.ai/docs/getting-started/pricing ,官方页面给出 context 与价格,但未给出 max output tokens |
| `inputPrice` | `2` | `2` | 待确认 | ZenMux无稳定价格可用需官方价格页复核 |
| `outputPrice` | `8` | `8` | 待确认 | ZenMux无稳定价格可用需官方价格页复核 |
| `capabilities` | `["chat","web_search","reasoning","deep_thinking"]` | `["chat","web_search","reasoning","deep_thinking"]` | 保持 | ZenMux无明确能力映射差异 |
| `defaultTemperature` | `1` | `1` | 待确认 | 官方通常不提供默认采样参数 |
| `defaultTopP` | `1` | `1` | 待确认 | 官方通常不提供默认采样参数 |
| `extra` | `{}` | `{}` | 待确认 | 扩展字段为本地schema需业务侧定义 |
| `defaultTemperature` | `null` | `null` | 保持 | Perplexity Sonar API 文档给出了 `temperature` 参数和取值范围,但未给“省略时默认值”。 |
| `defaultTopP` | `null` | `null` | 保持 | Perplexity Sonar API 文档给出了 `top_p` 参数和取值范围,但未给“省略时默认值”。 |
## sonar
- ZenMux匹配级别: `none`
- ZenMux候选: (none)
| 字段 | 当前值 | 建议值 | 结论 | 依据/说明 |
|---|---|---|---|---|
| `modelName` | `"sonar"` | `"sonar"` | 保持 | Perplexity 官方模型页直接使用该模型名 |
| `displayName` | `"Sonar"` | `"Sonar"` | 保持 | 展示字段,需按产品命名策略 |
| `serviceType` | `["chat"]` | `["chat"]` | 保持 | 服务路由字段,优先本项目约定 |
| `contextWindow` | `128000` | `128000` | 保持 | Perplexity 官方模型页 https://docs.perplexity.ai/docs/sonar/models/sonar 标注 `128K context length` |
| `maxOutputTokens` | `4096` | `4096` | 待确认 | 已查 https://docs.perplexity.ai/docs/sonar/models/sonar 与 https://docs.perplexity.ai/docs/getting-started/pricing ,官方页面给出 context 与价格,但未给出 max output tokens |
| `inputPrice` | `1` | `1` | 待确认 | ZenMux无稳定价格可用需官方价格页复核 |
| `outputPrice` | `1` | `1` | 待确认 | ZenMux无稳定价格可用需官方价格页复核 |
| `capabilities` | `["chat","web_search","citation","fast"]` | `["chat","web_search","citation","fast"]` | 保持 | ZenMux无明确能力映射差异 |
| `defaultTemperature` | `1` | `1` | 待确认 | 官方通常不提供默认采样参数 |
| `defaultTopP` | `1` | `1` | 待确认 | 官方通常不提供默认采样参数 |
| `extra` | `{}` | `{}` | 待确认 | 扩展字段为本地schema需业务侧定义 |
| `defaultTemperature` | `null` | `null` | 保持 | Perplexity Sonar API 文档给出了 `temperature` 参数和取值范围,但未给“省略时默认值”。 |
| `defaultTopP` | `null` | `null` | 保持 | Perplexity Sonar API 文档给出了 `top_p` 参数和取值范围,但未给“省略时默认值”。 |