mirror of
https://git.openapi.site/https://github.com/desirecore/config-center.git
synced 2026-06-06 04:30:51 +08:00
* feat(model-specs): 新增模型规格库与 schema 契约 - compute/model-specs/:按厂商维护模型内在参数(上下文窗口/最大输出/能力/serviceType/默认温度,不含价签) - schemas/model-spec.schema.json:Draft-07 契约,spec 允许 null(新文件不影响老客户端 frozen 契约) - scripts/validate.mjs:pickSchemaKey 纳入 model-specs 校验 - manifest.presetDataVersion 54→55 * feat(model-specs): 新增小米 MiMo 系列模型规格;bump presetDataVersion 55→56 * feat(model-specs): 补全全量模型规格;presetDataVersion 56→57 * feat(model-specs): 新增 releasedAt/retiredAt 时间戳字段;补充 mimo 退役日期
332 lines
10 KiB
JSON
332 lines
10 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-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 层)"
|
||
}
|
||
}
|
||
]
|
||
}
|