@@ -18,6 +18,31 @@ export const gptImage1ParamsSchema: ModelParamsSchema = {
18
18
} ;
19
19
20
20
export const openaiChatModels : AIChatModelCard [ ] = [
21
+ {
22
+ abilities : {
23
+ functionCall : true ,
24
+ reasoning : true ,
25
+ search : true ,
26
+ vision : true ,
27
+ } ,
28
+ contextWindowTokens : 400_000 ,
29
+ description : 'GPT-5 pro 使用更多计算来更深入地思考,并持续提供更好的答案。' ,
30
+ displayName : 'GPT-5 pro' ,
31
+ id : 'gpt-5-pro' ,
32
+ maxOutput : 272_000 ,
33
+ pricing : {
34
+ units : [
35
+ { name : 'textInput' , rate : 15 , strategy : 'fixed' , unit : 'millionTokens' } ,
36
+ { name : 'textOutput' , rate : 120 , strategy : 'fixed' , unit : 'millionTokens' } ,
37
+ ] ,
38
+ } ,
39
+ releasedAt : '2025-10-06' ,
40
+ settings : {
41
+ extendParams : [ 'textVerbosity' ] ,
42
+ searchImpl : 'params' ,
43
+ } ,
44
+ type : 'chat' ,
45
+ } ,
21
46
{
22
47
abilities : {
23
48
functionCall : true ,
@@ -614,7 +639,7 @@ export const openaiChatModels: AIChatModelCard[] = [
614
639
contextWindowTokens : 128_000 ,
615
640
description : 'GPT-4o Audio Preview 模型,支持音频输入输出' ,
616
641
displayName : 'GPT-4o Audio Preview' ,
617
- id : 'gpt-4o-audio-preview' , // deprecated on 2025-10-10
642
+ id : 'gpt-4o-audio-preview' ,
618
643
maxOutput : 16_384 ,
619
644
pricing : {
620
645
units : [
@@ -1046,9 +1071,63 @@ export const openaiImageModels: AIImageModelCard[] = [
1046
1071
{ name : 'imageInput' , rate : 10 , strategy : 'fixed' , unit : 'millionTokens' } ,
1047
1072
{ name : 'imageInput_cacheRead' , rate : 2.5 , strategy : 'fixed' , unit : 'millionTokens' } ,
1048
1073
{ name : 'imageOutput' , rate : 40 , strategy : 'fixed' , unit : 'millionTokens' } ,
1074
+ {
1075
+ lookup : {
1076
+ prices : {
1077
+ 'low_1024x1024' : 0.011 ,
1078
+ 'low_1024x1536' : 0.016 ,
1079
+ 'low_1536x1024' : 0.016 ,
1080
+ 'medium_1024x1024' : 0.042 ,
1081
+ 'medium_1024x1536' : 0.063 ,
1082
+ 'medium_1536x1024' : 0.063 ,
1083
+ 'high_1024x1024' : 0.167 ,
1084
+ 'high_1024x1536' : 0.25 ,
1085
+ 'high_1536x1024' : 0.25 ,
1086
+ } ,
1087
+ pricingParams : [ 'quality' , 'size' ] ,
1088
+ } ,
1089
+ name : 'imageGeneration' ,
1090
+ strategy : 'lookup' ,
1091
+ unit : 'image' ,
1092
+ } ,
1093
+ ] ,
1094
+ } ,
1095
+ resolutions : [ '1024x1024' , '1024x1536' , '1536x1024' ] ,
1096
+ type : 'image' ,
1097
+ } ,
1098
+ {
1099
+ description : '成本更低的 GPT Image 1 版本,原生支持文本与图像输入并生成图像输出。' ,
1100
+ displayName : 'GPT Image 1 Mini' ,
1101
+ enabled : true ,
1102
+ id : 'gpt-image-1-mini' ,
1103
+ parameters : gptImage1ParamsSchema ,
1104
+ pricing : {
1105
+ units : [
1106
+ { name : 'textInput' , rate : 2 , strategy : 'fixed' , unit : 'millionTokens' } ,
1107
+ { name : 'textInput_cacheRead' , rate : 0.2 , strategy : 'fixed' , unit : 'millionTokens' } ,
1108
+ { name : 'imageInput' , rate : 2.5 , strategy : 'fixed' , unit : 'millionTokens' } ,
1109
+ { name : 'imageInput_cacheRead' , rate : 0.25 , strategy : 'fixed' , unit : 'millionTokens' } ,
1110
+ { name : 'imageOutput' , rate : 8 , strategy : 'fixed' , unit : 'millionTokens' } ,
1111
+ {
1112
+ lookup : {
1113
+ prices : {
1114
+ 'low_1024x1024' : 0.005 ,
1115
+ 'low_1024x1536' : 0.006 ,
1116
+ 'low_1536x1024' : 0.006 ,
1117
+ 'medium_1024x1024' : 0.011 ,
1118
+ 'medium_1024x1536' : 0.015 ,
1119
+ 'medium_1536x1024' : 0.015 ,
1120
+ } ,
1121
+ pricingParams : [ 'quality' , 'size' ] ,
1122
+ } ,
1123
+ name : 'imageGeneration' ,
1124
+ strategy : 'lookup' ,
1125
+ unit : 'image' ,
1126
+ } ,
1049
1127
] ,
1050
1128
} ,
1051
1129
resolutions : [ '1024x1024' , '1024x1536' , '1536x1024' ] ,
1130
+ releasedAt : '2025-10-06' ,
1052
1131
type : 'image' ,
1053
1132
} ,
1054
1133
{
0 commit comments