@mariozechner/pi-ai 0.71.0 → 0.72.0

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.
Files changed (52) hide show
  1. package/README.md +12 -1
  2. package/dist/env-api-keys.d.ts.map +1 -1
  3. package/dist/env-api-keys.js +1 -0
  4. package/dist/env-api-keys.js.map +1 -1
  5. package/dist/index.d.ts +2 -1
  6. package/dist/index.d.ts.map +1 -1
  7. package/dist/index.js +1 -0
  8. package/dist/index.js.map +1 -1
  9. package/dist/models.d.ts +3 -10
  10. package/dist/models.d.ts.map +1 -1
  11. package/dist/models.generated.d.ts +730 -59
  12. package/dist/models.generated.d.ts.map +1 -1
  13. package/dist/models.generated.js +306 -28
  14. package/dist/models.generated.js.map +1 -1
  15. package/dist/models.js +28 -21
  16. package/dist/models.js.map +1 -1
  17. package/dist/providers/amazon-bedrock.d.ts.map +1 -1
  18. package/dist/providers/amazon-bedrock.js +5 -11
  19. package/dist/providers/amazon-bedrock.js.map +1 -1
  20. package/dist/providers/anthropic.d.ts.map +1 -1
  21. package/dist/providers/anthropic.js +5 -11
  22. package/dist/providers/anthropic.js.map +1 -1
  23. package/dist/providers/azure-openai-responses.d.ts.map +1 -1
  24. package/dist/providers/azure-openai-responses.js +12 -6
  25. package/dist/providers/azure-openai-responses.js.map +1 -1
  26. package/dist/providers/google-vertex.d.ts.map +1 -1
  27. package/dist/providers/google-vertex.js +4 -3
  28. package/dist/providers/google-vertex.js.map +1 -1
  29. package/dist/providers/google.d.ts.map +1 -1
  30. package/dist/providers/google.js +4 -3
  31. package/dist/providers/google.js.map +1 -1
  32. package/dist/providers/mistral.d.ts.map +1 -1
  33. package/dist/providers/mistral.js +7 -6
  34. package/dist/providers/mistral.js.map +1 -1
  35. package/dist/providers/openai-codex-responses.d.ts +15 -0
  36. package/dist/providers/openai-codex-responses.d.ts.map +1 -1
  37. package/dist/providers/openai-codex-responses.js +151 -21
  38. package/dist/providers/openai-codex-responses.js.map +1 -1
  39. package/dist/providers/openai-completions.d.ts.map +1 -1
  40. package/dist/providers/openai-completions.js +16 -31
  41. package/dist/providers/openai-completions.js.map +1 -1
  42. package/dist/providers/openai-responses.d.ts.map +1 -1
  43. package/dist/providers/openai-responses.js +12 -6
  44. package/dist/providers/openai-responses.js.map +1 -1
  45. package/dist/types.d.ts +9 -4
  46. package/dist/types.d.ts.map +1 -1
  47. package/dist/types.js.map +1 -1
  48. package/dist/utils/overflow.d.ts +2 -0
  49. package/dist/utils/overflow.d.ts.map +1 -1
  50. package/dist/utils/overflow.js +14 -0
  51. package/dist/utils/overflow.js.map +1 -1
  52. package/package.json +1 -1
@@ -247,6 +247,7 @@ export const MODELS = {
247
247
  provider: "amazon-bedrock",
248
248
  baseUrl: "https://bedrock-runtime.us-east-1.amazonaws.com",
249
249
  reasoning: true,
250
+ thinkingLevelMap: { "xhigh": "max" },
250
251
  input: ["text", "image"],
251
252
  cost: {
252
253
  input: 5,
@@ -264,6 +265,7 @@ export const MODELS = {
264
265
  provider: "amazon-bedrock",
265
266
  baseUrl: "https://bedrock-runtime.us-east-1.amazonaws.com",
266
267
  reasoning: true,
268
+ thinkingLevelMap: { "xhigh": "xhigh" },
267
269
  input: ["text", "image"],
268
270
  cost: {
269
271
  input: 5,
@@ -332,6 +334,7 @@ export const MODELS = {
332
334
  provider: "amazon-bedrock",
333
335
  baseUrl: "https://bedrock-runtime.us-east-1.amazonaws.com",
334
336
  reasoning: true,
337
+ thinkingLevelMap: { "xhigh": "max" },
335
338
  input: ["text", "image"],
336
339
  cost: {
337
340
  input: 16.5,
@@ -451,6 +454,7 @@ export const MODELS = {
451
454
  provider: "amazon-bedrock",
452
455
  baseUrl: "https://bedrock-runtime.eu-central-1.amazonaws.com",
453
456
  reasoning: true,
457
+ thinkingLevelMap: { "xhigh": "max" },
454
458
  input: ["text", "image"],
455
459
  cost: {
456
460
  input: 5,
@@ -468,6 +472,7 @@ export const MODELS = {
468
472
  provider: "amazon-bedrock",
469
473
  baseUrl: "https://bedrock-runtime.eu-central-1.amazonaws.com",
470
474
  reasoning: true,
475
+ thinkingLevelMap: { "xhigh": "xhigh" },
471
476
  input: ["text", "image"],
472
477
  cost: {
473
478
  input: 5,
@@ -570,6 +575,7 @@ export const MODELS = {
570
575
  provider: "amazon-bedrock",
571
576
  baseUrl: "https://bedrock-runtime.us-east-1.amazonaws.com",
572
577
  reasoning: true,
578
+ thinkingLevelMap: { "xhigh": "max" },
573
579
  input: ["text", "image"],
574
580
  cost: {
575
581
  input: 5,
@@ -587,6 +593,7 @@ export const MODELS = {
587
593
  provider: "amazon-bedrock",
588
594
  baseUrl: "https://bedrock-runtime.us-east-1.amazonaws.com",
589
595
  reasoning: true,
596
+ thinkingLevelMap: { "xhigh": "xhigh" },
590
597
  input: ["text", "image"],
591
598
  cost: {
592
599
  input: 5,
@@ -1420,6 +1427,7 @@ export const MODELS = {
1420
1427
  provider: "amazon-bedrock",
1421
1428
  baseUrl: "https://bedrock-runtime.us-east-1.amazonaws.com",
1422
1429
  reasoning: true,
1430
+ thinkingLevelMap: { "xhigh": "max" },
1423
1431
  input: ["text", "image"],
1424
1432
  cost: {
1425
1433
  input: 5,
@@ -1437,6 +1445,7 @@ export const MODELS = {
1437
1445
  provider: "amazon-bedrock",
1438
1446
  baseUrl: "https://bedrock-runtime.us-east-1.amazonaws.com",
1439
1447
  reasoning: true,
1448
+ thinkingLevelMap: { "xhigh": "xhigh" },
1440
1449
  input: ["text", "image"],
1441
1450
  cost: {
1442
1451
  input: 5,
@@ -1864,6 +1873,7 @@ export const MODELS = {
1864
1873
  provider: "anthropic",
1865
1874
  baseUrl: "https://api.anthropic.com",
1866
1875
  reasoning: true,
1876
+ thinkingLevelMap: { "xhigh": "max" },
1867
1877
  input: ["text", "image"],
1868
1878
  cost: {
1869
1879
  input: 5,
@@ -1881,6 +1891,7 @@ export const MODELS = {
1881
1891
  provider: "anthropic",
1882
1892
  baseUrl: "https://api.anthropic.com",
1883
1893
  reasoning: true,
1894
+ thinkingLevelMap: { "xhigh": "xhigh" },
1884
1895
  input: ["text", "image"],
1885
1896
  cost: {
1886
1897
  input: 5,
@@ -2155,6 +2166,7 @@ export const MODELS = {
2155
2166
  provider: "azure-openai-responses",
2156
2167
  baseUrl: "",
2157
2168
  reasoning: true,
2169
+ thinkingLevelMap: { "off": null },
2158
2170
  input: ["text", "image"],
2159
2171
  cost: {
2160
2172
  input: 1.25,
@@ -2172,6 +2184,7 @@ export const MODELS = {
2172
2184
  provider: "azure-openai-responses",
2173
2185
  baseUrl: "",
2174
2186
  reasoning: false,
2187
+ thinkingLevelMap: { "off": null },
2175
2188
  input: ["text", "image"],
2176
2189
  cost: {
2177
2190
  input: 1.25,
@@ -2189,6 +2202,7 @@ export const MODELS = {
2189
2202
  provider: "azure-openai-responses",
2190
2203
  baseUrl: "",
2191
2204
  reasoning: true,
2205
+ thinkingLevelMap: { "off": null },
2192
2206
  input: ["text", "image"],
2193
2207
  cost: {
2194
2208
  input: 1.25,
@@ -2206,6 +2220,7 @@ export const MODELS = {
2206
2220
  provider: "azure-openai-responses",
2207
2221
  baseUrl: "",
2208
2222
  reasoning: true,
2223
+ thinkingLevelMap: { "off": null },
2209
2224
  input: ["text", "image"],
2210
2225
  cost: {
2211
2226
  input: 0.25,
@@ -2223,6 +2238,7 @@ export const MODELS = {
2223
2238
  provider: "azure-openai-responses",
2224
2239
  baseUrl: "",
2225
2240
  reasoning: true,
2241
+ thinkingLevelMap: { "off": null },
2226
2242
  input: ["text", "image"],
2227
2243
  cost: {
2228
2244
  input: 0.05,
@@ -2240,6 +2256,7 @@ export const MODELS = {
2240
2256
  provider: "azure-openai-responses",
2241
2257
  baseUrl: "",
2242
2258
  reasoning: true,
2259
+ thinkingLevelMap: { "off": null },
2243
2260
  input: ["text", "image"],
2244
2261
  cost: {
2245
2262
  input: 15,
@@ -2257,6 +2274,7 @@ export const MODELS = {
2257
2274
  provider: "azure-openai-responses",
2258
2275
  baseUrl: "",
2259
2276
  reasoning: true,
2277
+ thinkingLevelMap: { "off": null },
2260
2278
  input: ["text", "image"],
2261
2279
  cost: {
2262
2280
  input: 1.25,
@@ -2274,6 +2292,7 @@ export const MODELS = {
2274
2292
  provider: "azure-openai-responses",
2275
2293
  baseUrl: "",
2276
2294
  reasoning: true,
2295
+ thinkingLevelMap: { "off": null },
2277
2296
  input: ["text", "image"],
2278
2297
  cost: {
2279
2298
  input: 1.25,
@@ -2291,6 +2310,7 @@ export const MODELS = {
2291
2310
  provider: "azure-openai-responses",
2292
2311
  baseUrl: "",
2293
2312
  reasoning: true,
2313
+ thinkingLevelMap: { "off": null },
2294
2314
  input: ["text", "image"],
2295
2315
  cost: {
2296
2316
  input: 1.25,
@@ -2308,6 +2328,7 @@ export const MODELS = {
2308
2328
  provider: "azure-openai-responses",
2309
2329
  baseUrl: "",
2310
2330
  reasoning: true,
2331
+ thinkingLevelMap: { "off": null },
2311
2332
  input: ["text", "image"],
2312
2333
  cost: {
2313
2334
  input: 1.25,
@@ -2325,6 +2346,7 @@ export const MODELS = {
2325
2346
  provider: "azure-openai-responses",
2326
2347
  baseUrl: "",
2327
2348
  reasoning: true,
2349
+ thinkingLevelMap: { "off": null },
2328
2350
  input: ["text", "image"],
2329
2351
  cost: {
2330
2352
  input: 0.25,
@@ -2342,6 +2364,7 @@ export const MODELS = {
2342
2364
  provider: "azure-openai-responses",
2343
2365
  baseUrl: "",
2344
2366
  reasoning: true,
2367
+ thinkingLevelMap: { "off": null, "xhigh": "xhigh" },
2345
2368
  input: ["text", "image"],
2346
2369
  cost: {
2347
2370
  input: 1.75,
@@ -2359,6 +2382,7 @@ export const MODELS = {
2359
2382
  provider: "azure-openai-responses",
2360
2383
  baseUrl: "",
2361
2384
  reasoning: true,
2385
+ thinkingLevelMap: { "off": null, "xhigh": "xhigh" },
2362
2386
  input: ["text", "image"],
2363
2387
  cost: {
2364
2388
  input: 1.75,
@@ -2376,6 +2400,7 @@ export const MODELS = {
2376
2400
  provider: "azure-openai-responses",
2377
2401
  baseUrl: "",
2378
2402
  reasoning: true,
2403
+ thinkingLevelMap: { "off": null, "xhigh": "xhigh" },
2379
2404
  input: ["text", "image"],
2380
2405
  cost: {
2381
2406
  input: 1.75,
@@ -2393,6 +2418,7 @@ export const MODELS = {
2393
2418
  provider: "azure-openai-responses",
2394
2419
  baseUrl: "",
2395
2420
  reasoning: true,
2421
+ thinkingLevelMap: { "off": null, "xhigh": "xhigh" },
2396
2422
  input: ["text", "image"],
2397
2423
  cost: {
2398
2424
  input: 21,
@@ -2410,6 +2436,7 @@ export const MODELS = {
2410
2436
  provider: "azure-openai-responses",
2411
2437
  baseUrl: "",
2412
2438
  reasoning: false,
2439
+ thinkingLevelMap: { "off": null, "xhigh": "xhigh" },
2413
2440
  input: ["text", "image"],
2414
2441
  cost: {
2415
2442
  input: 1.75,
@@ -2427,6 +2454,7 @@ export const MODELS = {
2427
2454
  provider: "azure-openai-responses",
2428
2455
  baseUrl: "",
2429
2456
  reasoning: true,
2457
+ thinkingLevelMap: { "off": null, "xhigh": "xhigh" },
2430
2458
  input: ["text", "image"],
2431
2459
  cost: {
2432
2460
  input: 1.75,
@@ -2444,6 +2472,7 @@ export const MODELS = {
2444
2472
  provider: "azure-openai-responses",
2445
2473
  baseUrl: "",
2446
2474
  reasoning: true,
2475
+ thinkingLevelMap: { "off": null, "xhigh": "xhigh" },
2447
2476
  input: ["text", "image"],
2448
2477
  cost: {
2449
2478
  input: 1.75,
@@ -2461,6 +2490,7 @@ export const MODELS = {
2461
2490
  provider: "azure-openai-responses",
2462
2491
  baseUrl: "",
2463
2492
  reasoning: true,
2493
+ thinkingLevelMap: { "off": null, "xhigh": "xhigh" },
2464
2494
  input: ["text", "image"],
2465
2495
  cost: {
2466
2496
  input: 2.5,
@@ -2478,6 +2508,7 @@ export const MODELS = {
2478
2508
  provider: "azure-openai-responses",
2479
2509
  baseUrl: "",
2480
2510
  reasoning: true,
2511
+ thinkingLevelMap: { "off": null, "xhigh": "xhigh" },
2481
2512
  input: ["text", "image"],
2482
2513
  cost: {
2483
2514
  input: 0.75,
@@ -2495,6 +2526,7 @@ export const MODELS = {
2495
2526
  provider: "azure-openai-responses",
2496
2527
  baseUrl: "",
2497
2528
  reasoning: true,
2529
+ thinkingLevelMap: { "off": null, "xhigh": "xhigh" },
2498
2530
  input: ["text", "image"],
2499
2531
  cost: {
2500
2532
  input: 0.2,
@@ -2512,6 +2544,7 @@ export const MODELS = {
2512
2544
  provider: "azure-openai-responses",
2513
2545
  baseUrl: "",
2514
2546
  reasoning: true,
2547
+ thinkingLevelMap: { "off": null, "xhigh": "xhigh" },
2515
2548
  input: ["text", "image"],
2516
2549
  cost: {
2517
2550
  input: 30,
@@ -2529,6 +2562,7 @@ export const MODELS = {
2529
2562
  provider: "azure-openai-responses",
2530
2563
  baseUrl: "",
2531
2564
  reasoning: true,
2565
+ thinkingLevelMap: { "off": null, "xhigh": "xhigh" },
2532
2566
  input: ["text", "image"],
2533
2567
  cost: {
2534
2568
  input: 5,
@@ -2546,6 +2580,7 @@ export const MODELS = {
2546
2580
  provider: "azure-openai-responses",
2547
2581
  baseUrl: "",
2548
2582
  reasoning: true,
2583
+ thinkingLevelMap: { "off": null, "xhigh": "xhigh" },
2549
2584
  input: ["text", "image"],
2550
2585
  cost: {
2551
2586
  input: 30,
@@ -2941,6 +2976,7 @@ export const MODELS = {
2941
2976
  provider: "cloudflare-ai-gateway",
2942
2977
  baseUrl: "https://gateway.ai.cloudflare.com/v1/{CLOUDFLARE_ACCOUNT_ID}/{CLOUDFLARE_GATEWAY_ID}/anthropic",
2943
2978
  reasoning: true,
2979
+ thinkingLevelMap: { "xhigh": "max" },
2944
2980
  input: ["text", "image"],
2945
2981
  cost: {
2946
2982
  input: 5,
@@ -2958,6 +2994,7 @@ export const MODELS = {
2958
2994
  provider: "cloudflare-ai-gateway",
2959
2995
  baseUrl: "https://gateway.ai.cloudflare.com/v1/{CLOUDFLARE_ACCOUNT_ID}/{CLOUDFLARE_GATEWAY_ID}/anthropic",
2960
2996
  reasoning: true,
2997
+ thinkingLevelMap: { "xhigh": "xhigh" },
2961
2998
  input: ["text", "image"],
2962
2999
  cost: {
2963
3000
  input: 5,
@@ -3094,6 +3131,7 @@ export const MODELS = {
3094
3131
  provider: "cloudflare-ai-gateway",
3095
3132
  baseUrl: "https://gateway.ai.cloudflare.com/v1/{CLOUDFLARE_ACCOUNT_ID}/{CLOUDFLARE_GATEWAY_ID}/openai",
3096
3133
  reasoning: true,
3134
+ thinkingLevelMap: { "off": null },
3097
3135
  input: ["text", "image"],
3098
3136
  cost: {
3099
3137
  input: 1.25,
@@ -3111,6 +3149,7 @@ export const MODELS = {
3111
3149
  provider: "cloudflare-ai-gateway",
3112
3150
  baseUrl: "https://gateway.ai.cloudflare.com/v1/{CLOUDFLARE_ACCOUNT_ID}/{CLOUDFLARE_GATEWAY_ID}/openai",
3113
3151
  reasoning: true,
3152
+ thinkingLevelMap: { "off": null },
3114
3153
  input: ["text", "image"],
3115
3154
  cost: {
3116
3155
  input: 1.25,
@@ -3128,6 +3167,7 @@ export const MODELS = {
3128
3167
  provider: "cloudflare-ai-gateway",
3129
3168
  baseUrl: "https://gateway.ai.cloudflare.com/v1/{CLOUDFLARE_ACCOUNT_ID}/{CLOUDFLARE_GATEWAY_ID}/openai",
3130
3169
  reasoning: true,
3170
+ thinkingLevelMap: { "off": null, "xhigh": "xhigh" },
3131
3171
  input: ["text", "image"],
3132
3172
  cost: {
3133
3173
  input: 1.75,
@@ -3145,6 +3185,7 @@ export const MODELS = {
3145
3185
  provider: "cloudflare-ai-gateway",
3146
3186
  baseUrl: "https://gateway.ai.cloudflare.com/v1/{CLOUDFLARE_ACCOUNT_ID}/{CLOUDFLARE_GATEWAY_ID}/openai",
3147
3187
  reasoning: true,
3188
+ thinkingLevelMap: { "off": null, "xhigh": "xhigh" },
3148
3189
  input: ["text", "image"],
3149
3190
  cost: {
3150
3191
  input: 1.75,
@@ -3162,6 +3203,7 @@ export const MODELS = {
3162
3203
  provider: "cloudflare-ai-gateway",
3163
3204
  baseUrl: "https://gateway.ai.cloudflare.com/v1/{CLOUDFLARE_ACCOUNT_ID}/{CLOUDFLARE_GATEWAY_ID}/openai",
3164
3205
  reasoning: true,
3206
+ thinkingLevelMap: { "off": null, "xhigh": "xhigh" },
3165
3207
  input: ["text", "image"],
3166
3208
  cost: {
3167
3209
  input: 1.75,
@@ -3179,6 +3221,7 @@ export const MODELS = {
3179
3221
  provider: "cloudflare-ai-gateway",
3180
3222
  baseUrl: "https://gateway.ai.cloudflare.com/v1/{CLOUDFLARE_ACCOUNT_ID}/{CLOUDFLARE_GATEWAY_ID}/openai",
3181
3223
  reasoning: true,
3224
+ thinkingLevelMap: { "off": null, "xhigh": "xhigh" },
3182
3225
  input: ["text", "image"],
3183
3226
  cost: {
3184
3227
  input: 2.5,
@@ -3196,6 +3239,7 @@ export const MODELS = {
3196
3239
  provider: "cloudflare-ai-gateway",
3197
3240
  baseUrl: "https://gateway.ai.cloudflare.com/v1/{CLOUDFLARE_ACCOUNT_ID}/{CLOUDFLARE_GATEWAY_ID}/openai",
3198
3241
  reasoning: true,
3242
+ thinkingLevelMap: { "off": null, "xhigh": "xhigh" },
3199
3243
  input: ["text", "image"],
3200
3244
  cost: {
3201
3245
  input: 5,
@@ -3517,8 +3561,9 @@ export const MODELS = {
3517
3561
  api: "openai-completions",
3518
3562
  provider: "deepseek",
3519
3563
  baseUrl: "https://api.deepseek.com",
3520
- compat: { "requiresReasoningContentOnAssistantMessages": true, "thinkingFormat": "deepseek", "reasoningEffortMap": { "minimal": "high", "low": "high", "medium": "high", "high": "high", "xhigh": "max" } },
3564
+ compat: { "requiresReasoningContentOnAssistantMessages": true, "thinkingFormat": "deepseek" },
3521
3565
  reasoning: true,
3566
+ thinkingLevelMap: { "minimal": null, "low": null, "medium": null, "high": "high", "xhigh": "max" },
3522
3567
  input: ["text"],
3523
3568
  cost: {
3524
3569
  input: 0.14,
@@ -3535,8 +3580,9 @@ export const MODELS = {
3535
3580
  api: "openai-completions",
3536
3581
  provider: "deepseek",
3537
3582
  baseUrl: "https://api.deepseek.com",
3538
- compat: { "requiresReasoningContentOnAssistantMessages": true, "thinkingFormat": "deepseek", "reasoningEffortMap": { "minimal": "high", "low": "high", "medium": "high", "high": "high", "xhigh": "max" } },
3583
+ compat: { "requiresReasoningContentOnAssistantMessages": true, "thinkingFormat": "deepseek" },
3539
3584
  reasoning: true,
3585
+ thinkingLevelMap: { "minimal": null, "low": null, "medium": null, "high": "high", "xhigh": "max" },
3540
3586
  input: ["text"],
3541
3587
  cost: {
3542
3588
  input: 0.435,
@@ -3919,6 +3965,7 @@ export const MODELS = {
3919
3965
  baseUrl: "https://api.individual.githubcopilot.com",
3920
3966
  headers: { "User-Agent": "GitHubCopilotChat/0.35.0", "Editor-Version": "vscode/1.107.0", "Editor-Plugin-Version": "copilot-chat/0.35.0", "Copilot-Integration-Id": "vscode-chat" },
3921
3967
  reasoning: true,
3968
+ thinkingLevelMap: { "xhigh": "max" },
3922
3969
  input: ["text", "image"],
3923
3970
  cost: {
3924
3971
  input: 0,
@@ -3937,6 +3984,7 @@ export const MODELS = {
3937
3984
  baseUrl: "https://api.individual.githubcopilot.com",
3938
3985
  headers: { "User-Agent": "GitHubCopilotChat/0.35.0", "Editor-Version": "vscode/1.107.0", "Editor-Plugin-Version": "copilot-chat/0.35.0", "Copilot-Integration-Id": "vscode-chat" },
3939
3986
  reasoning: true,
3987
+ thinkingLevelMap: { "xhigh": "xhigh" },
3940
3988
  input: ["text", "image"],
3941
3989
  cost: {
3942
3990
  input: 0,
@@ -4125,6 +4173,7 @@ export const MODELS = {
4125
4173
  baseUrl: "https://api.individual.githubcopilot.com",
4126
4174
  headers: { "User-Agent": "GitHubCopilotChat/0.35.0", "Editor-Version": "vscode/1.107.0", "Editor-Plugin-Version": "copilot-chat/0.35.0", "Copilot-Integration-Id": "vscode-chat" },
4127
4175
  reasoning: true,
4176
+ thinkingLevelMap: { "off": null },
4128
4177
  input: ["text", "image"],
4129
4178
  cost: {
4130
4179
  input: 0,
@@ -4143,6 +4192,7 @@ export const MODELS = {
4143
4192
  baseUrl: "https://api.individual.githubcopilot.com",
4144
4193
  headers: { "User-Agent": "GitHubCopilotChat/0.35.0", "Editor-Version": "vscode/1.107.0", "Editor-Plugin-Version": "copilot-chat/0.35.0", "Copilot-Integration-Id": "vscode-chat" },
4145
4194
  reasoning: true,
4195
+ thinkingLevelMap: { "off": null },
4146
4196
  input: ["text", "image"],
4147
4197
  cost: {
4148
4198
  input: 0,
@@ -4161,6 +4211,7 @@ export const MODELS = {
4161
4211
  baseUrl: "https://api.individual.githubcopilot.com",
4162
4212
  headers: { "User-Agent": "GitHubCopilotChat/0.35.0", "Editor-Version": "vscode/1.107.0", "Editor-Plugin-Version": "copilot-chat/0.35.0", "Copilot-Integration-Id": "vscode-chat" },
4163
4213
  reasoning: true,
4214
+ thinkingLevelMap: { "off": null },
4164
4215
  input: ["text", "image"],
4165
4216
  cost: {
4166
4217
  input: 0,
@@ -4179,6 +4230,7 @@ export const MODELS = {
4179
4230
  baseUrl: "https://api.individual.githubcopilot.com",
4180
4231
  headers: { "User-Agent": "GitHubCopilotChat/0.35.0", "Editor-Version": "vscode/1.107.0", "Editor-Plugin-Version": "copilot-chat/0.35.0", "Copilot-Integration-Id": "vscode-chat" },
4181
4232
  reasoning: true,
4233
+ thinkingLevelMap: { "off": null },
4182
4234
  input: ["text", "image"],
4183
4235
  cost: {
4184
4236
  input: 0,
@@ -4197,6 +4249,7 @@ export const MODELS = {
4197
4249
  baseUrl: "https://api.individual.githubcopilot.com",
4198
4250
  headers: { "User-Agent": "GitHubCopilotChat/0.35.0", "Editor-Version": "vscode/1.107.0", "Editor-Plugin-Version": "copilot-chat/0.35.0", "Copilot-Integration-Id": "vscode-chat" },
4199
4251
  reasoning: true,
4252
+ thinkingLevelMap: { "off": null },
4200
4253
  input: ["text", "image"],
4201
4254
  cost: {
4202
4255
  input: 0,
@@ -4215,6 +4268,7 @@ export const MODELS = {
4215
4268
  baseUrl: "https://api.individual.githubcopilot.com",
4216
4269
  headers: { "User-Agent": "GitHubCopilotChat/0.35.0", "Editor-Version": "vscode/1.107.0", "Editor-Plugin-Version": "copilot-chat/0.35.0", "Copilot-Integration-Id": "vscode-chat" },
4217
4270
  reasoning: true,
4271
+ thinkingLevelMap: { "off": null },
4218
4272
  input: ["text", "image"],
4219
4273
  cost: {
4220
4274
  input: 0,
@@ -4233,6 +4287,7 @@ export const MODELS = {
4233
4287
  baseUrl: "https://api.individual.githubcopilot.com",
4234
4288
  headers: { "User-Agent": "GitHubCopilotChat/0.35.0", "Editor-Version": "vscode/1.107.0", "Editor-Plugin-Version": "copilot-chat/0.35.0", "Copilot-Integration-Id": "vscode-chat" },
4235
4289
  reasoning: true,
4290
+ thinkingLevelMap: { "off": null, "xhigh": "xhigh" },
4236
4291
  input: ["text", "image"],
4237
4292
  cost: {
4238
4293
  input: 0,
@@ -4251,6 +4306,7 @@ export const MODELS = {
4251
4306
  baseUrl: "https://api.individual.githubcopilot.com",
4252
4307
  headers: { "User-Agent": "GitHubCopilotChat/0.35.0", "Editor-Version": "vscode/1.107.0", "Editor-Plugin-Version": "copilot-chat/0.35.0", "Copilot-Integration-Id": "vscode-chat" },
4253
4308
  reasoning: true,
4309
+ thinkingLevelMap: { "off": null, "xhigh": "xhigh" },
4254
4310
  input: ["text", "image"],
4255
4311
  cost: {
4256
4312
  input: 0,
@@ -4269,6 +4325,7 @@ export const MODELS = {
4269
4325
  baseUrl: "https://api.individual.githubcopilot.com",
4270
4326
  headers: { "User-Agent": "GitHubCopilotChat/0.35.0", "Editor-Version": "vscode/1.107.0", "Editor-Plugin-Version": "copilot-chat/0.35.0", "Copilot-Integration-Id": "vscode-chat" },
4271
4327
  reasoning: true,
4328
+ thinkingLevelMap: { "off": null, "xhigh": "xhigh" },
4272
4329
  input: ["text", "image"],
4273
4330
  cost: {
4274
4331
  input: 0,
@@ -4287,6 +4344,7 @@ export const MODELS = {
4287
4344
  baseUrl: "https://api.individual.githubcopilot.com",
4288
4345
  headers: { "User-Agent": "GitHubCopilotChat/0.35.0", "Editor-Version": "vscode/1.107.0", "Editor-Plugin-Version": "copilot-chat/0.35.0", "Copilot-Integration-Id": "vscode-chat" },
4289
4346
  reasoning: true,
4347
+ thinkingLevelMap: { "off": null, "xhigh": "xhigh" },
4290
4348
  input: ["text", "image"],
4291
4349
  cost: {
4292
4350
  input: 0,
@@ -4305,6 +4363,7 @@ export const MODELS = {
4305
4363
  baseUrl: "https://api.individual.githubcopilot.com",
4306
4364
  headers: { "User-Agent": "GitHubCopilotChat/0.35.0", "Editor-Version": "vscode/1.107.0", "Editor-Plugin-Version": "copilot-chat/0.35.0", "Copilot-Integration-Id": "vscode-chat" },
4307
4365
  reasoning: true,
4366
+ thinkingLevelMap: { "off": null, "xhigh": "xhigh" },
4308
4367
  input: ["text", "image"],
4309
4368
  cost: {
4310
4369
  input: 0,
@@ -4323,6 +4382,7 @@ export const MODELS = {
4323
4382
  baseUrl: "https://api.individual.githubcopilot.com",
4324
4383
  headers: { "User-Agent": "GitHubCopilotChat/0.35.0", "Editor-Version": "vscode/1.107.0", "Editor-Plugin-Version": "copilot-chat/0.35.0", "Copilot-Integration-Id": "vscode-chat" },
4325
4384
  reasoning: true,
4385
+ thinkingLevelMap: { "off": null, "xhigh": "xhigh" },
4326
4386
  input: ["text", "image"],
4327
4387
  cost: {
4328
4388
  input: 0,
@@ -4616,6 +4676,7 @@ export const MODELS = {
4616
4676
  provider: "google",
4617
4677
  baseUrl: "https://generativelanguage.googleapis.com/v1beta",
4618
4678
  reasoning: true,
4679
+ thinkingLevelMap: { "off": null },
4619
4680
  input: ["text", "image"],
4620
4681
  cost: {
4621
4682
  input: 0.5,
@@ -4633,6 +4694,7 @@ export const MODELS = {
4633
4694
  provider: "google",
4634
4695
  baseUrl: "https://generativelanguage.googleapis.com/v1beta",
4635
4696
  reasoning: true,
4697
+ thinkingLevelMap: { "off": null, "minimal": null, "low": "LOW", "medium": null, "high": "HIGH" },
4636
4698
  input: ["text", "image"],
4637
4699
  cost: {
4638
4700
  input: 2,
@@ -4650,6 +4712,7 @@ export const MODELS = {
4650
4712
  provider: "google",
4651
4713
  baseUrl: "https://generativelanguage.googleapis.com/v1beta",
4652
4714
  reasoning: true,
4715
+ thinkingLevelMap: { "off": null },
4653
4716
  input: ["text", "image"],
4654
4717
  cost: {
4655
4718
  input: 0.25,
@@ -4667,6 +4730,7 @@ export const MODELS = {
4667
4730
  provider: "google",
4668
4731
  baseUrl: "https://generativelanguage.googleapis.com/v1beta",
4669
4732
  reasoning: true,
4733
+ thinkingLevelMap: { "off": null, "minimal": null, "low": "LOW", "medium": null, "high": "HIGH" },
4670
4734
  input: ["text", "image"],
4671
4735
  cost: {
4672
4736
  input: 2,
@@ -4684,6 +4748,7 @@ export const MODELS = {
4684
4748
  provider: "google",
4685
4749
  baseUrl: "https://generativelanguage.googleapis.com/v1beta",
4686
4750
  reasoning: true,
4751
+ thinkingLevelMap: { "off": null, "minimal": null, "low": "LOW", "medium": null, "high": "HIGH" },
4687
4752
  input: ["text", "image"],
4688
4753
  cost: {
4689
4754
  input: 2,
@@ -4786,6 +4851,7 @@ export const MODELS = {
4786
4851
  provider: "google",
4787
4852
  baseUrl: "https://generativelanguage.googleapis.com/v1beta",
4788
4853
  reasoning: true,
4854
+ thinkingLevelMap: { "off": null, "minimal": "MINIMAL", "low": null, "medium": null, "high": "HIGH" },
4789
4855
  input: ["text", "image"],
4790
4856
  cost: {
4791
4857
  input: 0,
@@ -4803,6 +4869,7 @@ export const MODELS = {
4803
4869
  provider: "google",
4804
4870
  baseUrl: "https://generativelanguage.googleapis.com/v1beta",
4805
4871
  reasoning: true,
4872
+ thinkingLevelMap: { "off": null, "minimal": "MINIMAL", "low": null, "medium": null, "high": "HIGH" },
4806
4873
  input: ["text", "image"],
4807
4874
  cost: {
4808
4875
  input: 0,
@@ -4975,6 +5042,7 @@ export const MODELS = {
4975
5042
  provider: "google-vertex",
4976
5043
  baseUrl: "https://{location}-aiplatform.googleapis.com",
4977
5044
  reasoning: true,
5045
+ thinkingLevelMap: { "off": null },
4978
5046
  input: ["text", "image"],
4979
5047
  cost: {
4980
5048
  input: 0.5,
@@ -4992,6 +5060,7 @@ export const MODELS = {
4992
5060
  provider: "google-vertex",
4993
5061
  baseUrl: "https://{location}-aiplatform.googleapis.com",
4994
5062
  reasoning: true,
5063
+ thinkingLevelMap: { "off": null, "minimal": null, "low": "LOW", "medium": null, "high": "HIGH" },
4995
5064
  input: ["text", "image"],
4996
5065
  cost: {
4997
5066
  input: 2,
@@ -5009,6 +5078,7 @@ export const MODELS = {
5009
5078
  provider: "google-vertex",
5010
5079
  baseUrl: "https://{location}-aiplatform.googleapis.com",
5011
5080
  reasoning: true,
5081
+ thinkingLevelMap: { "off": null, "minimal": null, "low": "LOW", "medium": null, "high": "HIGH" },
5012
5082
  input: ["text", "image"],
5013
5083
  cost: {
5014
5084
  input: 2,
@@ -5026,6 +5096,7 @@ export const MODELS = {
5026
5096
  provider: "google-vertex",
5027
5097
  baseUrl: "https://{location}-aiplatform.googleapis.com",
5028
5098
  reasoning: true,
5099
+ thinkingLevelMap: { "off": null, "minimal": null, "low": "LOW", "medium": null, "high": "HIGH" },
5029
5100
  input: ["text", "image"],
5030
5101
  cost: {
5031
5102
  input: 2,
@@ -5334,6 +5405,7 @@ export const MODELS = {
5334
5405
  provider: "groq",
5335
5406
  baseUrl: "https://api.groq.com/openai/v1",
5336
5407
  reasoning: true,
5408
+ thinkingLevelMap: { "minimal": null, "low": null, "medium": null, "high": "default" },
5337
5409
  input: ["text"],
5338
5410
  cost: {
5339
5411
  input: 0.29,
@@ -6783,6 +6855,7 @@ export const MODELS = {
6783
6855
  provider: "openai",
6784
6856
  baseUrl: "https://api.openai.com/v1",
6785
6857
  reasoning: true,
6858
+ thinkingLevelMap: { "off": null },
6786
6859
  input: ["text", "image"],
6787
6860
  cost: {
6788
6861
  input: 1.25,
@@ -6800,6 +6873,7 @@ export const MODELS = {
6800
6873
  provider: "openai",
6801
6874
  baseUrl: "https://api.openai.com/v1",
6802
6875
  reasoning: false,
6876
+ thinkingLevelMap: { "off": null },
6803
6877
  input: ["text", "image"],
6804
6878
  cost: {
6805
6879
  input: 1.25,
@@ -6817,6 +6891,7 @@ export const MODELS = {
6817
6891
  provider: "openai",
6818
6892
  baseUrl: "https://api.openai.com/v1",
6819
6893
  reasoning: true,
6894
+ thinkingLevelMap: { "off": null },
6820
6895
  input: ["text", "image"],
6821
6896
  cost: {
6822
6897
  input: 1.25,
@@ -6834,6 +6909,7 @@ export const MODELS = {
6834
6909
  provider: "openai",
6835
6910
  baseUrl: "https://api.openai.com/v1",
6836
6911
  reasoning: true,
6912
+ thinkingLevelMap: { "off": null },
6837
6913
  input: ["text", "image"],
6838
6914
  cost: {
6839
6915
  input: 0.25,
@@ -6851,6 +6927,7 @@ export const MODELS = {
6851
6927
  provider: "openai",
6852
6928
  baseUrl: "https://api.openai.com/v1",
6853
6929
  reasoning: true,
6930
+ thinkingLevelMap: { "off": null },
6854
6931
  input: ["text", "image"],
6855
6932
  cost: {
6856
6933
  input: 0.05,
@@ -6868,6 +6945,7 @@ export const MODELS = {
6868
6945
  provider: "openai",
6869
6946
  baseUrl: "https://api.openai.com/v1",
6870
6947
  reasoning: true,
6948
+ thinkingLevelMap: { "off": null },
6871
6949
  input: ["text", "image"],
6872
6950
  cost: {
6873
6951
  input: 15,
@@ -6885,6 +6963,7 @@ export const MODELS = {
6885
6963
  provider: "openai",
6886
6964
  baseUrl: "https://api.openai.com/v1",
6887
6965
  reasoning: true,
6966
+ thinkingLevelMap: { "off": null },
6888
6967
  input: ["text", "image"],
6889
6968
  cost: {
6890
6969
  input: 1.25,
@@ -6902,6 +6981,7 @@ export const MODELS = {
6902
6981
  provider: "openai",
6903
6982
  baseUrl: "https://api.openai.com/v1",
6904
6983
  reasoning: true,
6984
+ thinkingLevelMap: { "off": null },
6905
6985
  input: ["text", "image"],
6906
6986
  cost: {
6907
6987
  input: 1.25,
@@ -6919,6 +6999,7 @@ export const MODELS = {
6919
6999
  provider: "openai",
6920
7000
  baseUrl: "https://api.openai.com/v1",
6921
7001
  reasoning: true,
7002
+ thinkingLevelMap: { "off": null },
6922
7003
  input: ["text", "image"],
6923
7004
  cost: {
6924
7005
  input: 1.25,
@@ -6936,6 +7017,7 @@ export const MODELS = {
6936
7017
  provider: "openai",
6937
7018
  baseUrl: "https://api.openai.com/v1",
6938
7019
  reasoning: true,
7020
+ thinkingLevelMap: { "off": null },
6939
7021
  input: ["text", "image"],
6940
7022
  cost: {
6941
7023
  input: 1.25,
@@ -6953,6 +7035,7 @@ export const MODELS = {
6953
7035
  provider: "openai",
6954
7036
  baseUrl: "https://api.openai.com/v1",
6955
7037
  reasoning: true,
7038
+ thinkingLevelMap: { "off": null },
6956
7039
  input: ["text", "image"],
6957
7040
  cost: {
6958
7041
  input: 0.25,
@@ -6970,6 +7053,7 @@ export const MODELS = {
6970
7053
  provider: "openai",
6971
7054
  baseUrl: "https://api.openai.com/v1",
6972
7055
  reasoning: true,
7056
+ thinkingLevelMap: { "off": null, "xhigh": "xhigh" },
6973
7057
  input: ["text", "image"],
6974
7058
  cost: {
6975
7059
  input: 1.75,
@@ -6987,6 +7071,7 @@ export const MODELS = {
6987
7071
  provider: "openai",
6988
7072
  baseUrl: "https://api.openai.com/v1",
6989
7073
  reasoning: true,
7074
+ thinkingLevelMap: { "off": null, "xhigh": "xhigh" },
6990
7075
  input: ["text", "image"],
6991
7076
  cost: {
6992
7077
  input: 1.75,
@@ -7004,6 +7089,7 @@ export const MODELS = {
7004
7089
  provider: "openai",
7005
7090
  baseUrl: "https://api.openai.com/v1",
7006
7091
  reasoning: true,
7092
+ thinkingLevelMap: { "off": null, "xhigh": "xhigh" },
7007
7093
  input: ["text", "image"],
7008
7094
  cost: {
7009
7095
  input: 1.75,
@@ -7021,6 +7107,7 @@ export const MODELS = {
7021
7107
  provider: "openai",
7022
7108
  baseUrl: "https://api.openai.com/v1",
7023
7109
  reasoning: true,
7110
+ thinkingLevelMap: { "off": null, "xhigh": "xhigh" },
7024
7111
  input: ["text", "image"],
7025
7112
  cost: {
7026
7113
  input: 21,
@@ -7038,6 +7125,7 @@ export const MODELS = {
7038
7125
  provider: "openai",
7039
7126
  baseUrl: "https://api.openai.com/v1",
7040
7127
  reasoning: false,
7128
+ thinkingLevelMap: { "off": null, "xhigh": "xhigh" },
7041
7129
  input: ["text", "image"],
7042
7130
  cost: {
7043
7131
  input: 1.75,
@@ -7055,6 +7143,7 @@ export const MODELS = {
7055
7143
  provider: "openai",
7056
7144
  baseUrl: "https://api.openai.com/v1",
7057
7145
  reasoning: true,
7146
+ thinkingLevelMap: { "off": null, "xhigh": "xhigh" },
7058
7147
  input: ["text", "image"],
7059
7148
  cost: {
7060
7149
  input: 1.75,
@@ -7072,6 +7161,7 @@ export const MODELS = {
7072
7161
  provider: "openai",
7073
7162
  baseUrl: "https://api.openai.com/v1",
7074
7163
  reasoning: true,
7164
+ thinkingLevelMap: { "off": null, "xhigh": "xhigh" },
7075
7165
  input: ["text", "image"],
7076
7166
  cost: {
7077
7167
  input: 1.75,
@@ -7089,6 +7179,7 @@ export const MODELS = {
7089
7179
  provider: "openai",
7090
7180
  baseUrl: "https://api.openai.com/v1",
7091
7181
  reasoning: true,
7182
+ thinkingLevelMap: { "off": null, "xhigh": "xhigh" },
7092
7183
  input: ["text", "image"],
7093
7184
  cost: {
7094
7185
  input: 2.5,
@@ -7106,6 +7197,7 @@ export const MODELS = {
7106
7197
  provider: "openai",
7107
7198
  baseUrl: "https://api.openai.com/v1",
7108
7199
  reasoning: true,
7200
+ thinkingLevelMap: { "off": null, "xhigh": "xhigh" },
7109
7201
  input: ["text", "image"],
7110
7202
  cost: {
7111
7203
  input: 0.75,
@@ -7123,6 +7215,7 @@ export const MODELS = {
7123
7215
  provider: "openai",
7124
7216
  baseUrl: "https://api.openai.com/v1",
7125
7217
  reasoning: true,
7218
+ thinkingLevelMap: { "off": null, "xhigh": "xhigh" },
7126
7219
  input: ["text", "image"],
7127
7220
  cost: {
7128
7221
  input: 0.2,
@@ -7140,6 +7233,7 @@ export const MODELS = {
7140
7233
  provider: "openai",
7141
7234
  baseUrl: "https://api.openai.com/v1",
7142
7235
  reasoning: true,
7236
+ thinkingLevelMap: { "off": null, "xhigh": "xhigh" },
7143
7237
  input: ["text", "image"],
7144
7238
  cost: {
7145
7239
  input: 30,
@@ -7157,6 +7251,7 @@ export const MODELS = {
7157
7251
  provider: "openai",
7158
7252
  baseUrl: "https://api.openai.com/v1",
7159
7253
  reasoning: true,
7254
+ thinkingLevelMap: { "off": null, "xhigh": "xhigh" },
7160
7255
  input: ["text", "image"],
7161
7256
  cost: {
7162
7257
  input: 5,
@@ -7174,6 +7269,7 @@ export const MODELS = {
7174
7269
  provider: "openai",
7175
7270
  baseUrl: "https://api.openai.com/v1",
7176
7271
  reasoning: true,
7272
+ thinkingLevelMap: { "off": null, "xhigh": "xhigh" },
7177
7273
  input: ["text", "image"],
7178
7274
  cost: {
7179
7275
  input: 30,
@@ -7363,6 +7459,7 @@ export const MODELS = {
7363
7459
  provider: "openai-codex",
7364
7460
  baseUrl: "https://chatgpt.com/backend-api",
7365
7461
  reasoning: true,
7462
+ thinkingLevelMap: { "minimal": "medium", "low": "medium", "medium": "medium", "high": "high" },
7366
7463
  input: ["text", "image"],
7367
7464
  cost: {
7368
7465
  input: 0.25,
@@ -7380,6 +7477,7 @@ export const MODELS = {
7380
7477
  provider: "openai-codex",
7381
7478
  baseUrl: "https://chatgpt.com/backend-api",
7382
7479
  reasoning: true,
7480
+ thinkingLevelMap: { "xhigh": "xhigh", "minimal": "low" },
7383
7481
  input: ["text", "image"],
7384
7482
  cost: {
7385
7483
  input: 1.75,
@@ -7397,6 +7495,7 @@ export const MODELS = {
7397
7495
  provider: "openai-codex",
7398
7496
  baseUrl: "https://chatgpt.com/backend-api",
7399
7497
  reasoning: true,
7498
+ thinkingLevelMap: { "xhigh": "xhigh", "minimal": "low" },
7400
7499
  input: ["text", "image"],
7401
7500
  cost: {
7402
7501
  input: 1.75,
@@ -7414,6 +7513,7 @@ export const MODELS = {
7414
7513
  provider: "openai-codex",
7415
7514
  baseUrl: "https://chatgpt.com/backend-api",
7416
7515
  reasoning: true,
7516
+ thinkingLevelMap: { "xhigh": "xhigh", "minimal": "low" },
7417
7517
  input: ["text", "image"],
7418
7518
  cost: {
7419
7519
  input: 1.75,
@@ -7431,6 +7531,7 @@ export const MODELS = {
7431
7531
  provider: "openai-codex",
7432
7532
  baseUrl: "https://chatgpt.com/backend-api",
7433
7533
  reasoning: true,
7534
+ thinkingLevelMap: { "xhigh": "xhigh", "minimal": "low" },
7434
7535
  input: ["text"],
7435
7536
  cost: {
7436
7537
  input: 0,
@@ -7448,6 +7549,7 @@ export const MODELS = {
7448
7549
  provider: "openai-codex",
7449
7550
  baseUrl: "https://chatgpt.com/backend-api",
7450
7551
  reasoning: true,
7552
+ thinkingLevelMap: { "xhigh": "xhigh", "minimal": "low" },
7451
7553
  input: ["text", "image"],
7452
7554
  cost: {
7453
7555
  input: 2.5,
@@ -7465,6 +7567,7 @@ export const MODELS = {
7465
7567
  provider: "openai-codex",
7466
7568
  baseUrl: "https://chatgpt.com/backend-api",
7467
7569
  reasoning: true,
7570
+ thinkingLevelMap: { "xhigh": "xhigh", "minimal": "low" },
7468
7571
  input: ["text", "image"],
7469
7572
  cost: {
7470
7573
  input: 0.75,
@@ -7482,6 +7585,7 @@ export const MODELS = {
7482
7585
  provider: "openai-codex",
7483
7586
  baseUrl: "https://chatgpt.com/backend-api",
7484
7587
  reasoning: true,
7588
+ thinkingLevelMap: { "xhigh": "xhigh", "minimal": "low" },
7485
7589
  input: ["text", "image"],
7486
7590
  cost: {
7487
7591
  input: 5,
@@ -7569,6 +7673,7 @@ export const MODELS = {
7569
7673
  provider: "opencode",
7570
7674
  baseUrl: "https://opencode.ai/zen",
7571
7675
  reasoning: true,
7676
+ thinkingLevelMap: { "xhigh": "max" },
7572
7677
  input: ["text", "image"],
7573
7678
  cost: {
7574
7679
  input: 5,
@@ -7586,6 +7691,7 @@ export const MODELS = {
7586
7691
  provider: "opencode",
7587
7692
  baseUrl: "https://opencode.ai/zen",
7588
7693
  reasoning: true,
7694
+ thinkingLevelMap: { "xhigh": "xhigh" },
7589
7695
  input: ["text", "image"],
7590
7696
  cost: {
7591
7697
  input: 5,
@@ -7654,6 +7760,7 @@ export const MODELS = {
7654
7760
  provider: "opencode",
7655
7761
  baseUrl: "https://opencode.ai/zen/v1",
7656
7762
  reasoning: true,
7763
+ thinkingLevelMap: { "off": null },
7657
7764
  input: ["text", "image"],
7658
7765
  cost: {
7659
7766
  input: 0.5,
@@ -7671,6 +7778,7 @@ export const MODELS = {
7671
7778
  provider: "opencode",
7672
7779
  baseUrl: "https://opencode.ai/zen/v1",
7673
7780
  reasoning: true,
7781
+ thinkingLevelMap: { "off": null, "minimal": null, "low": "LOW", "medium": null, "high": "HIGH" },
7674
7782
  input: ["text", "image"],
7675
7783
  cost: {
7676
7784
  input: 2,
@@ -7722,6 +7830,7 @@ export const MODELS = {
7722
7830
  provider: "opencode",
7723
7831
  baseUrl: "https://opencode.ai/zen/v1",
7724
7832
  reasoning: true,
7833
+ thinkingLevelMap: { "off": null },
7725
7834
  input: ["text", "image"],
7726
7835
  cost: {
7727
7836
  input: 1.07,
@@ -7739,6 +7848,7 @@ export const MODELS = {
7739
7848
  provider: "opencode",
7740
7849
  baseUrl: "https://opencode.ai/zen/v1",
7741
7850
  reasoning: true,
7851
+ thinkingLevelMap: { "off": null },
7742
7852
  input: ["text", "image"],
7743
7853
  cost: {
7744
7854
  input: 1.07,
@@ -7756,6 +7866,7 @@ export const MODELS = {
7756
7866
  provider: "opencode",
7757
7867
  baseUrl: "https://opencode.ai/zen/v1",
7758
7868
  reasoning: true,
7869
+ thinkingLevelMap: { "off": null },
7759
7870
  input: ["text", "image"],
7760
7871
  cost: {
7761
7872
  input: 0,
@@ -7773,6 +7884,7 @@ export const MODELS = {
7773
7884
  provider: "opencode",
7774
7885
  baseUrl: "https://opencode.ai/zen/v1",
7775
7886
  reasoning: true,
7887
+ thinkingLevelMap: { "off": null },
7776
7888
  input: ["text", "image"],
7777
7889
  cost: {
7778
7890
  input: 1.07,
@@ -7790,6 +7902,7 @@ export const MODELS = {
7790
7902
  provider: "opencode",
7791
7903
  baseUrl: "https://opencode.ai/zen/v1",
7792
7904
  reasoning: true,
7905
+ thinkingLevelMap: { "off": null },
7793
7906
  input: ["text", "image"],
7794
7907
  cost: {
7795
7908
  input: 1.07,
@@ -7807,6 +7920,7 @@ export const MODELS = {
7807
7920
  provider: "opencode",
7808
7921
  baseUrl: "https://opencode.ai/zen/v1",
7809
7922
  reasoning: true,
7923
+ thinkingLevelMap: { "off": null },
7810
7924
  input: ["text", "image"],
7811
7925
  cost: {
7812
7926
  input: 1.25,
@@ -7824,6 +7938,7 @@ export const MODELS = {
7824
7938
  provider: "opencode",
7825
7939
  baseUrl: "https://opencode.ai/zen/v1",
7826
7940
  reasoning: true,
7941
+ thinkingLevelMap: { "off": null },
7827
7942
  input: ["text", "image"],
7828
7943
  cost: {
7829
7944
  input: 0.25,
@@ -7841,6 +7956,7 @@ export const MODELS = {
7841
7956
  provider: "opencode",
7842
7957
  baseUrl: "https://opencode.ai/zen/v1",
7843
7958
  reasoning: true,
7959
+ thinkingLevelMap: { "off": null, "xhigh": "xhigh" },
7844
7960
  input: ["text", "image"],
7845
7961
  cost: {
7846
7962
  input: 1.75,
@@ -7858,6 +7974,7 @@ export const MODELS = {
7858
7974
  provider: "opencode",
7859
7975
  baseUrl: "https://opencode.ai/zen/v1",
7860
7976
  reasoning: true,
7977
+ thinkingLevelMap: { "off": null, "xhigh": "xhigh" },
7861
7978
  input: ["text", "image"],
7862
7979
  cost: {
7863
7980
  input: 1.75,
@@ -7875,6 +7992,7 @@ export const MODELS = {
7875
7992
  provider: "opencode",
7876
7993
  baseUrl: "https://opencode.ai/zen/v1",
7877
7994
  reasoning: true,
7995
+ thinkingLevelMap: { "off": null, "xhigh": "xhigh" },
7878
7996
  input: ["text", "image"],
7879
7997
  cost: {
7880
7998
  input: 1.75,
@@ -7892,6 +8010,7 @@ export const MODELS = {
7892
8010
  provider: "opencode",
7893
8011
  baseUrl: "https://opencode.ai/zen/v1",
7894
8012
  reasoning: true,
8013
+ thinkingLevelMap: { "off": null, "xhigh": "xhigh" },
7895
8014
  input: ["text", "image"],
7896
8015
  cost: {
7897
8016
  input: 2.5,
@@ -7909,6 +8028,7 @@ export const MODELS = {
7909
8028
  provider: "opencode",
7910
8029
  baseUrl: "https://opencode.ai/zen/v1",
7911
8030
  reasoning: true,
8031
+ thinkingLevelMap: { "off": null, "xhigh": "xhigh" },
7912
8032
  input: ["text", "image"],
7913
8033
  cost: {
7914
8034
  input: 0.75,
@@ -7926,6 +8046,7 @@ export const MODELS = {
7926
8046
  provider: "opencode",
7927
8047
  baseUrl: "https://opencode.ai/zen/v1",
7928
8048
  reasoning: true,
8049
+ thinkingLevelMap: { "off": null, "xhigh": "xhigh" },
7929
8050
  input: ["text", "image"],
7930
8051
  cost: {
7931
8052
  input: 0.2,
@@ -7943,6 +8064,7 @@ export const MODELS = {
7943
8064
  provider: "opencode",
7944
8065
  baseUrl: "https://opencode.ai/zen/v1",
7945
8066
  reasoning: true,
8067
+ thinkingLevelMap: { "off": null, "xhigh": "xhigh" },
7946
8068
  input: ["text", "image"],
7947
8069
  cost: {
7948
8070
  input: 30,
@@ -7960,6 +8082,7 @@ export const MODELS = {
7960
8082
  provider: "opencode",
7961
8083
  baseUrl: "https://opencode.ai/zen/v1",
7962
8084
  reasoning: true,
8085
+ thinkingLevelMap: { "off": null, "xhigh": "xhigh" },
7963
8086
  input: ["text", "image"],
7964
8087
  cost: {
7965
8088
  input: 5,
@@ -7977,6 +8100,7 @@ export const MODELS = {
7977
8100
  provider: "opencode",
7978
8101
  baseUrl: "https://opencode.ai/zen/v1",
7979
8102
  reasoning: true,
8103
+ thinkingLevelMap: { "off": null, "xhigh": "xhigh" },
7980
8104
  input: ["text", "image"],
7981
8105
  cost: {
7982
8106
  input: 30,
@@ -8148,8 +8272,9 @@ export const MODELS = {
8148
8272
  api: "openai-completions",
8149
8273
  provider: "opencode-go",
8150
8274
  baseUrl: "https://opencode.ai/zen/go/v1",
8151
- compat: { "requiresReasoningContentOnAssistantMessages": true, "thinkingFormat": "deepseek", "reasoningEffortMap": { "minimal": "high", "low": "high", "medium": "high", "high": "high", "xhigh": "max" } },
8275
+ compat: { "requiresReasoningContentOnAssistantMessages": true, "thinkingFormat": "deepseek" },
8152
8276
  reasoning: true,
8277
+ thinkingLevelMap: { "minimal": null, "low": null, "medium": null, "high": "high", "xhigh": "max" },
8153
8278
  input: ["text"],
8154
8279
  cost: {
8155
8280
  input: 0.14,
@@ -8166,8 +8291,9 @@ export const MODELS = {
8166
8291
  api: "openai-completions",
8167
8292
  provider: "opencode-go",
8168
8293
  baseUrl: "https://opencode.ai/zen/go/v1",
8169
- compat: { "requiresReasoningContentOnAssistantMessages": true, "thinkingFormat": "deepseek", "reasoningEffortMap": { "minimal": "high", "low": "high", "medium": "high", "high": "high", "xhigh": "max" } },
8294
+ compat: { "requiresReasoningContentOnAssistantMessages": true, "thinkingFormat": "deepseek" },
8170
8295
  reasoning: true,
8296
+ thinkingLevelMap: { "minimal": null, "low": null, "medium": null, "high": "high", "xhigh": "max" },
8171
8297
  input: ["text"],
8172
8298
  cost: {
8173
8299
  input: 1.74,
@@ -8663,6 +8789,7 @@ export const MODELS = {
8663
8789
  provider: "openrouter",
8664
8790
  baseUrl: "https://openrouter.ai/api/v1",
8665
8791
  reasoning: true,
8792
+ thinkingLevelMap: { "xhigh": "max" },
8666
8793
  input: ["text", "image"],
8667
8794
  cost: {
8668
8795
  input: 5,
@@ -8680,6 +8807,7 @@ export const MODELS = {
8680
8807
  provider: "openrouter",
8681
8808
  baseUrl: "https://openrouter.ai/api/v1",
8682
8809
  reasoning: true,
8810
+ thinkingLevelMap: { "xhigh": "max" },
8683
8811
  input: ["text", "image"],
8684
8812
  cost: {
8685
8813
  input: 30,
@@ -8697,6 +8825,7 @@ export const MODELS = {
8697
8825
  provider: "openrouter",
8698
8826
  baseUrl: "https://openrouter.ai/api/v1",
8699
8827
  reasoning: true,
8828
+ thinkingLevelMap: { "xhigh": "xhigh" },
8700
8829
  input: ["text", "image"],
8701
8830
  cost: {
8702
8831
  input: 5,
@@ -9121,8 +9250,9 @@ export const MODELS = {
9121
9250
  api: "openai-completions",
9122
9251
  provider: "openrouter",
9123
9252
  baseUrl: "https://openrouter.ai/api/v1",
9124
- compat: { "requiresReasoningContentOnAssistantMessages": true, "reasoningEffortMap": { "minimal": "high", "low": "high", "medium": "high", "high": "high", "xhigh": "max" } },
9253
+ compat: { "requiresReasoningContentOnAssistantMessages": true, "thinkingFormat": "deepseek" },
9125
9254
  reasoning: true,
9255
+ thinkingLevelMap: { "minimal": null, "low": null, "medium": null, "high": "high", "xhigh": "max" },
9126
9256
  input: ["text"],
9127
9257
  cost: {
9128
9258
  input: 0.14,
@@ -9139,8 +9269,9 @@ export const MODELS = {
9139
9269
  api: "openai-completions",
9140
9270
  provider: "openrouter",
9141
9271
  baseUrl: "https://openrouter.ai/api/v1",
9142
- compat: { "requiresReasoningContentOnAssistantMessages": true, "reasoningEffortMap": { "minimal": "high", "low": "high", "medium": "high", "high": "high", "xhigh": "max" } },
9272
+ compat: { "requiresReasoningContentOnAssistantMessages": true, "thinkingFormat": "deepseek" },
9143
9273
  reasoning: true,
9274
+ thinkingLevelMap: { "minimal": null, "low": null, "medium": null, "high": "high", "xhigh": "max" },
9144
9275
  input: ["text"],
9145
9276
  cost: {
9146
9277
  input: 0.435,
@@ -9182,7 +9313,7 @@ export const MODELS = {
9182
9313
  cacheRead: 0.024999999999999998,
9183
9314
  cacheWrite: 0.08333333333333334,
9184
9315
  },
9185
- contextWindow: 1000000,
9316
+ contextWindow: 1048576,
9186
9317
  maxTokens: 8192,
9187
9318
  },
9188
9319
  "google/gemini-2.0-flash-lite-001": {
@@ -10875,6 +11006,7 @@ export const MODELS = {
10875
11006
  provider: "openrouter",
10876
11007
  baseUrl: "https://openrouter.ai/api/v1",
10877
11008
  reasoning: true,
11009
+ thinkingLevelMap: { "xhigh": "xhigh" },
10878
11010
  input: ["text", "image"],
10879
11011
  cost: {
10880
11012
  input: 1.75,
@@ -10892,6 +11024,7 @@ export const MODELS = {
10892
11024
  provider: "openrouter",
10893
11025
  baseUrl: "https://openrouter.ai/api/v1",
10894
11026
  reasoning: false,
11027
+ thinkingLevelMap: { "xhigh": "xhigh" },
10895
11028
  input: ["text", "image"],
10896
11029
  cost: {
10897
11030
  input: 1.75,
@@ -10909,6 +11042,7 @@ export const MODELS = {
10909
11042
  provider: "openrouter",
10910
11043
  baseUrl: "https://openrouter.ai/api/v1",
10911
11044
  reasoning: true,
11045
+ thinkingLevelMap: { "xhigh": "xhigh" },
10912
11046
  input: ["text", "image"],
10913
11047
  cost: {
10914
11048
  input: 1.75,
@@ -10926,6 +11060,7 @@ export const MODELS = {
10926
11060
  provider: "openrouter",
10927
11061
  baseUrl: "https://openrouter.ai/api/v1",
10928
11062
  reasoning: true,
11063
+ thinkingLevelMap: { "xhigh": "xhigh" },
10929
11064
  input: ["text", "image"],
10930
11065
  cost: {
10931
11066
  input: 21,
@@ -10943,6 +11078,7 @@ export const MODELS = {
10943
11078
  provider: "openrouter",
10944
11079
  baseUrl: "https://openrouter.ai/api/v1",
10945
11080
  reasoning: false,
11081
+ thinkingLevelMap: { "xhigh": "xhigh" },
10946
11082
  input: ["text", "image"],
10947
11083
  cost: {
10948
11084
  input: 1.75,
@@ -10960,6 +11096,7 @@ export const MODELS = {
10960
11096
  provider: "openrouter",
10961
11097
  baseUrl: "https://openrouter.ai/api/v1",
10962
11098
  reasoning: true,
11099
+ thinkingLevelMap: { "xhigh": "xhigh" },
10963
11100
  input: ["text", "image"],
10964
11101
  cost: {
10965
11102
  input: 1.75,
@@ -10977,6 +11114,7 @@ export const MODELS = {
10977
11114
  provider: "openrouter",
10978
11115
  baseUrl: "https://openrouter.ai/api/v1",
10979
11116
  reasoning: true,
11117
+ thinkingLevelMap: { "xhigh": "xhigh" },
10980
11118
  input: ["text", "image"],
10981
11119
  cost: {
10982
11120
  input: 2.5,
@@ -10994,6 +11132,7 @@ export const MODELS = {
10994
11132
  provider: "openrouter",
10995
11133
  baseUrl: "https://openrouter.ai/api/v1",
10996
11134
  reasoning: true,
11135
+ thinkingLevelMap: { "xhigh": "xhigh" },
10997
11136
  input: ["text", "image"],
10998
11137
  cost: {
10999
11138
  input: 0.75,
@@ -11011,6 +11150,7 @@ export const MODELS = {
11011
11150
  provider: "openrouter",
11012
11151
  baseUrl: "https://openrouter.ai/api/v1",
11013
11152
  reasoning: true,
11153
+ thinkingLevelMap: { "xhigh": "xhigh" },
11014
11154
  input: ["text", "image"],
11015
11155
  cost: {
11016
11156
  input: 0.19999999999999998,
@@ -11028,6 +11168,7 @@ export const MODELS = {
11028
11168
  provider: "openrouter",
11029
11169
  baseUrl: "https://openrouter.ai/api/v1",
11030
11170
  reasoning: true,
11171
+ thinkingLevelMap: { "xhigh": "xhigh" },
11031
11172
  input: ["text", "image"],
11032
11173
  cost: {
11033
11174
  input: 30,
@@ -11045,6 +11186,7 @@ export const MODELS = {
11045
11186
  provider: "openrouter",
11046
11187
  baseUrl: "https://openrouter.ai/api/v1",
11047
11188
  reasoning: true,
11189
+ thinkingLevelMap: { "xhigh": "xhigh" },
11048
11190
  input: ["text", "image"],
11049
11191
  cost: {
11050
11192
  input: 5,
@@ -11062,6 +11204,7 @@ export const MODELS = {
11062
11204
  provider: "openrouter",
11063
11205
  baseUrl: "https://openrouter.ai/api/v1",
11064
11206
  reasoning: true,
11207
+ thinkingLevelMap: { "xhigh": "xhigh" },
11065
11208
  input: ["text", "image"],
11066
11209
  cost: {
11067
11210
  input: 30,
@@ -11795,9 +11938,9 @@ export const MODELS = {
11795
11938
  reasoning: false,
11796
11939
  input: ["text"],
11797
11940
  cost: {
11798
- input: 0.14,
11941
+ input: 0.12,
11799
11942
  output: 0.7999999999999999,
11800
- cacheRead: 0.09,
11943
+ cacheRead: 0.07,
11801
11944
  cacheWrite: 0,
11802
11945
  },
11803
11946
  contextWindow: 262144,
@@ -12543,14 +12686,31 @@ export const MODELS = {
12543
12686
  reasoning: true,
12544
12687
  input: ["text", "image"],
12545
12688
  cost: {
12546
- input: 2,
12547
- output: 6,
12689
+ input: 1.25,
12690
+ output: 2.5,
12548
12691
  cacheRead: 0.19999999999999998,
12549
12692
  cacheWrite: 0,
12550
12693
  },
12551
12694
  contextWindow: 2000000,
12552
12695
  maxTokens: 4096,
12553
12696
  },
12697
+ "x-ai/grok-4.3": {
12698
+ id: "x-ai/grok-4.3",
12699
+ name: "xAI: Grok 4.3",
12700
+ api: "openai-completions",
12701
+ provider: "openrouter",
12702
+ baseUrl: "https://openrouter.ai/api/v1",
12703
+ reasoning: true,
12704
+ input: ["text", "image"],
12705
+ cost: {
12706
+ input: 1.25,
12707
+ output: 2.5,
12708
+ cacheRead: 0.19999999999999998,
12709
+ cacheWrite: 0,
12710
+ },
12711
+ contextWindow: 1000000,
12712
+ maxTokens: 4096,
12713
+ },
12554
12714
  "x-ai/grok-code-fast-1": {
12555
12715
  id: "x-ai/grok-code-fast-1",
12556
12716
  name: "xAI: Grok Code Fast 1",
@@ -13444,6 +13604,7 @@ export const MODELS = {
13444
13604
  provider: "vercel-ai-gateway",
13445
13605
  baseUrl: "https://ai-gateway.vercel.sh",
13446
13606
  reasoning: true,
13607
+ thinkingLevelMap: { "xhigh": "max" },
13447
13608
  input: ["text", "image"],
13448
13609
  cost: {
13449
13610
  input: 5,
@@ -13461,6 +13622,7 @@ export const MODELS = {
13461
13622
  provider: "vercel-ai-gateway",
13462
13623
  baseUrl: "https://ai-gateway.vercel.sh",
13463
13624
  reasoning: true,
13625
+ thinkingLevelMap: { "xhigh": "xhigh" },
13464
13626
  input: ["text", "image"],
13465
13627
  cost: {
13466
13628
  input: 5,
@@ -14838,6 +15000,7 @@ export const MODELS = {
14838
15000
  provider: "vercel-ai-gateway",
14839
15001
  baseUrl: "https://ai-gateway.vercel.sh",
14840
15002
  reasoning: true,
15003
+ thinkingLevelMap: { "xhigh": "xhigh" },
14841
15004
  input: ["text", "image"],
14842
15005
  cost: {
14843
15006
  input: 1.75,
@@ -14855,6 +15018,7 @@ export const MODELS = {
14855
15018
  provider: "vercel-ai-gateway",
14856
15019
  baseUrl: "https://ai-gateway.vercel.sh",
14857
15020
  reasoning: true,
15021
+ thinkingLevelMap: { "xhigh": "xhigh" },
14858
15022
  input: ["text", "image"],
14859
15023
  cost: {
14860
15024
  input: 1.75,
@@ -14872,6 +15036,7 @@ export const MODELS = {
14872
15036
  provider: "vercel-ai-gateway",
14873
15037
  baseUrl: "https://ai-gateway.vercel.sh",
14874
15038
  reasoning: true,
15039
+ thinkingLevelMap: { "xhigh": "xhigh" },
14875
15040
  input: ["text", "image"],
14876
15041
  cost: {
14877
15042
  input: 1.75,
@@ -14889,6 +15054,7 @@ export const MODELS = {
14889
15054
  provider: "vercel-ai-gateway",
14890
15055
  baseUrl: "https://ai-gateway.vercel.sh",
14891
15056
  reasoning: true,
15057
+ thinkingLevelMap: { "xhigh": "xhigh" },
14892
15058
  input: ["text", "image"],
14893
15059
  cost: {
14894
15060
  input: 21,
@@ -14906,6 +15072,7 @@ export const MODELS = {
14906
15072
  provider: "vercel-ai-gateway",
14907
15073
  baseUrl: "https://ai-gateway.vercel.sh",
14908
15074
  reasoning: true,
15075
+ thinkingLevelMap: { "xhigh": "xhigh" },
14909
15076
  input: ["text", "image"],
14910
15077
  cost: {
14911
15078
  input: 1.75,
@@ -14923,6 +15090,7 @@ export const MODELS = {
14923
15090
  provider: "vercel-ai-gateway",
14924
15091
  baseUrl: "https://ai-gateway.vercel.sh",
14925
15092
  reasoning: true,
15093
+ thinkingLevelMap: { "xhigh": "xhigh" },
14926
15094
  input: ["text", "image"],
14927
15095
  cost: {
14928
15096
  input: 1.75,
@@ -14940,6 +15108,7 @@ export const MODELS = {
14940
15108
  provider: "vercel-ai-gateway",
14941
15109
  baseUrl: "https://ai-gateway.vercel.sh",
14942
15110
  reasoning: true,
15111
+ thinkingLevelMap: { "xhigh": "xhigh" },
14943
15112
  input: ["text", "image"],
14944
15113
  cost: {
14945
15114
  input: 2.5,
@@ -14957,6 +15126,7 @@ export const MODELS = {
14957
15126
  provider: "vercel-ai-gateway",
14958
15127
  baseUrl: "https://ai-gateway.vercel.sh",
14959
15128
  reasoning: true,
15129
+ thinkingLevelMap: { "xhigh": "xhigh" },
14960
15130
  input: ["text", "image"],
14961
15131
  cost: {
14962
15132
  input: 0.75,
@@ -14974,6 +15144,7 @@ export const MODELS = {
14974
15144
  provider: "vercel-ai-gateway",
14975
15145
  baseUrl: "https://ai-gateway.vercel.sh",
14976
15146
  reasoning: true,
15147
+ thinkingLevelMap: { "xhigh": "xhigh" },
14977
15148
  input: ["text", "image"],
14978
15149
  cost: {
14979
15150
  input: 0.19999999999999998,
@@ -14991,6 +15162,7 @@ export const MODELS = {
14991
15162
  provider: "vercel-ai-gateway",
14992
15163
  baseUrl: "https://ai-gateway.vercel.sh",
14993
15164
  reasoning: true,
15165
+ thinkingLevelMap: { "xhigh": "xhigh" },
14994
15166
  input: ["text", "image"],
14995
15167
  cost: {
14996
15168
  input: 30,
@@ -15008,6 +15180,7 @@ export const MODELS = {
15008
15180
  provider: "vercel-ai-gateway",
15009
15181
  baseUrl: "https://ai-gateway.vercel.sh",
15010
15182
  reasoning: true,
15183
+ thinkingLevelMap: { "xhigh": "xhigh" },
15011
15184
  input: ["text", "image"],
15012
15185
  cost: {
15013
15186
  input: 5,
@@ -15025,6 +15198,7 @@ export const MODELS = {
15025
15198
  provider: "vercel-ai-gateway",
15026
15199
  baseUrl: "https://ai-gateway.vercel.sh",
15027
15200
  reasoning: true,
15201
+ thinkingLevelMap: { "xhigh": "xhigh" },
15028
15202
  input: ["text", "image"],
15029
15203
  cost: {
15030
15204
  input: 30,
@@ -15205,23 +15379,6 @@ export const MODELS = {
15205
15379
  contextWindow: 200000,
15206
15380
  maxTokens: 8000,
15207
15381
  },
15208
- "prime-intellect/intellect-3": {
15209
- id: "prime-intellect/intellect-3",
15210
- name: "INTELLECT 3",
15211
- api: "anthropic-messages",
15212
- provider: "vercel-ai-gateway",
15213
- baseUrl: "https://ai-gateway.vercel.sh",
15214
- reasoning: true,
15215
- input: ["text"],
15216
- cost: {
15217
- input: 0.19999999999999998,
15218
- output: 1.1,
15219
- cacheRead: 0,
15220
- cacheWrite: 0,
15221
- },
15222
- contextWindow: 131072,
15223
- maxTokens: 131072,
15224
- },
15225
15382
  "xai/grok-3": {
15226
15383
  id: "xai/grok-3",
15227
15384
  name: "Grok 3 Beta",
@@ -15477,6 +15634,23 @@ export const MODELS = {
15477
15634
  contextWindow: 2000000,
15478
15635
  maxTokens: 2000000,
15479
15636
  },
15637
+ "xai/grok-4.3": {
15638
+ id: "xai/grok-4.3",
15639
+ name: "Grok 4.3",
15640
+ api: "anthropic-messages",
15641
+ provider: "vercel-ai-gateway",
15642
+ baseUrl: "https://ai-gateway.vercel.sh",
15643
+ reasoning: true,
15644
+ input: ["text", "image"],
15645
+ cost: {
15646
+ input: 1.25,
15647
+ output: 2.5,
15648
+ cacheRead: 0.19999999999999998,
15649
+ cacheWrite: 0,
15650
+ },
15651
+ contextWindow: 1000000,
15652
+ maxTokens: 1000000,
15653
+ },
15480
15654
  "xai/grok-code-fast-1": {
15481
15655
  id: "xai/grok-code-fast-1",
15482
15656
  name: "Grok Code Fast 1",
@@ -16142,6 +16316,23 @@ export const MODELS = {
16142
16316
  contextWindow: 2000000,
16143
16317
  maxTokens: 30000,
16144
16318
  },
16319
+ "grok-4.3": {
16320
+ id: "grok-4.3",
16321
+ name: "Grok 4.3",
16322
+ api: "openai-completions",
16323
+ provider: "xai",
16324
+ baseUrl: "https://api.x.ai/v1",
16325
+ reasoning: true,
16326
+ input: ["text", "image"],
16327
+ cost: {
16328
+ input: 1.25,
16329
+ output: 2.5,
16330
+ cacheRead: 0.2,
16331
+ cacheWrite: 0,
16332
+ },
16333
+ contextWindow: 1000000,
16334
+ maxTokens: 30000,
16335
+ },
16145
16336
  "grok-beta": {
16146
16337
  id: "grok-beta",
16147
16338
  name: "Grok Beta",
@@ -16194,6 +16385,93 @@ export const MODELS = {
16194
16385
  maxTokens: 4096,
16195
16386
  },
16196
16387
  },
16388
+ "xiaomi": {
16389
+ "mimo-v2-flash": {
16390
+ id: "mimo-v2-flash",
16391
+ name: "MiMo-V2-Flash",
16392
+ api: "anthropic-messages",
16393
+ provider: "xiaomi",
16394
+ baseUrl: "https://token-plan-ams.xiaomimimo.com/anthropic",
16395
+ reasoning: true,
16396
+ input: ["text"],
16397
+ cost: {
16398
+ input: 0.1,
16399
+ output: 0.3,
16400
+ cacheRead: 0.01,
16401
+ cacheWrite: 0,
16402
+ },
16403
+ contextWindow: 256000,
16404
+ maxTokens: 64000,
16405
+ },
16406
+ "mimo-v2-omni": {
16407
+ id: "mimo-v2-omni",
16408
+ name: "MiMo-V2-Omni",
16409
+ api: "anthropic-messages",
16410
+ provider: "xiaomi",
16411
+ baseUrl: "https://token-plan-ams.xiaomimimo.com/anthropic",
16412
+ reasoning: true,
16413
+ input: ["text", "image"],
16414
+ cost: {
16415
+ input: 0.4,
16416
+ output: 2,
16417
+ cacheRead: 0.08,
16418
+ cacheWrite: 0,
16419
+ },
16420
+ contextWindow: 256000,
16421
+ maxTokens: 128000,
16422
+ },
16423
+ "mimo-v2-pro": {
16424
+ id: "mimo-v2-pro",
16425
+ name: "MiMo-V2-Pro",
16426
+ api: "anthropic-messages",
16427
+ provider: "xiaomi",
16428
+ baseUrl: "https://token-plan-ams.xiaomimimo.com/anthropic",
16429
+ reasoning: true,
16430
+ input: ["text"],
16431
+ cost: {
16432
+ input: 1,
16433
+ output: 3,
16434
+ cacheRead: 0.2,
16435
+ cacheWrite: 0,
16436
+ },
16437
+ contextWindow: 1000000,
16438
+ maxTokens: 128000,
16439
+ },
16440
+ "mimo-v2.5": {
16441
+ id: "mimo-v2.5",
16442
+ name: "MiMo-V2.5",
16443
+ api: "anthropic-messages",
16444
+ provider: "xiaomi",
16445
+ baseUrl: "https://token-plan-ams.xiaomimimo.com/anthropic",
16446
+ reasoning: true,
16447
+ input: ["text"],
16448
+ cost: {
16449
+ input: 0.4,
16450
+ output: 2,
16451
+ cacheRead: 0.08,
16452
+ cacheWrite: 0,
16453
+ },
16454
+ contextWindow: 1048576,
16455
+ maxTokens: 131072,
16456
+ },
16457
+ "mimo-v2.5-pro": {
16458
+ id: "mimo-v2.5-pro",
16459
+ name: "MiMo-V2.5-Pro",
16460
+ api: "anthropic-messages",
16461
+ provider: "xiaomi",
16462
+ baseUrl: "https://token-plan-ams.xiaomimimo.com/anthropic",
16463
+ reasoning: true,
16464
+ input: ["text", "image"],
16465
+ cost: {
16466
+ input: 1,
16467
+ output: 3,
16468
+ cacheRead: 0.2,
16469
+ cacheWrite: 0,
16470
+ },
16471
+ contextWindow: 1048576,
16472
+ maxTokens: 131072,
16473
+ },
16474
+ },
16197
16475
  "zai": {
16198
16476
  "glm-4.5-air": {
16199
16477
  id: "glm-4.5-air",