Files
config-center/compute/providers/openai.json
Yige c67dfc2143 chore: refresh vendor model presets
Refresh vendor model presets and bump config data version.
2026-07-07 16:31:24 +08:00

766 lines
18 KiB
JSON
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
{
"id": "provider-openai-001",
"provider": "openai",
"label": "OpenAI GPT",
"baseUrl": "https://api.openai.com/v1",
"apiFormat": "openai-completions",
"apiKeyRef": "openai",
"apiKeyVerified": false,
"enabled": false,
"status": "unconfigured",
"priceCurrency": "USD",
"services": [
"chat",
"fast",
"embedding",
"tts",
"asr",
"vision",
"responses",
"image_gen",
"omni",
"realtime_voice",
"simultaneous_interpret",
"translation"
],
"models": [
{
"modelName": "gpt-5.5",
"displayName": "GPT-5.5",
"serviceType": [
"chat",
"responses"
],
"description": "OpenAI 最新前沿模型面向复杂推理、编码和专业工作流1M 上下文128K 最大输出",
"contextWindow": 1050000,
"maxOutputTokens": 128000,
"capabilities": [
"chat",
"reasoning",
"code",
"vision",
"ultra_long_context",
"tool_use",
"agent"
],
"inputPrice": 5,
"outputPrice": 30,
"extra": {
"cachedInputPrice": 0.5,
"reasoningEffort": [
"none",
"low",
"medium",
"high",
"xhigh"
],
"defaultReasoningEffort": "medium",
"pricingNotes": "Prices are per 1M tokens; long-context requests may use higher-tier pricing per OpenAI pricing page."
}
},
{
"modelName": "gpt-5.5-pro",
"displayName": "GPT-5.5 Pro",
"serviceType": [
"responses"
],
"description": "OpenAI GPT-5.5 Pro最高能力推理模型仅面向 Responses API",
"contextWindow": 1050000,
"maxOutputTokens": 128000,
"capabilities": [
"chat",
"reasoning",
"code",
"vision",
"ultra_long_context",
"tool_use",
"agent"
],
"inputPrice": 30,
"outputPrice": 180,
"extra": {
"responsesOnly": true,
"reasoningEffort": [
"medium",
"high",
"xhigh"
],
"defaultReasoningEffort": "high",
"pricingNotes": "No cached-input discount is listed for GPT-5.5 Pro on the official pricing page."
}
},
{
"modelName": "gpt-5.4",
"displayName": "GPT-5.4",
"serviceType": [
"chat",
"responses"
],
"description": "OpenAI GPT-5.4高性价比前沿模型1M 上下文,支持文本和图像输入",
"contextWindow": 1050000,
"maxOutputTokens": 128000,
"capabilities": [
"chat",
"reasoning",
"code",
"vision",
"ultra_long_context",
"tool_use"
],
"inputPrice": 2.5,
"outputPrice": 15,
"extra": {
"cachedInputPrice": 0.25,
"reasoningEffort": [
"none",
"low",
"medium",
"high"
],
"pricingNotes": "Prices are per 1M tokens; long-context requests may use higher-tier pricing per OpenAI pricing page."
}
},
{
"modelName": "gpt-5.4-pro",
"displayName": "GPT-5.4 Pro",
"serviceType": [
"responses"
],
"description": "OpenAI GPT-5.4 Pro专业推理与长程任务模型仅面向 Responses API",
"contextWindow": 1050000,
"maxOutputTokens": 128000,
"capabilities": [
"chat",
"reasoning",
"code",
"vision",
"ultra_long_context",
"tool_use"
],
"inputPrice": 30,
"outputPrice": 180,
"extra": {
"responsesOnly": true,
"reasoningEffort": [
"medium",
"high",
"xhigh"
],
"defaultReasoningEffort": "high"
}
},
{
"modelName": "gpt-5.4-mini",
"displayName": "GPT-5.4 Mini",
"serviceType": [
"chat",
"fast",
"responses"
],
"description": "OpenAI GPT-5.4 Mini低延迟高性价比模型400K 上下文128K 最大输出",
"contextWindow": 400000,
"maxOutputTokens": 128000,
"capabilities": [
"chat",
"reasoning",
"code",
"vision",
"long_context",
"tool_use",
"fast"
],
"inputPrice": 0.75,
"outputPrice": 4.5,
"extra": {
"cachedInputPrice": 0.075,
"reasoningEffort": [
"none",
"low",
"medium",
"high"
]
}
},
{
"modelName": "gpt-5.4-nano",
"displayName": "GPT-5.4 Nano",
"serviceType": [
"fast",
"responses"
],
"description": "OpenAI GPT-5.4 Nano最低成本极速模型400K 上下文128K 最大输出",
"contextWindow": 400000,
"maxOutputTokens": 128000,
"capabilities": [
"chat",
"reasoning",
"code",
"fast",
"long_context"
],
"inputPrice": 0.2,
"outputPrice": 1.25,
"extra": {
"cachedInputPrice": 0.02,
"reasoningEffort": [
"none",
"low",
"medium"
]
}
},
{
"modelName": "gpt-image-2",
"displayName": "GPT Image 2",
"serviceType": [
"image_gen"
],
"description": "OpenAI 最新图像生成和编辑模型,支持文本输入、图像输入与图像输出",
"capabilities": [
"image_generation",
"image_editing",
"text_rendering",
"vision"
],
"inputPrice": 5,
"outputPrice": 30,
"extra": {
"imageInputPrice": 8,
"textCachedInputPrice": 1.25,
"imageCachedInputPrice": 2,
"snapshot": "gpt-image-2-2026-04-21",
"pricingNotes": "Text input is $5/M tokens, image input is $8/M tokens, image output is $30/M tokens."
}
},
{
"modelName": "gpt-realtime-2.1",
"displayName": "GPT Realtime 2.1",
"serviceType": [
"omni",
"realtime_voice"
],
"description": "OpenAI 最新实时多模态语音模型,支持文本、图像和音频输入输出",
"contextWindow": 128000,
"maxOutputTokens": 32000,
"capabilities": [
"chat",
"vision",
"tts",
"asr",
"realtime",
"speech_to_speech",
"reasoning",
"tool_use"
],
"inputPrice": 4,
"outputPrice": 24,
"extra": {
"textCachedInputPrice": 0.4,
"imageInputPrice": 5,
"imageCachedInputPrice": 0.5,
"audioInputPrice": 32,
"audioCachedInputPrice": 0.4,
"audioOutputPrice": 64
}
},
{
"modelName": "gpt-realtime-2.1-mini",
"displayName": "GPT Realtime 2.1 Mini",
"serviceType": [
"realtime_voice"
],
"description": "OpenAI 低成本实时语音模型,适合实时语音交互",
"contextWindow": 128000,
"maxOutputTokens": 32000,
"capabilities": [
"chat",
"vision",
"tts",
"asr",
"realtime",
"speech_to_speech",
"fast"
],
"inputPrice": 0.6,
"outputPrice": 2.4,
"extra": {
"textCachedInputPrice": 0.06,
"imageInputPrice": 0.8,
"imageCachedInputPrice": 0.08,
"audioInputPrice": 10,
"audioCachedInputPrice": 0.3,
"audioOutputPrice": 20
}
},
{
"modelName": "gpt-realtime-translate",
"displayName": "GPT Realtime Translate",
"serviceType": [
"simultaneous_interpret",
"translation"
],
"description": "OpenAI 实时语音翻译模型,按分钟计费",
"contextWindow": 16000,
"maxOutputTokens": 2000,
"capabilities": [
"translation",
"simultaneous_interpretation",
"asr",
"realtime"
],
"extra": {
"audioOutputPricePerMinute": 0.034,
"pricingNotes": "OpenAI lists this model at $0.034 per minute."
}
},
{
"modelName": "gpt-5.2",
"displayName": "GPT-5.2",
"serviceType": [
"chat"
],
"description": "OpenAI 最新旗舰模型400K 上下文,编码和智能体任务优化",
"contextWindow": 400000,
"maxOutputTokens": 128000,
"capabilities": [
"chat",
"reasoning",
"code",
"vision",
"long_context",
"tool_use"
],
"inputPrice": 1.75,
"outputPrice": 14,
"extra": {}
},
{
"modelName": "gpt-5.2-pro",
"displayName": "GPT-5.2 Pro",
"serviceType": [
"chat"
],
"description": "OpenAI GPT-5.2 Pro 专业版,最高性能",
"contextWindow": 400000,
"maxOutputTokens": 128000,
"capabilities": [
"chat",
"reasoning",
"code",
"vision",
"long_context",
"tool_use"
],
"inputPrice": 21,
"outputPrice": 168,
"extra": {}
},
{
"modelName": "gpt-5.1",
"displayName": "GPT-5.1",
"serviceType": [
"chat"
],
"description": "OpenAI GPT-5.1400K 上下文,高性能旗舰",
"contextWindow": 400000,
"maxOutputTokens": 128000,
"capabilities": [
"chat",
"reasoning",
"code",
"vision",
"long_context",
"tool_use"
],
"inputPrice": 1.25,
"outputPrice": 10,
"extra": {}
},
{
"modelName": "gpt-5",
"displayName": "GPT-5",
"serviceType": [
"chat"
],
"description": "OpenAI GPT-5 新一代旗舰模型,统一所有模型能力",
"contextWindow": 400000,
"maxOutputTokens": 128000,
"capabilities": [
"chat",
"reasoning",
"code",
"vision",
"long_context",
"tool_use"
],
"inputPrice": 1.25,
"outputPrice": 10,
"extra": {}
},
{
"modelName": "gpt-5-pro",
"displayName": "GPT-5 Pro",
"serviceType": [
"chat"
],
"description": "OpenAI GPT-5 Pro 专业版高性能推理模型",
"contextWindow": 400000,
"maxOutputTokens": 272000,
"capabilities": [
"chat",
"reasoning",
"code",
"vision",
"long_context",
"tool_use"
],
"inputPrice": 15,
"outputPrice": 120,
"extra": {}
},
{
"modelName": "gpt-5-mini",
"displayName": "GPT-5-mini",
"serviceType": [
"chat"
],
"description": "高性价比模型适合日常对话400K 上下文",
"contextWindow": 400000,
"maxOutputTokens": 128000,
"capabilities": [
"chat",
"fast",
"tool_use",
"code",
"vision"
],
"inputPrice": 0.25,
"outputPrice": 2,
"extra": {}
},
{
"modelName": "gpt-5-nano",
"displayName": "GPT-5-nano",
"serviceType": [
"fast"
],
"description": "极速响应模型适合简单任务400K 上下文",
"contextWindow": 400000,
"maxOutputTokens": 128000,
"capabilities": [
"chat",
"code",
"fast"
],
"inputPrice": 0.05,
"outputPrice": 0.4,
"extra": {}
},
{
"modelName": "gpt-4.1",
"displayName": "GPT-4.1",
"serviceType": [
"chat"
],
"description": "OpenAI GPT-4.1,支持 1M 上下文,编码和指令遵循能力大幅提升",
"contextWindow": 1047576,
"maxOutputTokens": 32768,
"capabilities": [
"chat",
"reasoning",
"code",
"vision",
"ultra_long_context",
"tool_use"
],
"inputPrice": 2,
"outputPrice": 8,
"defaultTemperature": 1,
"defaultTopP": 1,
"extra": {}
},
{
"modelName": "gpt-4.1-mini",
"displayName": "GPT-4.1 mini",
"serviceType": [
"chat"
],
"description": "OpenAI GPT-4.1 mini1M 上下文,高性价比",
"contextWindow": 1047576,
"maxOutputTokens": 32768,
"capabilities": [
"chat",
"code",
"vision",
"ultra_long_context",
"tool_use"
],
"inputPrice": 0.4,
"outputPrice": 1.6,
"defaultTemperature": 1,
"defaultTopP": 1,
"extra": {}
},
{
"modelName": "gpt-4.1-nano",
"displayName": "GPT-4.1 nano",
"serviceType": [
"fast"
],
"description": "OpenAI GPT-4.1 nano1M 上下文,极致性价比",
"contextWindow": 1047576,
"maxOutputTokens": 32768,
"capabilities": [
"chat",
"code",
"ultra_long_context",
"fast"
],
"inputPrice": 0.1,
"outputPrice": 0.4,
"defaultTemperature": 1,
"defaultTopP": 1,
"extra": {}
},
{
"modelName": "gpt-4o",
"displayName": "GPT-4o",
"serviceType": [
"vision"
],
"description": "多模态模型,支持图像理解",
"contextWindow": 128000,
"maxOutputTokens": 16384,
"capabilities": [
"chat",
"vision",
"image_understanding",
"tool_use"
],
"inputPrice": 2.5,
"outputPrice": 10,
"defaultTemperature": 1,
"defaultTopP": 1,
"extra": {}
},
{
"modelName": "gpt-4o-mini",
"displayName": "GPT-4o mini",
"serviceType": [
"vision"
],
"description": "OpenAI GPT-4o mini高性价比多模态模型",
"contextWindow": 128000,
"maxOutputTokens": 16384,
"capabilities": [
"chat",
"code",
"vision",
"tool_use"
],
"inputPrice": 0.15,
"outputPrice": 0.6,
"defaultTemperature": 1,
"defaultTopP": 1,
"extra": {}
},
{
"modelName": "text-embedding-3-small",
"displayName": "text-embedding-3-small",
"serviceType": [
"embedding"
],
"description": "轻量文本向量化模型1536 维",
"contextWindow": 8192,
"capabilities": [
"text_embedding",
"semantic_search"
],
"inputPrice": 0.02,
"extra": {}
},
{
"modelName": "text-embedding-3-large",
"displayName": "text-embedding-3-large",
"serviceType": [
"embedding"
],
"description": "高精度文本向量化模型3072 维",
"contextWindow": 8192,
"capabilities": [
"text_embedding",
"semantic_search"
],
"inputPrice": 0.13,
"extra": {}
},
{
"modelName": "tts-1",
"displayName": "TTS-1",
"serviceType": [
"tts"
],
"description": "标准语音合成",
"capabilities": [
"tts"
],
"inputPrice": 15,
"extra": {
"voices": [
"alloy",
"echo",
"fable",
"onyx",
"nova",
"shimmer"
],
"supportedAudioFormats": [
"mp3",
"opus",
"aac",
"flac"
]
}
},
{
"modelName": "tts-1-hd",
"displayName": "TTS-1-HD",
"serviceType": [
"tts"
],
"description": "高清语音合成",
"capabilities": [
"tts"
],
"inputPrice": 30,
"extra": {
"voices": [
"alloy",
"echo",
"fable",
"onyx",
"nova",
"shimmer"
],
"supportedAudioFormats": [
"mp3",
"opus",
"aac",
"flac"
]
}
},
{
"modelName": "whisper-1",
"displayName": "Whisper",
"serviceType": [
"asr"
],
"description": "通用语音识别",
"capabilities": [
"asr",
"multilingual"
],
"inputPrice": 0.006,
"extra": {
"maxAudioLength": 600,
"supportedInputFormats": [
"mp3",
"mp4",
"mpeg",
"mpga",
"m4a",
"wav",
"webm"
],
"streamingSupported": false
}
},
{
"modelName": "o3",
"displayName": "o3",
"serviceType": [
"responses"
],
"description": "OpenAI o3 推理模型200K 上下文,支持工具调用",
"contextWindow": 200000,
"maxOutputTokens": 100000,
"capabilities": [
"reasoning",
"deep_thinking",
"code",
"math",
"science",
"tool_use"
],
"inputPrice": 2,
"outputPrice": 8,
"extra": {}
},
{
"modelName": "o3-pro",
"displayName": "o3-pro",
"serviceType": [
"responses"
],
"description": "OpenAI o3-pro 高级推理模型200K 上下文",
"contextWindow": 200000,
"maxOutputTokens": 100000,
"capabilities": [
"reasoning",
"deep_thinking",
"code",
"math",
"science"
],
"inputPrice": 20,
"outputPrice": 80,
"extra": {}
},
{
"modelName": "o3-mini",
"displayName": "o3-mini",
"serviceType": [
"responses"
],
"description": "OpenAI o3-mini 推理模型200K 上下文",
"contextWindow": 200000,
"maxOutputTokens": 100000,
"capabilities": [
"reasoning",
"math",
"code",
"fast"
],
"inputPrice": 1.1,
"outputPrice": 4.4,
"extra": {}
},
{
"modelName": "o4-mini",
"displayName": "o4-mini",
"serviceType": [
"responses"
],
"description": "OpenAI o4-mini 推理模型200K 上下文,支持工具调用",
"contextWindow": 200000,
"maxOutputTokens": 100000,
"capabilities": [
"reasoning",
"math",
"code",
"tool_use",
"vision"
],
"inputPrice": 1.1,
"outputPrice": 4.4,
"extra": {}
}
],
"tombstones": [
"dall-e-3",
"gpt-4o-realtime",
"gpt-4o-realtime-preview"
]
}