5328320396
- 新增 docs/6 openclaw-API响应性能分析与优化.md:两天 419 次调用 / 69 段交互实测, deepseek-flash p50 302ms 而模型耗时仅占 5.4%,94.6% 花在串行工具循环; new-api 慢 5 倍(p50 1463ms)已消除;含 P0/P1/P2 优化建议与未验证项声明 - 新增 scripts/perf-analyze.py:复现时间预算分析的配套脚本 - 5 个 agent 的 models.json 移除残留 new-api provider(含指向 192.168.2.74:3000 与 100.115.195.188:3000 的条目及明文 key),主模型回退 deepseek-flash - README 登记第 6 份文档
144 lines
3.5 KiB
JSON
144 lines
3.5 KiB
JSON
{
|
|
"providers": {
|
|
"doubao": {
|
|
"baseUrl": "https://ark.cn-beijing.volces.com/api/v3",
|
|
"apiKey": "db596bbc-6d58-4037-a2f2-d617c15eec68",
|
|
"api": "openai-completions",
|
|
"models": [
|
|
{
|
|
"id": "ep-20260330135646-2nvrd",
|
|
"name": "豆包Seed 2.0 Pro",
|
|
"reasoning": false,
|
|
"input": [
|
|
"text"
|
|
],
|
|
"cost": {
|
|
"input": 0,
|
|
"output": 0,
|
|
"cacheRead": 0,
|
|
"cacheWrite": 0
|
|
},
|
|
"contextWindow": 256000,
|
|
"maxTokens": 8192,
|
|
"api": "openai-completions"
|
|
}
|
|
]
|
|
},
|
|
"siliconflow": {
|
|
"baseUrl": "https://api.siliconflow.cn/v1",
|
|
"apiKey": "sk-txzxjfnflhszjarkrtjkhmlrpxixtuczshvjyxbtrnyhixim",
|
|
"api": "openai-completions",
|
|
"models": [
|
|
{
|
|
"id": "Qwen/Qwen3-7B-Chat",
|
|
"name": "Qwen3-7B-Chat",
|
|
"reasoning": false,
|
|
"input": [
|
|
"text"
|
|
],
|
|
"cost": {
|
|
"input": 0,
|
|
"output": 0,
|
|
"cacheRead": 0,
|
|
"cacheWrite": 0
|
|
},
|
|
"contextWindow": 32768,
|
|
"maxTokens": 8192,
|
|
"api": "openai-completions"
|
|
},
|
|
{
|
|
"id": "deepseek-ai/DeepSeek-Coder-V2-Instruct-16B",
|
|
"name": "DeepSeek-Coder-V2-16B",
|
|
"reasoning": false,
|
|
"input": [
|
|
"text"
|
|
],
|
|
"cost": {
|
|
"input": 0,
|
|
"output": 0,
|
|
"cacheRead": 0,
|
|
"cacheWrite": 0
|
|
},
|
|
"contextWindow": 131072,
|
|
"maxTokens": 8192,
|
|
"api": "openai-completions"
|
|
}
|
|
]
|
|
},
|
|
"codex": {
|
|
"baseUrl": "https://chatgpt.com/backend-api",
|
|
"apiKey": "codex-app-server",
|
|
"auth": "token",
|
|
"api": "openai-codex-responses",
|
|
"models": [
|
|
{
|
|
"id": "gpt-5.4",
|
|
"name": "gpt-5.4",
|
|
"api": "openai-codex-responses",
|
|
"reasoning": true,
|
|
"input": [
|
|
"text",
|
|
"image"
|
|
],
|
|
"cost": {
|
|
"input": 0,
|
|
"output": 0,
|
|
"cacheRead": 0,
|
|
"cacheWrite": 0
|
|
},
|
|
"contextWindow": 272000,
|
|
"maxTokens": 128000,
|
|
"compat": {
|
|
"supportsReasoningEffort": true,
|
|
"supportsUsageInStreaming": true
|
|
}
|
|
},
|
|
{
|
|
"id": "gpt-5.4-mini",
|
|
"name": "GPT-5.4-Mini",
|
|
"api": "openai-codex-responses",
|
|
"reasoning": true,
|
|
"input": [
|
|
"text",
|
|
"image"
|
|
],
|
|
"cost": {
|
|
"input": 0,
|
|
"output": 0,
|
|
"cacheRead": 0,
|
|
"cacheWrite": 0
|
|
},
|
|
"contextWindow": 272000,
|
|
"maxTokens": 128000,
|
|
"compat": {
|
|
"supportsReasoningEffort": true,
|
|
"supportsUsageInStreaming": true
|
|
}
|
|
},
|
|
{
|
|
"id": "gpt-5.2",
|
|
"name": "gpt-5.2",
|
|
"api": "openai-codex-responses",
|
|
"reasoning": true,
|
|
"input": [
|
|
"text",
|
|
"image"
|
|
],
|
|
"cost": {
|
|
"input": 0,
|
|
"output": 0,
|
|
"cacheRead": 0,
|
|
"cacheWrite": 0
|
|
},
|
|
"contextWindow": 272000,
|
|
"maxTokens": 128000,
|
|
"compat": {
|
|
"supportsReasoningEffort": true,
|
|
"supportsUsageInStreaming": true
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|