mirror of
https://git.openapi.site/https://github.com/desirecore/config-center.git
synced 2026-07-23 02:33:21 +08:00
* chore(internal-testing): 退役内置 provider;bump presetDataVersion to 52 internal-testing 一直作为内测阶段的硬编码 provider 存在,现在客户端已切换到 登录后绑定 desirecore-cloud(NewAPI 网关)方案,internal-testing 不再需要。 从此 commit 起: - compute/providers/internal-testing.json 删除 - _index.json 移除 internal-testing 条目 - presetDataVersion 51 → 52,触发客户端重新合并预置 客户端需配套实现 retired-providers 清理逻辑:在 mergeBuiltinIfNewer 之后 执行一次性清理,移除本地 compute.json 中残留的 provider-internal-testing-001 + secrets.json#internal-testing。 * chore: bump preset data version to 61 * feat: 增量同步 16 个厂商旗舰模型 (首批精选) 首次从 OpenRouter 增量同步,覆盖 13 家厂商的最新旗舰: 概要 --- - 新增 .sync-watermark 水位线文件 (1782276303 / 2026-06-24) - presetDataVersion: 61 → 62 - 校验 70/70 全部通过 新增模型 --- OpenAI: gpt-image-2 (image_gen), gpt-5.5, gpt-5.4 Anthropic: claude-fable-5, claude-opus-4.8 Google: gemini-3.5-flash, gemini-3.1-flash-image (Nano Banana 2) DeepSeek: deepseek-v4-pro Qwen: qwen3.7-max, qwen3.7-plus MiniMax: MiniMax-M3 Moonshot: kimi-k2.7-code Zhipu: glm-5.2 xAI: grok-4.3 Mistral: mistral-medium-3.5 Tencent: hy3-preview Cohere: north-mini-code 后续机制 --- 每日 10:00 心跳检查 OpenRouter 新模型,对比 .sync-watermark 增量入库,有更新才提 PR,无更新静默。
372 lines
12 KiB
JSON
372 lines
12 KiB
JSON
{
|
||
"description": "OpenAI GPT / o 系列模型规格。参数来源:config-center compute/providers/openai.json。注意:gpt-4o / gpt-5 等存在子型号(-mini/-nano),故只用 exact 主键匹配,不使用宽泛 pattern 以防误吞子型号。o 系列 serviceType 由 responses 调整为 reasoning(responses 为 OpenAI 直连专有,对 NewAPI 网关不适用)。",
|
||
"specs": [
|
||
{
|
||
"id": "gpt-image-2",
|
||
"displayName": "GPT Image 2",
|
||
"family": "gpt-image",
|
||
"match": { "exact": ["gpt-image-2"], "patterns": ["gpt-image-2*"] },
|
||
"spec": {
|
||
"contextWindow": 400000,
|
||
"capabilities": ["image_generation", "image_editing", "high_quality"],
|
||
"serviceType": ["image_gen"],
|
||
"description": "OpenAI 最新文生图模型,支持高质量图片生成与编辑,400K 上下文"
|
||
}
|
||
},
|
||
{
|
||
"id": "gpt-5.5",
|
||
"displayName": "GPT-5.5",
|
||
"family": "gpt-5",
|
||
"match": { "exact": ["gpt-5.5"], "patterns": ["gpt-5.5*"] },
|
||
"spec": {
|
||
"contextWindow": 1050000,
|
||
"maxOutputTokens": 128000,
|
||
"capabilities": ["chat", "reasoning", "code", "vision", "long_context", "tool_use"],
|
||
"serviceType": ["chat"],
|
||
"defaultTemperature": 1,
|
||
"supportsReasoning": true
|
||
}
|
||
},
|
||
{
|
||
"id": "gpt-5.4",
|
||
"displayName": "GPT-5.4",
|
||
"family": "gpt-5",
|
||
"match": { "exact": ["gpt-5.4"], "patterns": ["gpt-5.4*"] },
|
||
"spec": {
|
||
"contextWindow": 1050000,
|
||
"maxOutputTokens": 128000,
|
||
"capabilities": ["chat", "reasoning", "code", "vision", "long_context", "tool_use"],
|
||
"serviceType": ["chat"],
|
||
"defaultTemperature": 1,
|
||
"supportsReasoning": true
|
||
}
|
||
},
|
||
{
|
||
"id": "gpt-5.2",
|
||
"displayName": "GPT-5.2",
|
||
"family": "gpt-5",
|
||
"spec": {
|
||
"contextWindow": 400000,
|
||
"maxOutputTokens": 128000,
|
||
"capabilities": ["chat", "reasoning", "code", "vision", "long_context", "tool_use"],
|
||
"serviceType": ["chat"],
|
||
"defaultTemperature": 1,
|
||
"supportsReasoning": true
|
||
}
|
||
},
|
||
{
|
||
"id": "gpt-5.1",
|
||
"displayName": "GPT-5.1",
|
||
"family": "gpt-5",
|
||
"spec": {
|
||
"contextWindow": 400000,
|
||
"maxOutputTokens": 128000,
|
||
"capabilities": ["chat", "reasoning", "code", "vision", "long_context", "tool_use"],
|
||
"serviceType": ["chat"],
|
||
"defaultTemperature": 1,
|
||
"supportsReasoning": true
|
||
}
|
||
},
|
||
{
|
||
"id": "gpt-5",
|
||
"displayName": "GPT-5",
|
||
"family": "gpt-5",
|
||
"spec": {
|
||
"contextWindow": 400000,
|
||
"maxOutputTokens": 128000,
|
||
"capabilities": ["chat", "reasoning", "code", "vision", "long_context", "tool_use"],
|
||
"serviceType": ["chat"],
|
||
"defaultTemperature": 1,
|
||
"supportsReasoning": true
|
||
}
|
||
},
|
||
{
|
||
"id": "gpt-5-mini",
|
||
"displayName": "GPT-5 Mini",
|
||
"family": "gpt-5",
|
||
"match": { "patterns": ["gpt-5-mini*"] },
|
||
"spec": {
|
||
"contextWindow": 400000,
|
||
"maxOutputTokens": 128000,
|
||
"capabilities": ["chat", "fast", "tool_use", "code", "vision"],
|
||
"serviceType": ["chat"],
|
||
"defaultTemperature": 1,
|
||
"supportsReasoning": true
|
||
}
|
||
},
|
||
{
|
||
"id": "gpt-5-nano",
|
||
"displayName": "GPT-5 Nano",
|
||
"family": "gpt-5",
|
||
"match": { "patterns": ["gpt-5-nano*"] },
|
||
"spec": {
|
||
"contextWindow": 400000,
|
||
"maxOutputTokens": 128000,
|
||
"capabilities": ["chat", "code", "fast"],
|
||
"serviceType": ["fast"],
|
||
"defaultTemperature": 1
|
||
}
|
||
},
|
||
{
|
||
"id": "gpt-4.1",
|
||
"displayName": "GPT-4.1",
|
||
"family": "gpt-4.1",
|
||
"spec": {
|
||
"contextWindow": 1047576,
|
||
"maxOutputTokens": 32768,
|
||
"capabilities": ["chat", "reasoning", "code", "vision", "ultra_long_context", "tool_use"],
|
||
"serviceType": ["chat"],
|
||
"defaultTemperature": 1
|
||
}
|
||
},
|
||
{
|
||
"id": "gpt-4o",
|
||
"displayName": "GPT-4o",
|
||
"family": "gpt-4o",
|
||
"spec": {
|
||
"contextWindow": 128000,
|
||
"maxOutputTokens": 16384,
|
||
"capabilities": ["chat", "vision", "image_understanding", "tool_use"],
|
||
"serviceType": ["vision"],
|
||
"defaultTemperature": 1
|
||
}
|
||
},
|
||
{
|
||
"id": "gpt-4o-mini",
|
||
"displayName": "GPT-4o Mini",
|
||
"family": "gpt-4o",
|
||
"match": { "patterns": ["gpt-4o-mini*"] },
|
||
"spec": {
|
||
"contextWindow": 128000,
|
||
"maxOutputTokens": 16384,
|
||
"capabilities": ["chat", "code", "vision", "tool_use"],
|
||
"serviceType": ["vision"],
|
||
"defaultTemperature": 1
|
||
}
|
||
},
|
||
{
|
||
"id": "o3",
|
||
"displayName": "o3",
|
||
"family": "o3",
|
||
"spec": {
|
||
"contextWindow": 200000,
|
||
"maxOutputTokens": 100000,
|
||
"capabilities": ["reasoning", "deep_thinking", "code", "math", "science", "tool_use"],
|
||
"serviceType": ["reasoning"],
|
||
"defaultTemperature": null,
|
||
"supportsReasoning": true
|
||
}
|
||
},
|
||
{
|
||
"id": "o3-mini",
|
||
"displayName": "o3 Mini",
|
||
"family": "o3",
|
||
"match": { "patterns": ["o3-mini*"] },
|
||
"spec": {
|
||
"contextWindow": 200000,
|
||
"maxOutputTokens": 100000,
|
||
"capabilities": ["reasoning", "math", "code", "fast"],
|
||
"serviceType": ["reasoning"],
|
||
"defaultTemperature": null,
|
||
"supportsReasoning": true
|
||
}
|
||
},
|
||
{
|
||
"id": "o4-mini",
|
||
"displayName": "o4 Mini",
|
||
"family": "o4",
|
||
"match": { "patterns": ["o4-mini*"] },
|
||
"spec": {
|
||
"contextWindow": 200000,
|
||
"maxOutputTokens": 100000,
|
||
"capabilities": ["reasoning", "math", "code", "tool_use", "vision"],
|
||
"serviceType": ["reasoning"],
|
||
"defaultTemperature": null,
|
||
"supportsReasoning": true
|
||
}
|
||
},
|
||
{
|
||
"id": "gpt-5.2-pro",
|
||
"displayName": "GPT-5.2 Pro",
|
||
"family": "gpt-5",
|
||
"match": { "exact": ["gpt-5.2-pro"] },
|
||
"spec": {
|
||
"contextWindow": 400000,
|
||
"maxOutputTokens": 128000,
|
||
"capabilities": ["chat", "reasoning", "code", "vision", "long_context", "tool_use"],
|
||
"serviceType": ["chat"],
|
||
"defaultTemperature": 1,
|
||
"supportsReasoning": true,
|
||
"description": "OpenAI GPT-5.2 Pro 专业版,最高性能"
|
||
}
|
||
},
|
||
{
|
||
"id": "gpt-5-pro",
|
||
"displayName": "GPT-5 Pro",
|
||
"family": "gpt-5",
|
||
"match": { "exact": ["gpt-5-pro"] },
|
||
"spec": {
|
||
"contextWindow": 400000,
|
||
"maxOutputTokens": 272000,
|
||
"capabilities": ["chat", "reasoning", "code", "vision", "long_context", "tool_use"],
|
||
"serviceType": ["chat"],
|
||
"defaultTemperature": 1,
|
||
"supportsReasoning": true,
|
||
"description": "OpenAI GPT-5 Pro 专业版高性能推理模型"
|
||
}
|
||
},
|
||
{
|
||
"id": "gpt-4.1-mini",
|
||
"displayName": "GPT-4.1 mini",
|
||
"family": "gpt-4.1",
|
||
"match": { "exact": ["gpt-4.1-mini"], "patterns": ["gpt-4.1-mini*"] },
|
||
"spec": {
|
||
"contextWindow": 1047576,
|
||
"maxOutputTokens": 32768,
|
||
"capabilities": ["chat", "code", "vision", "ultra_long_context", "tool_use"],
|
||
"serviceType": ["chat"],
|
||
"defaultTemperature": 1,
|
||
"description": "OpenAI GPT-4.1 mini,1M 上下文,高性价比"
|
||
}
|
||
},
|
||
{
|
||
"id": "gpt-4.1-nano",
|
||
"displayName": "GPT-4.1 nano",
|
||
"family": "gpt-4.1",
|
||
"match": { "exact": ["gpt-4.1-nano"], "patterns": ["gpt-4.1-nano*"] },
|
||
"spec": {
|
||
"contextWindow": 1047576,
|
||
"maxOutputTokens": 32768,
|
||
"capabilities": ["chat", "code", "ultra_long_context", "fast"],
|
||
"serviceType": ["fast"],
|
||
"defaultTemperature": 1,
|
||
"description": "OpenAI GPT-4.1 nano,1M 上下文,极致性价比"
|
||
}
|
||
},
|
||
{
|
||
"id": "text-embedding-3-small",
|
||
"displayName": "text-embedding-3-small",
|
||
"family": "text-embedding-3",
|
||
"match": { "exact": ["text-embedding-3-small"] },
|
||
"spec": {
|
||
"contextWindow": 8192,
|
||
"capabilities": ["text_embedding", "semantic_search"],
|
||
"serviceType": ["embedding"],
|
||
"description": "OpenAI 轻量文本向量化模型,1536 维"
|
||
}
|
||
},
|
||
{
|
||
"id": "text-embedding-3-large",
|
||
"displayName": "text-embedding-3-large",
|
||
"family": "text-embedding-3",
|
||
"match": { "exact": ["text-embedding-3-large"] },
|
||
"spec": {
|
||
"contextWindow": 8192,
|
||
"capabilities": ["text_embedding", "semantic_search"],
|
||
"serviceType": ["embedding"],
|
||
"description": "OpenAI 高精度文本向量化模型,3072 维"
|
||
}
|
||
},
|
||
{
|
||
"id": "tts-1",
|
||
"displayName": "TTS-1",
|
||
"family": "tts-1",
|
||
"match": { "exact": ["tts-1"] },
|
||
"spec": {
|
||
"capabilities": ["tts"],
|
||
"serviceType": ["tts"],
|
||
"description": "OpenAI 标准语音合成"
|
||
}
|
||
},
|
||
{
|
||
"id": "tts-1-hd",
|
||
"displayName": "TTS-1-HD",
|
||
"family": "tts-1",
|
||
"match": { "exact": ["tts-1-hd"] },
|
||
"spec": {
|
||
"capabilities": ["tts"],
|
||
"serviceType": ["tts"],
|
||
"description": "OpenAI 高清语音合成"
|
||
}
|
||
},
|
||
{
|
||
"id": "whisper-1",
|
||
"displayName": "Whisper",
|
||
"family": "whisper",
|
||
"match": { "exact": ["whisper-1"] },
|
||
"spec": {
|
||
"capabilities": ["asr", "multilingual"],
|
||
"serviceType": ["asr"],
|
||
"description": "OpenAI 通用语音识别"
|
||
}
|
||
},
|
||
{
|
||
"id": "o3-pro",
|
||
"displayName": "o3-pro",
|
||
"family": "o3",
|
||
"match": { "exact": ["o3-pro"] },
|
||
"spec": {
|
||
"contextWindow": 200000,
|
||
"maxOutputTokens": 100000,
|
||
"capabilities": ["reasoning", "deep_thinking", "code", "math", "science"],
|
||
"serviceType": ["reasoning"],
|
||
"defaultTemperature": null,
|
||
"supportsReasoning": true,
|
||
"description": "OpenAI o3-pro 高级推理模型,200K 上下文"
|
||
}
|
||
},
|
||
{
|
||
"id": "dall-e-3",
|
||
"displayName": "DALL-E 3",
|
||
"family": "dall-e",
|
||
"match": { "exact": ["dall-e-3"] },
|
||
"spec": {
|
||
"capabilities": ["image_generation", "text_rendering"],
|
||
"serviceType": ["image_gen"],
|
||
"description": "OpenAI 高质量文生图模型"
|
||
}
|
||
},
|
||
{
|
||
"id": "gpt-4o-realtime",
|
||
"displayName": "GPT-4o Realtime",
|
||
"family": "gpt-4o-realtime",
|
||
"match": { "exact": ["gpt-4o-realtime"] },
|
||
"spec": {
|
||
"contextWindow": 32000,
|
||
"maxOutputTokens": 4096,
|
||
"capabilities": ["chat", "vision", "tts", "asr", "realtime"],
|
||
"serviceType": ["omni"],
|
||
"defaultTemperature": 0.7,
|
||
"description": "OpenAI 全能实时模型,支持语音 + 文本 + 视觉"
|
||
}
|
||
},
|
||
{
|
||
"id": "gpt-4o-realtime-preview",
|
||
"displayName": "GPT-4o Realtime Preview",
|
||
"family": "gpt-4o-realtime",
|
||
"match": { "exact": ["gpt-4o-realtime-preview"], "patterns": ["gpt-4o-realtime-preview*"] },
|
||
"spec": {
|
||
"contextWindow": 32000,
|
||
"maxOutputTokens": 4096,
|
||
"capabilities": ["realtime", "speech_to_speech", "low_latency"],
|
||
"serviceType": ["realtime_voice"],
|
||
"defaultTemperature": 0.7,
|
||
"description": "OpenAI 实时语音交互模型(预览版)"
|
||
}
|
||
},
|
||
{
|
||
"id": "gpt-oss-120b",
|
||
"displayName": "GPT OSS 120B",
|
||
"family": "gpt-oss",
|
||
"match": { "exact": ["gpt-oss-120b", "openai/gpt-oss-120b:free", "gpt-oss-120b:free"] },
|
||
"spec": {
|
||
"contextWindow": 128000,
|
||
"maxOutputTokens": 16384,
|
||
"capabilities": ["chat", "code", "reasoning"],
|
||
"serviceType": ["chat"],
|
||
"description": "OpenAI 开源 120B 模型(通过 OpenRouter 提供,:free 层)"
|
||
}
|
||
}
|
||
]
|
||
}
|