@mariozechner/pi-ai 0.36.0 → 0.37.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/models.d.ts +1 -1
- package/dist/models.d.ts.map +1 -1
- package/dist/models.generated.d.ts +17 -425
- package/dist/models.generated.d.ts.map +1 -1
- package/dist/models.generated.js +20 -428
- package/dist/models.generated.js.map +1 -1
- package/dist/models.js +3 -2
- package/dist/models.js.map +1 -1
- package/dist/providers/openai-codex/request-transformer.d.ts.map +1 -1
- package/dist/providers/openai-codex/request-transformer.js +10 -5
- package/dist/providers/openai-codex/request-transformer.js.map +1 -1
- package/dist/providers/openai-codex-responses.d.ts.map +1 -1
- package/dist/providers/openai-codex-responses.js +2 -0
- package/dist/providers/openai-codex-responses.js.map +1 -1
- package/dist/stream.d.ts.map +1 -1
- package/dist/stream.js.map +1 -1
- package/dist/types.d.ts +2 -2
- package/dist/types.d.ts.map +1 -1
- package/dist/types.js.map +1 -1
- package/dist/utils/oauth/github-copilot.d.ts +2 -0
- package/dist/utils/oauth/github-copilot.d.ts.map +1 -1
- package/dist/utils/oauth/github-copilot.js +28 -5
- package/dist/utils/oauth/github-copilot.js.map +1 -1
- package/dist/utils/oauth/google-antigravity.d.ts +3 -1
- package/dist/utils/oauth/google-antigravity.d.ts.map +1 -1
- package/dist/utils/oauth/google-antigravity.js +100 -19
- package/dist/utils/oauth/google-antigravity.js.map +1 -1
- package/dist/utils/oauth/google-gemini-cli.d.ts +3 -1
- package/dist/utils/oauth/google-gemini-cli.d.ts.map +1 -1
- package/dist/utils/oauth/google-gemini-cli.js +100 -19
- package/dist/utils/oauth/google-gemini-cli.js.map +1 -1
- package/dist/utils/oauth/index.d.ts.map +1 -1
- package/dist/utils/oauth/index.js +5 -5
- package/dist/utils/oauth/index.js.map +1 -1
- package/dist/utils/oauth/openai-codex.d.ts +8 -0
- package/dist/utils/oauth/openai-codex.d.ts.map +1 -1
- package/dist/utils/oauth/openai-codex.js +67 -3
- package/dist/utils/oauth/openai-codex.js.map +1 -1
- package/package.json +1 -1
package/dist/models.generated.js
CHANGED
|
@@ -2839,40 +2839,6 @@ export const MODELS = {
|
|
|
2839
2839
|
contextWindow: 400000,
|
|
2840
2840
|
maxTokens: 128000,
|
|
2841
2841
|
},
|
|
2842
|
-
"gpt-5-codex-mini-high": {
|
|
2843
|
-
id: "gpt-5-codex-mini-high",
|
|
2844
|
-
name: "gpt-5-codex-mini-high",
|
|
2845
|
-
api: "openai-codex-responses",
|
|
2846
|
-
provider: "openai-codex",
|
|
2847
|
-
baseUrl: "https://chatgpt.com/backend-api",
|
|
2848
|
-
reasoning: true,
|
|
2849
|
-
input: ["text", "image"],
|
|
2850
|
-
cost: {
|
|
2851
|
-
input: 0,
|
|
2852
|
-
output: 0,
|
|
2853
|
-
cacheRead: 0,
|
|
2854
|
-
cacheWrite: 0,
|
|
2855
|
-
},
|
|
2856
|
-
contextWindow: 400000,
|
|
2857
|
-
maxTokens: 128000,
|
|
2858
|
-
},
|
|
2859
|
-
"gpt-5-codex-mini-medium": {
|
|
2860
|
-
id: "gpt-5-codex-mini-medium",
|
|
2861
|
-
name: "gpt-5-codex-mini-medium",
|
|
2862
|
-
api: "openai-codex-responses",
|
|
2863
|
-
provider: "openai-codex",
|
|
2864
|
-
baseUrl: "https://chatgpt.com/backend-api",
|
|
2865
|
-
reasoning: true,
|
|
2866
|
-
input: ["text", "image"],
|
|
2867
|
-
cost: {
|
|
2868
|
-
input: 0,
|
|
2869
|
-
output: 0,
|
|
2870
|
-
cacheRead: 0,
|
|
2871
|
-
cacheWrite: 0,
|
|
2872
|
-
},
|
|
2873
|
-
contextWindow: 400000,
|
|
2874
|
-
maxTokens: 128000,
|
|
2875
|
-
},
|
|
2876
2842
|
"gpt-5-mini": {
|
|
2877
2843
|
id: "gpt-5-mini",
|
|
2878
2844
|
name: "gpt-5-mini",
|
|
@@ -2958,40 +2924,6 @@ export const MODELS = {
|
|
|
2958
2924
|
contextWindow: 400000,
|
|
2959
2925
|
maxTokens: 128000,
|
|
2960
2926
|
},
|
|
2961
|
-
"gpt-5.1-codex-high": {
|
|
2962
|
-
id: "gpt-5.1-codex-high",
|
|
2963
|
-
name: "gpt-5.1-codex-high",
|
|
2964
|
-
api: "openai-codex-responses",
|
|
2965
|
-
provider: "openai-codex",
|
|
2966
|
-
baseUrl: "https://chatgpt.com/backend-api",
|
|
2967
|
-
reasoning: true,
|
|
2968
|
-
input: ["text", "image"],
|
|
2969
|
-
cost: {
|
|
2970
|
-
input: 0,
|
|
2971
|
-
output: 0,
|
|
2972
|
-
cacheRead: 0,
|
|
2973
|
-
cacheWrite: 0,
|
|
2974
|
-
},
|
|
2975
|
-
contextWindow: 400000,
|
|
2976
|
-
maxTokens: 128000,
|
|
2977
|
-
},
|
|
2978
|
-
"gpt-5.1-codex-low": {
|
|
2979
|
-
id: "gpt-5.1-codex-low",
|
|
2980
|
-
name: "gpt-5.1-codex-low",
|
|
2981
|
-
api: "openai-codex-responses",
|
|
2982
|
-
provider: "openai-codex",
|
|
2983
|
-
baseUrl: "https://chatgpt.com/backend-api",
|
|
2984
|
-
reasoning: true,
|
|
2985
|
-
input: ["text", "image"],
|
|
2986
|
-
cost: {
|
|
2987
|
-
input: 0,
|
|
2988
|
-
output: 0,
|
|
2989
|
-
cacheRead: 0,
|
|
2990
|
-
cacheWrite: 0,
|
|
2991
|
-
},
|
|
2992
|
-
contextWindow: 400000,
|
|
2993
|
-
maxTokens: 128000,
|
|
2994
|
-
},
|
|
2995
2927
|
"gpt-5.1-codex-max": {
|
|
2996
2928
|
id: "gpt-5.1-codex-max",
|
|
2997
2929
|
name: "GPT-5.1 Codex Max",
|
|
@@ -3009,91 +2941,6 @@ export const MODELS = {
|
|
|
3009
2941
|
contextWindow: 400000,
|
|
3010
2942
|
maxTokens: 128000,
|
|
3011
2943
|
},
|
|
3012
|
-
"gpt-5.1-codex-max-high": {
|
|
3013
|
-
id: "gpt-5.1-codex-max-high",
|
|
3014
|
-
name: "gpt-5.1-codex-max-high",
|
|
3015
|
-
api: "openai-codex-responses",
|
|
3016
|
-
provider: "openai-codex",
|
|
3017
|
-
baseUrl: "https://chatgpt.com/backend-api",
|
|
3018
|
-
reasoning: true,
|
|
3019
|
-
input: ["text", "image"],
|
|
3020
|
-
cost: {
|
|
3021
|
-
input: 0,
|
|
3022
|
-
output: 0,
|
|
3023
|
-
cacheRead: 0,
|
|
3024
|
-
cacheWrite: 0,
|
|
3025
|
-
},
|
|
3026
|
-
contextWindow: 400000,
|
|
3027
|
-
maxTokens: 128000,
|
|
3028
|
-
},
|
|
3029
|
-
"gpt-5.1-codex-max-low": {
|
|
3030
|
-
id: "gpt-5.1-codex-max-low",
|
|
3031
|
-
name: "gpt-5.1-codex-max-low",
|
|
3032
|
-
api: "openai-codex-responses",
|
|
3033
|
-
provider: "openai-codex",
|
|
3034
|
-
baseUrl: "https://chatgpt.com/backend-api",
|
|
3035
|
-
reasoning: true,
|
|
3036
|
-
input: ["text", "image"],
|
|
3037
|
-
cost: {
|
|
3038
|
-
input: 0,
|
|
3039
|
-
output: 0,
|
|
3040
|
-
cacheRead: 0,
|
|
3041
|
-
cacheWrite: 0,
|
|
3042
|
-
},
|
|
3043
|
-
contextWindow: 400000,
|
|
3044
|
-
maxTokens: 128000,
|
|
3045
|
-
},
|
|
3046
|
-
"gpt-5.1-codex-max-medium": {
|
|
3047
|
-
id: "gpt-5.1-codex-max-medium",
|
|
3048
|
-
name: "gpt-5.1-codex-max-medium",
|
|
3049
|
-
api: "openai-codex-responses",
|
|
3050
|
-
provider: "openai-codex",
|
|
3051
|
-
baseUrl: "https://chatgpt.com/backend-api",
|
|
3052
|
-
reasoning: true,
|
|
3053
|
-
input: ["text", "image"],
|
|
3054
|
-
cost: {
|
|
3055
|
-
input: 0,
|
|
3056
|
-
output: 0,
|
|
3057
|
-
cacheRead: 0,
|
|
3058
|
-
cacheWrite: 0,
|
|
3059
|
-
},
|
|
3060
|
-
contextWindow: 400000,
|
|
3061
|
-
maxTokens: 128000,
|
|
3062
|
-
},
|
|
3063
|
-
"gpt-5.1-codex-max-xhigh": {
|
|
3064
|
-
id: "gpt-5.1-codex-max-xhigh",
|
|
3065
|
-
name: "gpt-5.1-codex-max-xhigh",
|
|
3066
|
-
api: "openai-codex-responses",
|
|
3067
|
-
provider: "openai-codex",
|
|
3068
|
-
baseUrl: "https://chatgpt.com/backend-api",
|
|
3069
|
-
reasoning: true,
|
|
3070
|
-
input: ["text", "image"],
|
|
3071
|
-
cost: {
|
|
3072
|
-
input: 0,
|
|
3073
|
-
output: 0,
|
|
3074
|
-
cacheRead: 0,
|
|
3075
|
-
cacheWrite: 0,
|
|
3076
|
-
},
|
|
3077
|
-
contextWindow: 400000,
|
|
3078
|
-
maxTokens: 128000,
|
|
3079
|
-
},
|
|
3080
|
-
"gpt-5.1-codex-medium": {
|
|
3081
|
-
id: "gpt-5.1-codex-medium",
|
|
3082
|
-
name: "gpt-5.1-codex-medium",
|
|
3083
|
-
api: "openai-codex-responses",
|
|
3084
|
-
provider: "openai-codex",
|
|
3085
|
-
baseUrl: "https://chatgpt.com/backend-api",
|
|
3086
|
-
reasoning: true,
|
|
3087
|
-
input: ["text", "image"],
|
|
3088
|
-
cost: {
|
|
3089
|
-
input: 0,
|
|
3090
|
-
output: 0,
|
|
3091
|
-
cacheRead: 0,
|
|
3092
|
-
cacheWrite: 0,
|
|
3093
|
-
},
|
|
3094
|
-
contextWindow: 400000,
|
|
3095
|
-
maxTokens: 128000,
|
|
3096
|
-
},
|
|
3097
2944
|
"gpt-5.1-codex-mini": {
|
|
3098
2945
|
id: "gpt-5.1-codex-mini",
|
|
3099
2946
|
name: "GPT-5.1 Codex Mini",
|
|
@@ -3111,108 +2958,6 @@ export const MODELS = {
|
|
|
3111
2958
|
contextWindow: 400000,
|
|
3112
2959
|
maxTokens: 128000,
|
|
3113
2960
|
},
|
|
3114
|
-
"gpt-5.1-codex-mini-high": {
|
|
3115
|
-
id: "gpt-5.1-codex-mini-high",
|
|
3116
|
-
name: "gpt-5.1-codex-mini-high",
|
|
3117
|
-
api: "openai-codex-responses",
|
|
3118
|
-
provider: "openai-codex",
|
|
3119
|
-
baseUrl: "https://chatgpt.com/backend-api",
|
|
3120
|
-
reasoning: true,
|
|
3121
|
-
input: ["text", "image"],
|
|
3122
|
-
cost: {
|
|
3123
|
-
input: 0,
|
|
3124
|
-
output: 0,
|
|
3125
|
-
cacheRead: 0,
|
|
3126
|
-
cacheWrite: 0,
|
|
3127
|
-
},
|
|
3128
|
-
contextWindow: 400000,
|
|
3129
|
-
maxTokens: 128000,
|
|
3130
|
-
},
|
|
3131
|
-
"gpt-5.1-codex-mini-medium": {
|
|
3132
|
-
id: "gpt-5.1-codex-mini-medium",
|
|
3133
|
-
name: "gpt-5.1-codex-mini-medium",
|
|
3134
|
-
api: "openai-codex-responses",
|
|
3135
|
-
provider: "openai-codex",
|
|
3136
|
-
baseUrl: "https://chatgpt.com/backend-api",
|
|
3137
|
-
reasoning: true,
|
|
3138
|
-
input: ["text", "image"],
|
|
3139
|
-
cost: {
|
|
3140
|
-
input: 0,
|
|
3141
|
-
output: 0,
|
|
3142
|
-
cacheRead: 0,
|
|
3143
|
-
cacheWrite: 0,
|
|
3144
|
-
},
|
|
3145
|
-
contextWindow: 400000,
|
|
3146
|
-
maxTokens: 128000,
|
|
3147
|
-
},
|
|
3148
|
-
"gpt-5.1-high": {
|
|
3149
|
-
id: "gpt-5.1-high",
|
|
3150
|
-
name: "gpt-5.1-high",
|
|
3151
|
-
api: "openai-codex-responses",
|
|
3152
|
-
provider: "openai-codex",
|
|
3153
|
-
baseUrl: "https://chatgpt.com/backend-api",
|
|
3154
|
-
reasoning: true,
|
|
3155
|
-
input: ["text", "image"],
|
|
3156
|
-
cost: {
|
|
3157
|
-
input: 0,
|
|
3158
|
-
output: 0,
|
|
3159
|
-
cacheRead: 0,
|
|
3160
|
-
cacheWrite: 0,
|
|
3161
|
-
},
|
|
3162
|
-
contextWindow: 400000,
|
|
3163
|
-
maxTokens: 128000,
|
|
3164
|
-
},
|
|
3165
|
-
"gpt-5.1-low": {
|
|
3166
|
-
id: "gpt-5.1-low",
|
|
3167
|
-
name: "gpt-5.1-low",
|
|
3168
|
-
api: "openai-codex-responses",
|
|
3169
|
-
provider: "openai-codex",
|
|
3170
|
-
baseUrl: "https://chatgpt.com/backend-api",
|
|
3171
|
-
reasoning: true,
|
|
3172
|
-
input: ["text", "image"],
|
|
3173
|
-
cost: {
|
|
3174
|
-
input: 0,
|
|
3175
|
-
output: 0,
|
|
3176
|
-
cacheRead: 0,
|
|
3177
|
-
cacheWrite: 0,
|
|
3178
|
-
},
|
|
3179
|
-
contextWindow: 400000,
|
|
3180
|
-
maxTokens: 128000,
|
|
3181
|
-
},
|
|
3182
|
-
"gpt-5.1-medium": {
|
|
3183
|
-
id: "gpt-5.1-medium",
|
|
3184
|
-
name: "gpt-5.1-medium",
|
|
3185
|
-
api: "openai-codex-responses",
|
|
3186
|
-
provider: "openai-codex",
|
|
3187
|
-
baseUrl: "https://chatgpt.com/backend-api",
|
|
3188
|
-
reasoning: true,
|
|
3189
|
-
input: ["text", "image"],
|
|
3190
|
-
cost: {
|
|
3191
|
-
input: 0,
|
|
3192
|
-
output: 0,
|
|
3193
|
-
cacheRead: 0,
|
|
3194
|
-
cacheWrite: 0,
|
|
3195
|
-
},
|
|
3196
|
-
contextWindow: 400000,
|
|
3197
|
-
maxTokens: 128000,
|
|
3198
|
-
},
|
|
3199
|
-
"gpt-5.1-none": {
|
|
3200
|
-
id: "gpt-5.1-none",
|
|
3201
|
-
name: "gpt-5.1-none",
|
|
3202
|
-
api: "openai-codex-responses",
|
|
3203
|
-
provider: "openai-codex",
|
|
3204
|
-
baseUrl: "https://chatgpt.com/backend-api",
|
|
3205
|
-
reasoning: true,
|
|
3206
|
-
input: ["text", "image"],
|
|
3207
|
-
cost: {
|
|
3208
|
-
input: 0,
|
|
3209
|
-
output: 0,
|
|
3210
|
-
cacheRead: 0,
|
|
3211
|
-
cacheWrite: 0,
|
|
3212
|
-
},
|
|
3213
|
-
contextWindow: 400000,
|
|
3214
|
-
maxTokens: 128000,
|
|
3215
|
-
},
|
|
3216
2961
|
"gpt-5.2": {
|
|
3217
2962
|
id: "gpt-5.2",
|
|
3218
2963
|
name: "GPT-5.2",
|
|
@@ -3247,159 +2992,6 @@ export const MODELS = {
|
|
|
3247
2992
|
contextWindow: 400000,
|
|
3248
2993
|
maxTokens: 128000,
|
|
3249
2994
|
},
|
|
3250
|
-
"gpt-5.2-codex-high": {
|
|
3251
|
-
id: "gpt-5.2-codex-high",
|
|
3252
|
-
name: "gpt-5.2-codex-high",
|
|
3253
|
-
api: "openai-codex-responses",
|
|
3254
|
-
provider: "openai-codex",
|
|
3255
|
-
baseUrl: "https://chatgpt.com/backend-api",
|
|
3256
|
-
reasoning: true,
|
|
3257
|
-
input: ["text", "image"],
|
|
3258
|
-
cost: {
|
|
3259
|
-
input: 0,
|
|
3260
|
-
output: 0,
|
|
3261
|
-
cacheRead: 0,
|
|
3262
|
-
cacheWrite: 0,
|
|
3263
|
-
},
|
|
3264
|
-
contextWindow: 400000,
|
|
3265
|
-
maxTokens: 128000,
|
|
3266
|
-
},
|
|
3267
|
-
"gpt-5.2-codex-low": {
|
|
3268
|
-
id: "gpt-5.2-codex-low",
|
|
3269
|
-
name: "gpt-5.2-codex-low",
|
|
3270
|
-
api: "openai-codex-responses",
|
|
3271
|
-
provider: "openai-codex",
|
|
3272
|
-
baseUrl: "https://chatgpt.com/backend-api",
|
|
3273
|
-
reasoning: true,
|
|
3274
|
-
input: ["text", "image"],
|
|
3275
|
-
cost: {
|
|
3276
|
-
input: 0,
|
|
3277
|
-
output: 0,
|
|
3278
|
-
cacheRead: 0,
|
|
3279
|
-
cacheWrite: 0,
|
|
3280
|
-
},
|
|
3281
|
-
contextWindow: 400000,
|
|
3282
|
-
maxTokens: 128000,
|
|
3283
|
-
},
|
|
3284
|
-
"gpt-5.2-codex-medium": {
|
|
3285
|
-
id: "gpt-5.2-codex-medium",
|
|
3286
|
-
name: "gpt-5.2-codex-medium",
|
|
3287
|
-
api: "openai-codex-responses",
|
|
3288
|
-
provider: "openai-codex",
|
|
3289
|
-
baseUrl: "https://chatgpt.com/backend-api",
|
|
3290
|
-
reasoning: true,
|
|
3291
|
-
input: ["text", "image"],
|
|
3292
|
-
cost: {
|
|
3293
|
-
input: 0,
|
|
3294
|
-
output: 0,
|
|
3295
|
-
cacheRead: 0,
|
|
3296
|
-
cacheWrite: 0,
|
|
3297
|
-
},
|
|
3298
|
-
contextWindow: 400000,
|
|
3299
|
-
maxTokens: 128000,
|
|
3300
|
-
},
|
|
3301
|
-
"gpt-5.2-codex-xhigh": {
|
|
3302
|
-
id: "gpt-5.2-codex-xhigh",
|
|
3303
|
-
name: "gpt-5.2-codex-xhigh",
|
|
3304
|
-
api: "openai-codex-responses",
|
|
3305
|
-
provider: "openai-codex",
|
|
3306
|
-
baseUrl: "https://chatgpt.com/backend-api",
|
|
3307
|
-
reasoning: true,
|
|
3308
|
-
input: ["text", "image"],
|
|
3309
|
-
cost: {
|
|
3310
|
-
input: 0,
|
|
3311
|
-
output: 0,
|
|
3312
|
-
cacheRead: 0,
|
|
3313
|
-
cacheWrite: 0,
|
|
3314
|
-
},
|
|
3315
|
-
contextWindow: 400000,
|
|
3316
|
-
maxTokens: 128000,
|
|
3317
|
-
},
|
|
3318
|
-
"gpt-5.2-high": {
|
|
3319
|
-
id: "gpt-5.2-high",
|
|
3320
|
-
name: "gpt-5.2-high",
|
|
3321
|
-
api: "openai-codex-responses",
|
|
3322
|
-
provider: "openai-codex",
|
|
3323
|
-
baseUrl: "https://chatgpt.com/backend-api",
|
|
3324
|
-
reasoning: true,
|
|
3325
|
-
input: ["text", "image"],
|
|
3326
|
-
cost: {
|
|
3327
|
-
input: 0,
|
|
3328
|
-
output: 0,
|
|
3329
|
-
cacheRead: 0,
|
|
3330
|
-
cacheWrite: 0,
|
|
3331
|
-
},
|
|
3332
|
-
contextWindow: 400000,
|
|
3333
|
-
maxTokens: 128000,
|
|
3334
|
-
},
|
|
3335
|
-
"gpt-5.2-low": {
|
|
3336
|
-
id: "gpt-5.2-low",
|
|
3337
|
-
name: "gpt-5.2-low",
|
|
3338
|
-
api: "openai-codex-responses",
|
|
3339
|
-
provider: "openai-codex",
|
|
3340
|
-
baseUrl: "https://chatgpt.com/backend-api",
|
|
3341
|
-
reasoning: true,
|
|
3342
|
-
input: ["text", "image"],
|
|
3343
|
-
cost: {
|
|
3344
|
-
input: 0,
|
|
3345
|
-
output: 0,
|
|
3346
|
-
cacheRead: 0,
|
|
3347
|
-
cacheWrite: 0,
|
|
3348
|
-
},
|
|
3349
|
-
contextWindow: 400000,
|
|
3350
|
-
maxTokens: 128000,
|
|
3351
|
-
},
|
|
3352
|
-
"gpt-5.2-medium": {
|
|
3353
|
-
id: "gpt-5.2-medium",
|
|
3354
|
-
name: "gpt-5.2-medium",
|
|
3355
|
-
api: "openai-codex-responses",
|
|
3356
|
-
provider: "openai-codex",
|
|
3357
|
-
baseUrl: "https://chatgpt.com/backend-api",
|
|
3358
|
-
reasoning: true,
|
|
3359
|
-
input: ["text", "image"],
|
|
3360
|
-
cost: {
|
|
3361
|
-
input: 0,
|
|
3362
|
-
output: 0,
|
|
3363
|
-
cacheRead: 0,
|
|
3364
|
-
cacheWrite: 0,
|
|
3365
|
-
},
|
|
3366
|
-
contextWindow: 400000,
|
|
3367
|
-
maxTokens: 128000,
|
|
3368
|
-
},
|
|
3369
|
-
"gpt-5.2-none": {
|
|
3370
|
-
id: "gpt-5.2-none",
|
|
3371
|
-
name: "gpt-5.2-none",
|
|
3372
|
-
api: "openai-codex-responses",
|
|
3373
|
-
provider: "openai-codex",
|
|
3374
|
-
baseUrl: "https://chatgpt.com/backend-api",
|
|
3375
|
-
reasoning: true,
|
|
3376
|
-
input: ["text", "image"],
|
|
3377
|
-
cost: {
|
|
3378
|
-
input: 0,
|
|
3379
|
-
output: 0,
|
|
3380
|
-
cacheRead: 0,
|
|
3381
|
-
cacheWrite: 0,
|
|
3382
|
-
},
|
|
3383
|
-
contextWindow: 400000,
|
|
3384
|
-
maxTokens: 128000,
|
|
3385
|
-
},
|
|
3386
|
-
"gpt-5.2-xhigh": {
|
|
3387
|
-
id: "gpt-5.2-xhigh",
|
|
3388
|
-
name: "gpt-5.2-xhigh",
|
|
3389
|
-
api: "openai-codex-responses",
|
|
3390
|
-
provider: "openai-codex",
|
|
3391
|
-
baseUrl: "https://chatgpt.com/backend-api",
|
|
3392
|
-
reasoning: true,
|
|
3393
|
-
input: ["text", "image"],
|
|
3394
|
-
cost: {
|
|
3395
|
-
input: 0,
|
|
3396
|
-
output: 0,
|
|
3397
|
-
cacheRead: 0,
|
|
3398
|
-
cacheWrite: 0,
|
|
3399
|
-
},
|
|
3400
|
-
contextWindow: 400000,
|
|
3401
|
-
maxTokens: 128000,
|
|
3402
|
-
},
|
|
3403
2995
|
},
|
|
3404
2996
|
"openrouter": {
|
|
3405
2997
|
"ai21/jamba-large-1.7": {
|
|
@@ -3572,23 +3164,6 @@ export const MODELS = {
|
|
|
3572
3164
|
contextWindow: 200000,
|
|
3573
3165
|
maxTokens: 4096,
|
|
3574
3166
|
},
|
|
3575
|
-
"anthropic/claude-3-opus": {
|
|
3576
|
-
id: "anthropic/claude-3-opus",
|
|
3577
|
-
name: "Anthropic: Claude 3 Opus",
|
|
3578
|
-
api: "openai-completions",
|
|
3579
|
-
provider: "openrouter",
|
|
3580
|
-
baseUrl: "https://openrouter.ai/api/v1",
|
|
3581
|
-
reasoning: false,
|
|
3582
|
-
input: ["text", "image"],
|
|
3583
|
-
cost: {
|
|
3584
|
-
input: 15,
|
|
3585
|
-
output: 75,
|
|
3586
|
-
cacheRead: 1.5,
|
|
3587
|
-
cacheWrite: 18.75,
|
|
3588
|
-
},
|
|
3589
|
-
contextWindow: 200000,
|
|
3590
|
-
maxTokens: 4096,
|
|
3591
|
-
},
|
|
3592
3167
|
"anthropic/claude-3.5-haiku": {
|
|
3593
3168
|
id: "anthropic/claude-3.5-haiku",
|
|
3594
3169
|
name: "Anthropic: Claude 3.5 Haiku",
|
|
@@ -4454,7 +4029,7 @@ export const MODELS = {
|
|
|
4454
4029
|
cacheWrite: 0,
|
|
4455
4030
|
},
|
|
4456
4031
|
contextWindow: 256000,
|
|
4457
|
-
maxTokens:
|
|
4032
|
+
maxTokens: 128000,
|
|
4458
4033
|
},
|
|
4459
4034
|
"meta-llama/llama-3-70b-instruct": {
|
|
4460
4035
|
id: "meta-llama/llama-3-70b-instruct",
|
|
@@ -4534,11 +4109,11 @@ export const MODELS = {
|
|
|
4534
4109
|
input: ["text"],
|
|
4535
4110
|
cost: {
|
|
4536
4111
|
input: 0.02,
|
|
4537
|
-
output: 0.
|
|
4112
|
+
output: 0.049999999999999996,
|
|
4538
4113
|
cacheRead: 0,
|
|
4539
4114
|
cacheWrite: 0,
|
|
4540
4115
|
},
|
|
4541
|
-
contextWindow:
|
|
4116
|
+
contextWindow: 16384,
|
|
4542
4117
|
maxTokens: 16384,
|
|
4543
4118
|
},
|
|
4544
4119
|
"meta-llama/llama-3.2-3b-instruct": {
|
|
@@ -7074,6 +6649,23 @@ export const MODELS = {
|
|
|
7074
6649
|
contextWindow: 163840,
|
|
7075
6650
|
maxTokens: 65536,
|
|
7076
6651
|
},
|
|
6652
|
+
"tngtech/tng-r1t-chimera:free": {
|
|
6653
|
+
id: "tngtech/tng-r1t-chimera:free",
|
|
6654
|
+
name: "TNG: R1T Chimera (free)",
|
|
6655
|
+
api: "openai-completions",
|
|
6656
|
+
provider: "openrouter",
|
|
6657
|
+
baseUrl: "https://openrouter.ai/api/v1",
|
|
6658
|
+
reasoning: true,
|
|
6659
|
+
input: ["text"],
|
|
6660
|
+
cost: {
|
|
6661
|
+
input: 0,
|
|
6662
|
+
output: 0,
|
|
6663
|
+
cacheRead: 0,
|
|
6664
|
+
cacheWrite: 0,
|
|
6665
|
+
},
|
|
6666
|
+
contextWindow: 163840,
|
|
6667
|
+
maxTokens: 65536,
|
|
6668
|
+
},
|
|
7077
6669
|
"x-ai/grok-3": {
|
|
7078
6670
|
id: "x-ai/grok-3",
|
|
7079
6671
|
name: "xAI: Grok 3",
|