@mariozechner/pi-ai 0.45.3 → 0.45.5

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.
@@ -155,6 +155,57 @@ export const MODELS = {
155
155
  contextWindow: 163840,
156
156
  maxTokens: 81920,
157
157
  },
158
+ "eu.anthropic.claude-haiku-4-5-20251001-v1:0": {
159
+ id: "eu.anthropic.claude-haiku-4-5-20251001-v1:0",
160
+ name: "Claude Haiku 4.5 (EU)",
161
+ api: "bedrock-converse-stream",
162
+ provider: "amazon-bedrock",
163
+ baseUrl: "https://bedrock-runtime.us-east-1.amazonaws.com",
164
+ reasoning: true,
165
+ input: ["text", "image"],
166
+ cost: {
167
+ input: 1,
168
+ output: 5,
169
+ cacheRead: 0.1,
170
+ cacheWrite: 1.25,
171
+ },
172
+ contextWindow: 200000,
173
+ maxTokens: 64000,
174
+ },
175
+ "eu.anthropic.claude-opus-4-5-20251101-v1:0": {
176
+ id: "eu.anthropic.claude-opus-4-5-20251101-v1:0",
177
+ name: "Claude Opus 4.5 (EU)",
178
+ api: "bedrock-converse-stream",
179
+ provider: "amazon-bedrock",
180
+ baseUrl: "https://bedrock-runtime.us-east-1.amazonaws.com",
181
+ reasoning: true,
182
+ input: ["text", "image"],
183
+ cost: {
184
+ input: 5,
185
+ output: 25,
186
+ cacheRead: 0.5,
187
+ cacheWrite: 6.25,
188
+ },
189
+ contextWindow: 200000,
190
+ maxTokens: 64000,
191
+ },
192
+ "eu.anthropic.claude-sonnet-4-5-20250929-v1:0": {
193
+ id: "eu.anthropic.claude-sonnet-4-5-20250929-v1:0",
194
+ name: "Claude Sonnet 4.5 (EU)",
195
+ api: "bedrock-converse-stream",
196
+ provider: "amazon-bedrock",
197
+ baseUrl: "https://bedrock-runtime.us-east-1.amazonaws.com",
198
+ reasoning: true,
199
+ input: ["text", "image"],
200
+ cost: {
201
+ input: 3,
202
+ output: 15,
203
+ cacheRead: 0.3,
204
+ cacheWrite: 3.75,
205
+ },
206
+ contextWindow: 200000,
207
+ maxTokens: 64000,
208
+ },
158
209
  "global.amazon.nova-2-lite-v1:0": {
159
210
  id: "global.amazon.nova-2-lite-v1:0",
160
211
  name: "Nova 2 Lite",
@@ -8186,6 +8237,2116 @@ export const MODELS = {
8186
8237
  maxTokens: 65535,
8187
8238
  },
8188
8239
  },
8240
+ "vercel-ai-gateway": {
8241
+ "alibaba/qwen-3-14b": {
8242
+ id: "alibaba/qwen-3-14b",
8243
+ name: "Qwen3-14B",
8244
+ api: "anthropic-messages",
8245
+ provider: "vercel-ai-gateway",
8246
+ baseUrl: "https://ai-gateway.vercel.sh",
8247
+ reasoning: true,
8248
+ input: ["text"],
8249
+ cost: {
8250
+ input: 0.06,
8251
+ output: 0.24,
8252
+ cacheRead: 0,
8253
+ cacheWrite: 0,
8254
+ },
8255
+ contextWindow: 40960,
8256
+ maxTokens: 16384,
8257
+ },
8258
+ "alibaba/qwen-3-235b": {
8259
+ id: "alibaba/qwen-3-235b",
8260
+ name: "Qwen3 235B A22b Instruct 2507",
8261
+ api: "anthropic-messages",
8262
+ provider: "vercel-ai-gateway",
8263
+ baseUrl: "https://ai-gateway.vercel.sh",
8264
+ reasoning: false,
8265
+ input: ["text"],
8266
+ cost: {
8267
+ input: 0.071,
8268
+ output: 0.463,
8269
+ cacheRead: 0,
8270
+ cacheWrite: 0,
8271
+ },
8272
+ contextWindow: 40960,
8273
+ maxTokens: 16384,
8274
+ },
8275
+ "alibaba/qwen-3-30b": {
8276
+ id: "alibaba/qwen-3-30b",
8277
+ name: "Qwen3-30B-A3B",
8278
+ api: "anthropic-messages",
8279
+ provider: "vercel-ai-gateway",
8280
+ baseUrl: "https://ai-gateway.vercel.sh",
8281
+ reasoning: true,
8282
+ input: ["text"],
8283
+ cost: {
8284
+ input: 0.08,
8285
+ output: 0.29,
8286
+ cacheRead: 0,
8287
+ cacheWrite: 0,
8288
+ },
8289
+ contextWindow: 40960,
8290
+ maxTokens: 16384,
8291
+ },
8292
+ "alibaba/qwen-3-32b": {
8293
+ id: "alibaba/qwen-3-32b",
8294
+ name: "Qwen 3.32B",
8295
+ api: "anthropic-messages",
8296
+ provider: "vercel-ai-gateway",
8297
+ baseUrl: "https://ai-gateway.vercel.sh",
8298
+ reasoning: true,
8299
+ input: ["text"],
8300
+ cost: {
8301
+ input: 0.09999999999999999,
8302
+ output: 0.3,
8303
+ cacheRead: 0,
8304
+ cacheWrite: 0,
8305
+ },
8306
+ contextWindow: 40960,
8307
+ maxTokens: 16384,
8308
+ },
8309
+ "alibaba/qwen3-235b-a22b-thinking": {
8310
+ id: "alibaba/qwen3-235b-a22b-thinking",
8311
+ name: "Qwen3 235B A22B Thinking 2507",
8312
+ api: "anthropic-messages",
8313
+ provider: "vercel-ai-gateway",
8314
+ baseUrl: "https://ai-gateway.vercel.sh",
8315
+ reasoning: true,
8316
+ input: ["text", "image"],
8317
+ cost: {
8318
+ input: 0.3,
8319
+ output: 2.9000000000000004,
8320
+ cacheRead: 0,
8321
+ cacheWrite: 0,
8322
+ },
8323
+ contextWindow: 262114,
8324
+ maxTokens: 262114,
8325
+ },
8326
+ "alibaba/qwen3-coder": {
8327
+ id: "alibaba/qwen3-coder",
8328
+ name: "Qwen3 Coder 480B A35B Instruct",
8329
+ api: "anthropic-messages",
8330
+ provider: "vercel-ai-gateway",
8331
+ baseUrl: "https://ai-gateway.vercel.sh",
8332
+ reasoning: false,
8333
+ input: ["text"],
8334
+ cost: {
8335
+ input: 0.38,
8336
+ output: 1.53,
8337
+ cacheRead: 0,
8338
+ cacheWrite: 0,
8339
+ },
8340
+ contextWindow: 262144,
8341
+ maxTokens: 66536,
8342
+ },
8343
+ "alibaba/qwen3-coder-30b-a3b": {
8344
+ id: "alibaba/qwen3-coder-30b-a3b",
8345
+ name: "Qwen 3 Coder 30B A3B Instruct",
8346
+ api: "anthropic-messages",
8347
+ provider: "vercel-ai-gateway",
8348
+ baseUrl: "https://ai-gateway.vercel.sh",
8349
+ reasoning: true,
8350
+ input: ["text"],
8351
+ cost: {
8352
+ input: 0.07,
8353
+ output: 0.27,
8354
+ cacheRead: 0,
8355
+ cacheWrite: 0,
8356
+ },
8357
+ contextWindow: 160000,
8358
+ maxTokens: 32768,
8359
+ },
8360
+ "alibaba/qwen3-coder-plus": {
8361
+ id: "alibaba/qwen3-coder-plus",
8362
+ name: "Qwen3 Coder Plus",
8363
+ api: "anthropic-messages",
8364
+ provider: "vercel-ai-gateway",
8365
+ baseUrl: "https://ai-gateway.vercel.sh",
8366
+ reasoning: false,
8367
+ input: ["text"],
8368
+ cost: {
8369
+ input: 1,
8370
+ output: 5,
8371
+ cacheRead: 0,
8372
+ cacheWrite: 0,
8373
+ },
8374
+ contextWindow: 1000000,
8375
+ maxTokens: 65536,
8376
+ },
8377
+ "alibaba/qwen3-max": {
8378
+ id: "alibaba/qwen3-max",
8379
+ name: "Qwen3 Max",
8380
+ api: "anthropic-messages",
8381
+ provider: "vercel-ai-gateway",
8382
+ baseUrl: "https://ai-gateway.vercel.sh",
8383
+ reasoning: false,
8384
+ input: ["text"],
8385
+ cost: {
8386
+ input: 1.2,
8387
+ output: 6,
8388
+ cacheRead: 0.24,
8389
+ cacheWrite: 0,
8390
+ },
8391
+ contextWindow: 262144,
8392
+ maxTokens: 32768,
8393
+ },
8394
+ "alibaba/qwen3-max-preview": {
8395
+ id: "alibaba/qwen3-max-preview",
8396
+ name: "Qwen3 Max Preview",
8397
+ api: "anthropic-messages",
8398
+ provider: "vercel-ai-gateway",
8399
+ baseUrl: "https://ai-gateway.vercel.sh",
8400
+ reasoning: false,
8401
+ input: ["text"],
8402
+ cost: {
8403
+ input: 1.2,
8404
+ output: 6,
8405
+ cacheRead: 0.24,
8406
+ cacheWrite: 0,
8407
+ },
8408
+ contextWindow: 262144,
8409
+ maxTokens: 32768,
8410
+ },
8411
+ "anthropic/claude-3-haiku": {
8412
+ id: "anthropic/claude-3-haiku",
8413
+ name: "Claude 3 Haiku",
8414
+ api: "anthropic-messages",
8415
+ provider: "vercel-ai-gateway",
8416
+ baseUrl: "https://ai-gateway.vercel.sh",
8417
+ reasoning: false,
8418
+ input: ["text", "image"],
8419
+ cost: {
8420
+ input: 0.25,
8421
+ output: 1.25,
8422
+ cacheRead: 0.03,
8423
+ cacheWrite: 0.3,
8424
+ },
8425
+ contextWindow: 200000,
8426
+ maxTokens: 4096,
8427
+ },
8428
+ "anthropic/claude-3-opus": {
8429
+ id: "anthropic/claude-3-opus",
8430
+ name: "Claude 3 Opus",
8431
+ api: "anthropic-messages",
8432
+ provider: "vercel-ai-gateway",
8433
+ baseUrl: "https://ai-gateway.vercel.sh",
8434
+ reasoning: false,
8435
+ input: ["text", "image"],
8436
+ cost: {
8437
+ input: 15,
8438
+ output: 75,
8439
+ cacheRead: 0,
8440
+ cacheWrite: 0,
8441
+ },
8442
+ contextWindow: 200000,
8443
+ maxTokens: 8192,
8444
+ },
8445
+ "anthropic/claude-3.5-haiku": {
8446
+ id: "anthropic/claude-3.5-haiku",
8447
+ name: "Claude 3.5 Haiku",
8448
+ api: "anthropic-messages",
8449
+ provider: "vercel-ai-gateway",
8450
+ baseUrl: "https://ai-gateway.vercel.sh",
8451
+ reasoning: false,
8452
+ input: ["text", "image"],
8453
+ cost: {
8454
+ input: 0.7999999999999999,
8455
+ output: 4,
8456
+ cacheRead: 0.08,
8457
+ cacheWrite: 1,
8458
+ },
8459
+ contextWindow: 200000,
8460
+ maxTokens: 8192,
8461
+ },
8462
+ "anthropic/claude-3.5-sonnet": {
8463
+ id: "anthropic/claude-3.5-sonnet",
8464
+ name: "Claude 3.5 Sonnet",
8465
+ api: "anthropic-messages",
8466
+ provider: "vercel-ai-gateway",
8467
+ baseUrl: "https://ai-gateway.vercel.sh",
8468
+ reasoning: false,
8469
+ input: ["text", "image"],
8470
+ cost: {
8471
+ input: 3,
8472
+ output: 15,
8473
+ cacheRead: 0.3,
8474
+ cacheWrite: 3.75,
8475
+ },
8476
+ contextWindow: 200000,
8477
+ maxTokens: 8192,
8478
+ },
8479
+ "anthropic/claude-3.5-sonnet-20240620": {
8480
+ id: "anthropic/claude-3.5-sonnet-20240620",
8481
+ name: "Claude 3.5 Sonnet (2024-06-20)",
8482
+ api: "anthropic-messages",
8483
+ provider: "vercel-ai-gateway",
8484
+ baseUrl: "https://ai-gateway.vercel.sh",
8485
+ reasoning: false,
8486
+ input: ["text", "image"],
8487
+ cost: {
8488
+ input: 3,
8489
+ output: 15,
8490
+ cacheRead: 0,
8491
+ cacheWrite: 0,
8492
+ },
8493
+ contextWindow: 200000,
8494
+ maxTokens: 8192,
8495
+ },
8496
+ "anthropic/claude-3.7-sonnet": {
8497
+ id: "anthropic/claude-3.7-sonnet",
8498
+ name: "Claude 3.7 Sonnet",
8499
+ api: "anthropic-messages",
8500
+ provider: "vercel-ai-gateway",
8501
+ baseUrl: "https://ai-gateway.vercel.sh",
8502
+ reasoning: true,
8503
+ input: ["text", "image"],
8504
+ cost: {
8505
+ input: 3,
8506
+ output: 15,
8507
+ cacheRead: 0.3,
8508
+ cacheWrite: 3.75,
8509
+ },
8510
+ contextWindow: 200000,
8511
+ maxTokens: 64000,
8512
+ },
8513
+ "anthropic/claude-haiku-4.5": {
8514
+ id: "anthropic/claude-haiku-4.5",
8515
+ name: "Claude Haiku 4.5",
8516
+ api: "anthropic-messages",
8517
+ provider: "vercel-ai-gateway",
8518
+ baseUrl: "https://ai-gateway.vercel.sh",
8519
+ reasoning: true,
8520
+ input: ["text", "image"],
8521
+ cost: {
8522
+ input: 1,
8523
+ output: 5,
8524
+ cacheRead: 0.09999999999999999,
8525
+ cacheWrite: 1.25,
8526
+ },
8527
+ contextWindow: 200000,
8528
+ maxTokens: 64000,
8529
+ },
8530
+ "anthropic/claude-opus-4": {
8531
+ id: "anthropic/claude-opus-4",
8532
+ name: "Claude Opus 4",
8533
+ api: "anthropic-messages",
8534
+ provider: "vercel-ai-gateway",
8535
+ baseUrl: "https://ai-gateway.vercel.sh",
8536
+ reasoning: true,
8537
+ input: ["text", "image"],
8538
+ cost: {
8539
+ input: 15,
8540
+ output: 75,
8541
+ cacheRead: 1.5,
8542
+ cacheWrite: 18.75,
8543
+ },
8544
+ contextWindow: 200000,
8545
+ maxTokens: 32000,
8546
+ },
8547
+ "anthropic/claude-opus-4.1": {
8548
+ id: "anthropic/claude-opus-4.1",
8549
+ name: "Claude Opus 4.1",
8550
+ api: "anthropic-messages",
8551
+ provider: "vercel-ai-gateway",
8552
+ baseUrl: "https://ai-gateway.vercel.sh",
8553
+ reasoning: true,
8554
+ input: ["text", "image"],
8555
+ cost: {
8556
+ input: 15,
8557
+ output: 75,
8558
+ cacheRead: 1.5,
8559
+ cacheWrite: 18.75,
8560
+ },
8561
+ contextWindow: 200000,
8562
+ maxTokens: 32000,
8563
+ },
8564
+ "anthropic/claude-opus-4.5": {
8565
+ id: "anthropic/claude-opus-4.5",
8566
+ name: "Claude Opus 4.5",
8567
+ api: "anthropic-messages",
8568
+ provider: "vercel-ai-gateway",
8569
+ baseUrl: "https://ai-gateway.vercel.sh",
8570
+ reasoning: true,
8571
+ input: ["text", "image"],
8572
+ cost: {
8573
+ input: 5,
8574
+ output: 25,
8575
+ cacheRead: 0.5,
8576
+ cacheWrite: 6.25,
8577
+ },
8578
+ contextWindow: 200000,
8579
+ maxTokens: 64000,
8580
+ },
8581
+ "anthropic/claude-sonnet-4": {
8582
+ id: "anthropic/claude-sonnet-4",
8583
+ name: "Claude Sonnet 4",
8584
+ api: "anthropic-messages",
8585
+ provider: "vercel-ai-gateway",
8586
+ baseUrl: "https://ai-gateway.vercel.sh",
8587
+ reasoning: true,
8588
+ input: ["text", "image"],
8589
+ cost: {
8590
+ input: 3,
8591
+ output: 15,
8592
+ cacheRead: 0.3,
8593
+ cacheWrite: 3.75,
8594
+ },
8595
+ contextWindow: 200000,
8596
+ maxTokens: 64000,
8597
+ },
8598
+ "anthropic/claude-sonnet-4.5": {
8599
+ id: "anthropic/claude-sonnet-4.5",
8600
+ name: "Claude Sonnet 4.5",
8601
+ api: "anthropic-messages",
8602
+ provider: "vercel-ai-gateway",
8603
+ baseUrl: "https://ai-gateway.vercel.sh",
8604
+ reasoning: true,
8605
+ input: ["text", "image"],
8606
+ cost: {
8607
+ input: 3,
8608
+ output: 15,
8609
+ cacheRead: 0.3,
8610
+ cacheWrite: 3.75,
8611
+ },
8612
+ contextWindow: 200000,
8613
+ maxTokens: 64000,
8614
+ },
8615
+ "bytedance/seed-1.6": {
8616
+ id: "bytedance/seed-1.6",
8617
+ name: "Seed 1.6",
8618
+ api: "anthropic-messages",
8619
+ provider: "vercel-ai-gateway",
8620
+ baseUrl: "https://ai-gateway.vercel.sh",
8621
+ reasoning: true,
8622
+ input: ["text"],
8623
+ cost: {
8624
+ input: 0.25,
8625
+ output: 2,
8626
+ cacheRead: 0.049999999999999996,
8627
+ cacheWrite: 0,
8628
+ },
8629
+ contextWindow: 256000,
8630
+ maxTokens: 32000,
8631
+ },
8632
+ "cohere/command-a": {
8633
+ id: "cohere/command-a",
8634
+ name: "Command A",
8635
+ api: "anthropic-messages",
8636
+ provider: "vercel-ai-gateway",
8637
+ baseUrl: "https://ai-gateway.vercel.sh",
8638
+ reasoning: false,
8639
+ input: ["text"],
8640
+ cost: {
8641
+ input: 2.5,
8642
+ output: 10,
8643
+ cacheRead: 0,
8644
+ cacheWrite: 0,
8645
+ },
8646
+ contextWindow: 256000,
8647
+ maxTokens: 8000,
8648
+ },
8649
+ "deepseek/deepseek-v3": {
8650
+ id: "deepseek/deepseek-v3",
8651
+ name: "DeepSeek V3 0324",
8652
+ api: "anthropic-messages",
8653
+ provider: "vercel-ai-gateway",
8654
+ baseUrl: "https://ai-gateway.vercel.sh",
8655
+ reasoning: false,
8656
+ input: ["text"],
8657
+ cost: {
8658
+ input: 0.77,
8659
+ output: 0.77,
8660
+ cacheRead: 0,
8661
+ cacheWrite: 0,
8662
+ },
8663
+ contextWindow: 163840,
8664
+ maxTokens: 16384,
8665
+ },
8666
+ "deepseek/deepseek-v3.1": {
8667
+ id: "deepseek/deepseek-v3.1",
8668
+ name: "DeepSeek-V3.1",
8669
+ api: "anthropic-messages",
8670
+ provider: "vercel-ai-gateway",
8671
+ baseUrl: "https://ai-gateway.vercel.sh",
8672
+ reasoning: true,
8673
+ input: ["text"],
8674
+ cost: {
8675
+ input: 0.3,
8676
+ output: 1,
8677
+ cacheRead: 0,
8678
+ cacheWrite: 0,
8679
+ },
8680
+ contextWindow: 163840,
8681
+ maxTokens: 128000,
8682
+ },
8683
+ "deepseek/deepseek-v3.1-terminus": {
8684
+ id: "deepseek/deepseek-v3.1-terminus",
8685
+ name: "DeepSeek V3.1 Terminus",
8686
+ api: "anthropic-messages",
8687
+ provider: "vercel-ai-gateway",
8688
+ baseUrl: "https://ai-gateway.vercel.sh",
8689
+ reasoning: true,
8690
+ input: ["text"],
8691
+ cost: {
8692
+ input: 0.27,
8693
+ output: 1,
8694
+ cacheRead: 0,
8695
+ cacheWrite: 0,
8696
+ },
8697
+ contextWindow: 131072,
8698
+ maxTokens: 65536,
8699
+ },
8700
+ "deepseek/deepseek-v3.2-exp": {
8701
+ id: "deepseek/deepseek-v3.2-exp",
8702
+ name: "DeepSeek V3.2 Exp",
8703
+ api: "anthropic-messages",
8704
+ provider: "vercel-ai-gateway",
8705
+ baseUrl: "https://ai-gateway.vercel.sh",
8706
+ reasoning: true,
8707
+ input: ["text"],
8708
+ cost: {
8709
+ input: 0.27,
8710
+ output: 0.39999999999999997,
8711
+ cacheRead: 0,
8712
+ cacheWrite: 0,
8713
+ },
8714
+ contextWindow: 163840,
8715
+ maxTokens: 163840,
8716
+ },
8717
+ "deepseek/deepseek-v3.2-thinking": {
8718
+ id: "deepseek/deepseek-v3.2-thinking",
8719
+ name: "DeepSeek V3.2 Thinking",
8720
+ api: "anthropic-messages",
8721
+ provider: "vercel-ai-gateway",
8722
+ baseUrl: "https://ai-gateway.vercel.sh",
8723
+ reasoning: true,
8724
+ input: ["text"],
8725
+ cost: {
8726
+ input: 0.28,
8727
+ output: 0.42,
8728
+ cacheRead: 0.028,
8729
+ cacheWrite: 0,
8730
+ },
8731
+ contextWindow: 128000,
8732
+ maxTokens: 64000,
8733
+ },
8734
+ "google/gemini-2.0-flash": {
8735
+ id: "google/gemini-2.0-flash",
8736
+ name: "Gemini 2.0 Flash",
8737
+ api: "anthropic-messages",
8738
+ provider: "vercel-ai-gateway",
8739
+ baseUrl: "https://ai-gateway.vercel.sh",
8740
+ reasoning: false,
8741
+ input: ["text", "image"],
8742
+ cost: {
8743
+ input: 0.09999999999999999,
8744
+ output: 0.39999999999999997,
8745
+ cacheRead: 0.024999999999999998,
8746
+ cacheWrite: 0,
8747
+ },
8748
+ contextWindow: 1000000,
8749
+ maxTokens: 8192,
8750
+ },
8751
+ "google/gemini-2.0-flash-lite": {
8752
+ id: "google/gemini-2.0-flash-lite",
8753
+ name: "Gemini 2.0 Flash Lite",
8754
+ api: "anthropic-messages",
8755
+ provider: "vercel-ai-gateway",
8756
+ baseUrl: "https://ai-gateway.vercel.sh",
8757
+ reasoning: false,
8758
+ input: ["text", "image"],
8759
+ cost: {
8760
+ input: 0.075,
8761
+ output: 0.3,
8762
+ cacheRead: 0,
8763
+ cacheWrite: 0,
8764
+ },
8765
+ contextWindow: 1048576,
8766
+ maxTokens: 8192,
8767
+ },
8768
+ "google/gemini-2.5-flash": {
8769
+ id: "google/gemini-2.5-flash",
8770
+ name: "Gemini 2.5 Flash",
8771
+ api: "anthropic-messages",
8772
+ provider: "vercel-ai-gateway",
8773
+ baseUrl: "https://ai-gateway.vercel.sh",
8774
+ reasoning: true,
8775
+ input: ["text", "image"],
8776
+ cost: {
8777
+ input: 0.3,
8778
+ output: 2.5,
8779
+ cacheRead: 0.03,
8780
+ cacheWrite: 0,
8781
+ },
8782
+ contextWindow: 1000000,
8783
+ maxTokens: 64000,
8784
+ },
8785
+ "google/gemini-2.5-flash-lite": {
8786
+ id: "google/gemini-2.5-flash-lite",
8787
+ name: "Gemini 2.5 Flash Lite",
8788
+ api: "anthropic-messages",
8789
+ provider: "vercel-ai-gateway",
8790
+ baseUrl: "https://ai-gateway.vercel.sh",
8791
+ reasoning: true,
8792
+ input: ["text", "image"],
8793
+ cost: {
8794
+ input: 0.09999999999999999,
8795
+ output: 0.39999999999999997,
8796
+ cacheRead: 0.01,
8797
+ cacheWrite: 0,
8798
+ },
8799
+ contextWindow: 1048576,
8800
+ maxTokens: 65536,
8801
+ },
8802
+ "google/gemini-2.5-flash-lite-preview-09-2025": {
8803
+ id: "google/gemini-2.5-flash-lite-preview-09-2025",
8804
+ name: "Gemini 2.5 Flash Lite Preview 09-2025",
8805
+ api: "anthropic-messages",
8806
+ provider: "vercel-ai-gateway",
8807
+ baseUrl: "https://ai-gateway.vercel.sh",
8808
+ reasoning: true,
8809
+ input: ["text", "image"],
8810
+ cost: {
8811
+ input: 0.09999999999999999,
8812
+ output: 0.39999999999999997,
8813
+ cacheRead: 0.01,
8814
+ cacheWrite: 0,
8815
+ },
8816
+ contextWindow: 1048576,
8817
+ maxTokens: 65536,
8818
+ },
8819
+ "google/gemini-2.5-flash-preview-09-2025": {
8820
+ id: "google/gemini-2.5-flash-preview-09-2025",
8821
+ name: "Gemini 2.5 Flash Preview 09-2025",
8822
+ api: "anthropic-messages",
8823
+ provider: "vercel-ai-gateway",
8824
+ baseUrl: "https://ai-gateway.vercel.sh",
8825
+ reasoning: true,
8826
+ input: ["text", "image"],
8827
+ cost: {
8828
+ input: 0.3,
8829
+ output: 2.5,
8830
+ cacheRead: 0.03,
8831
+ cacheWrite: 0,
8832
+ },
8833
+ contextWindow: 1000000,
8834
+ maxTokens: 65536,
8835
+ },
8836
+ "google/gemini-2.5-pro": {
8837
+ id: "google/gemini-2.5-pro",
8838
+ name: "Gemini 2.5 Pro",
8839
+ api: "anthropic-messages",
8840
+ provider: "vercel-ai-gateway",
8841
+ baseUrl: "https://ai-gateway.vercel.sh",
8842
+ reasoning: true,
8843
+ input: ["text", "image"],
8844
+ cost: {
8845
+ input: 1.25,
8846
+ output: 10,
8847
+ cacheRead: 0.125,
8848
+ cacheWrite: 0,
8849
+ },
8850
+ contextWindow: 1048576,
8851
+ maxTokens: 65536,
8852
+ },
8853
+ "google/gemini-3-flash": {
8854
+ id: "google/gemini-3-flash",
8855
+ name: "Gemini 3 Flash",
8856
+ api: "anthropic-messages",
8857
+ provider: "vercel-ai-gateway",
8858
+ baseUrl: "https://ai-gateway.vercel.sh",
8859
+ reasoning: true,
8860
+ input: ["text", "image"],
8861
+ cost: {
8862
+ input: 0.5,
8863
+ output: 3,
8864
+ cacheRead: 0.049999999999999996,
8865
+ cacheWrite: 0,
8866
+ },
8867
+ contextWindow: 1000000,
8868
+ maxTokens: 64000,
8869
+ },
8870
+ "google/gemini-3-pro-preview": {
8871
+ id: "google/gemini-3-pro-preview",
8872
+ name: "Gemini 3 Pro Preview",
8873
+ api: "anthropic-messages",
8874
+ provider: "vercel-ai-gateway",
8875
+ baseUrl: "https://ai-gateway.vercel.sh",
8876
+ reasoning: true,
8877
+ input: ["text", "image"],
8878
+ cost: {
8879
+ input: 2,
8880
+ output: 12,
8881
+ cacheRead: 0.19999999999999998,
8882
+ cacheWrite: 0,
8883
+ },
8884
+ contextWindow: 1000000,
8885
+ maxTokens: 64000,
8886
+ },
8887
+ "inception/mercury-coder-small": {
8888
+ id: "inception/mercury-coder-small",
8889
+ name: "Mercury Coder Small Beta",
8890
+ api: "anthropic-messages",
8891
+ provider: "vercel-ai-gateway",
8892
+ baseUrl: "https://ai-gateway.vercel.sh",
8893
+ reasoning: false,
8894
+ input: ["text"],
8895
+ cost: {
8896
+ input: 0.25,
8897
+ output: 1,
8898
+ cacheRead: 0,
8899
+ cacheWrite: 0,
8900
+ },
8901
+ contextWindow: 32000,
8902
+ maxTokens: 16384,
8903
+ },
8904
+ "meituan/longcat-flash-chat": {
8905
+ id: "meituan/longcat-flash-chat",
8906
+ name: "LongCat Flash Chat",
8907
+ api: "anthropic-messages",
8908
+ provider: "vercel-ai-gateway",
8909
+ baseUrl: "https://ai-gateway.vercel.sh",
8910
+ reasoning: false,
8911
+ input: ["text"],
8912
+ cost: {
8913
+ input: 0,
8914
+ output: 0,
8915
+ cacheRead: 0,
8916
+ cacheWrite: 0,
8917
+ },
8918
+ contextWindow: 128000,
8919
+ maxTokens: 8192,
8920
+ },
8921
+ "meituan/longcat-flash-thinking": {
8922
+ id: "meituan/longcat-flash-thinking",
8923
+ name: "LongCat Flash Thinking",
8924
+ api: "anthropic-messages",
8925
+ provider: "vercel-ai-gateway",
8926
+ baseUrl: "https://ai-gateway.vercel.sh",
8927
+ reasoning: true,
8928
+ input: ["text"],
8929
+ cost: {
8930
+ input: 0.15,
8931
+ output: 1.5,
8932
+ cacheRead: 0,
8933
+ cacheWrite: 0,
8934
+ },
8935
+ contextWindow: 128000,
8936
+ maxTokens: 8192,
8937
+ },
8938
+ "meta/llama-3.1-70b": {
8939
+ id: "meta/llama-3.1-70b",
8940
+ name: "Llama 3.1 70B Instruct",
8941
+ api: "anthropic-messages",
8942
+ provider: "vercel-ai-gateway",
8943
+ baseUrl: "https://ai-gateway.vercel.sh",
8944
+ reasoning: false,
8945
+ input: ["text"],
8946
+ cost: {
8947
+ input: 0.39999999999999997,
8948
+ output: 0.39999999999999997,
8949
+ cacheRead: 0,
8950
+ cacheWrite: 0,
8951
+ },
8952
+ contextWindow: 131072,
8953
+ maxTokens: 16384,
8954
+ },
8955
+ "meta/llama-3.1-8b": {
8956
+ id: "meta/llama-3.1-8b",
8957
+ name: "Llama 3.1 8B Instruct",
8958
+ api: "anthropic-messages",
8959
+ provider: "vercel-ai-gateway",
8960
+ baseUrl: "https://ai-gateway.vercel.sh",
8961
+ reasoning: false,
8962
+ input: ["text"],
8963
+ cost: {
8964
+ input: 0.03,
8965
+ output: 0.049999999999999996,
8966
+ cacheRead: 0,
8967
+ cacheWrite: 0,
8968
+ },
8969
+ contextWindow: 131072,
8970
+ maxTokens: 16384,
8971
+ },
8972
+ "meta/llama-3.2-11b": {
8973
+ id: "meta/llama-3.2-11b",
8974
+ name: "Llama 3.2 11B Vision Instruct",
8975
+ api: "anthropic-messages",
8976
+ provider: "vercel-ai-gateway",
8977
+ baseUrl: "https://ai-gateway.vercel.sh",
8978
+ reasoning: false,
8979
+ input: ["text", "image"],
8980
+ cost: {
8981
+ input: 0.16,
8982
+ output: 0.16,
8983
+ cacheRead: 0,
8984
+ cacheWrite: 0,
8985
+ },
8986
+ contextWindow: 128000,
8987
+ maxTokens: 8192,
8988
+ },
8989
+ "meta/llama-3.2-90b": {
8990
+ id: "meta/llama-3.2-90b",
8991
+ name: "Llama 3.2 90B Vision Instruct",
8992
+ api: "anthropic-messages",
8993
+ provider: "vercel-ai-gateway",
8994
+ baseUrl: "https://ai-gateway.vercel.sh",
8995
+ reasoning: false,
8996
+ input: ["text", "image"],
8997
+ cost: {
8998
+ input: 0.72,
8999
+ output: 0.72,
9000
+ cacheRead: 0,
9001
+ cacheWrite: 0,
9002
+ },
9003
+ contextWindow: 128000,
9004
+ maxTokens: 8192,
9005
+ },
9006
+ "meta/llama-3.3-70b": {
9007
+ id: "meta/llama-3.3-70b",
9008
+ name: "Llama 3.3 70B Instruct",
9009
+ api: "anthropic-messages",
9010
+ provider: "vercel-ai-gateway",
9011
+ baseUrl: "https://ai-gateway.vercel.sh",
9012
+ reasoning: false,
9013
+ input: ["text"],
9014
+ cost: {
9015
+ input: 0.72,
9016
+ output: 0.72,
9017
+ cacheRead: 0,
9018
+ cacheWrite: 0,
9019
+ },
9020
+ contextWindow: 128000,
9021
+ maxTokens: 8192,
9022
+ },
9023
+ "meta/llama-4-maverick": {
9024
+ id: "meta/llama-4-maverick",
9025
+ name: "Llama 4 Maverick 17B Instruct",
9026
+ api: "anthropic-messages",
9027
+ provider: "vercel-ai-gateway",
9028
+ baseUrl: "https://ai-gateway.vercel.sh",
9029
+ reasoning: false,
9030
+ input: ["text", "image"],
9031
+ cost: {
9032
+ input: 0.15,
9033
+ output: 0.6,
9034
+ cacheRead: 0,
9035
+ cacheWrite: 0,
9036
+ },
9037
+ contextWindow: 131072,
9038
+ maxTokens: 8192,
9039
+ },
9040
+ "meta/llama-4-scout": {
9041
+ id: "meta/llama-4-scout",
9042
+ name: "Llama 4 Scout 17B Instruct",
9043
+ api: "anthropic-messages",
9044
+ provider: "vercel-ai-gateway",
9045
+ baseUrl: "https://ai-gateway.vercel.sh",
9046
+ reasoning: false,
9047
+ input: ["text", "image"],
9048
+ cost: {
9049
+ input: 0.08,
9050
+ output: 0.3,
9051
+ cacheRead: 0,
9052
+ cacheWrite: 0,
9053
+ },
9054
+ contextWindow: 131072,
9055
+ maxTokens: 8192,
9056
+ },
9057
+ "minimax/minimax-m2": {
9058
+ id: "minimax/minimax-m2",
9059
+ name: "MiniMax M2",
9060
+ api: "anthropic-messages",
9061
+ provider: "vercel-ai-gateway",
9062
+ baseUrl: "https://ai-gateway.vercel.sh",
9063
+ reasoning: true,
9064
+ input: ["text"],
9065
+ cost: {
9066
+ input: 0.27,
9067
+ output: 1.15,
9068
+ cacheRead: 0,
9069
+ cacheWrite: 0,
9070
+ },
9071
+ contextWindow: 262114,
9072
+ maxTokens: 262114,
9073
+ },
9074
+ "minimax/minimax-m2.1": {
9075
+ id: "minimax/minimax-m2.1",
9076
+ name: "MiniMax M2.1",
9077
+ api: "anthropic-messages",
9078
+ provider: "vercel-ai-gateway",
9079
+ baseUrl: "https://ai-gateway.vercel.sh",
9080
+ reasoning: true,
9081
+ input: ["text"],
9082
+ cost: {
9083
+ input: 0.28,
9084
+ output: 1.2,
9085
+ cacheRead: 0.14,
9086
+ cacheWrite: 0,
9087
+ },
9088
+ contextWindow: 196608,
9089
+ maxTokens: 196608,
9090
+ },
9091
+ "minimax/minimax-m2.1-lightning": {
9092
+ id: "minimax/minimax-m2.1-lightning",
9093
+ name: "MiniMax M2.1 Lightning",
9094
+ api: "anthropic-messages",
9095
+ provider: "vercel-ai-gateway",
9096
+ baseUrl: "https://ai-gateway.vercel.sh",
9097
+ reasoning: true,
9098
+ input: ["text"],
9099
+ cost: {
9100
+ input: 0.3,
9101
+ output: 2.4,
9102
+ cacheRead: 0.03,
9103
+ cacheWrite: 0.375,
9104
+ },
9105
+ contextWindow: 204800,
9106
+ maxTokens: 131072,
9107
+ },
9108
+ "mistral/codestral": {
9109
+ id: "mistral/codestral",
9110
+ name: "Mistral Codestral",
9111
+ api: "anthropic-messages",
9112
+ provider: "vercel-ai-gateway",
9113
+ baseUrl: "https://ai-gateway.vercel.sh",
9114
+ reasoning: false,
9115
+ input: ["text"],
9116
+ cost: {
9117
+ input: 0.3,
9118
+ output: 0.8999999999999999,
9119
+ cacheRead: 0,
9120
+ cacheWrite: 0,
9121
+ },
9122
+ contextWindow: 128000,
9123
+ maxTokens: 4000,
9124
+ },
9125
+ "mistral/devstral-2": {
9126
+ id: "mistral/devstral-2",
9127
+ name: "Devstral 2",
9128
+ api: "anthropic-messages",
9129
+ provider: "vercel-ai-gateway",
9130
+ baseUrl: "https://ai-gateway.vercel.sh",
9131
+ reasoning: false,
9132
+ input: ["text"],
9133
+ cost: {
9134
+ input: 0,
9135
+ output: 0,
9136
+ cacheRead: 0,
9137
+ cacheWrite: 0,
9138
+ },
9139
+ contextWindow: 256000,
9140
+ maxTokens: 256000,
9141
+ },
9142
+ "mistral/devstral-small": {
9143
+ id: "mistral/devstral-small",
9144
+ name: "Devstral Small 1.1",
9145
+ api: "anthropic-messages",
9146
+ provider: "vercel-ai-gateway",
9147
+ baseUrl: "https://ai-gateway.vercel.sh",
9148
+ reasoning: false,
9149
+ input: ["text"],
9150
+ cost: {
9151
+ input: 0.09999999999999999,
9152
+ output: 0.3,
9153
+ cacheRead: 0,
9154
+ cacheWrite: 0,
9155
+ },
9156
+ contextWindow: 128000,
9157
+ maxTokens: 64000,
9158
+ },
9159
+ "mistral/devstral-small-2": {
9160
+ id: "mistral/devstral-small-2",
9161
+ name: "Devstral Small 2",
9162
+ api: "anthropic-messages",
9163
+ provider: "vercel-ai-gateway",
9164
+ baseUrl: "https://ai-gateway.vercel.sh",
9165
+ reasoning: false,
9166
+ input: ["text"],
9167
+ cost: {
9168
+ input: 0,
9169
+ output: 0,
9170
+ cacheRead: 0,
9171
+ cacheWrite: 0,
9172
+ },
9173
+ contextWindow: 256000,
9174
+ maxTokens: 256000,
9175
+ },
9176
+ "mistral/ministral-3b": {
9177
+ id: "mistral/ministral-3b",
9178
+ name: "Ministral 3B",
9179
+ api: "anthropic-messages",
9180
+ provider: "vercel-ai-gateway",
9181
+ baseUrl: "https://ai-gateway.vercel.sh",
9182
+ reasoning: false,
9183
+ input: ["text"],
9184
+ cost: {
9185
+ input: 0.04,
9186
+ output: 0.04,
9187
+ cacheRead: 0,
9188
+ cacheWrite: 0,
9189
+ },
9190
+ contextWindow: 128000,
9191
+ maxTokens: 4000,
9192
+ },
9193
+ "mistral/ministral-8b": {
9194
+ id: "mistral/ministral-8b",
9195
+ name: "Ministral 8B",
9196
+ api: "anthropic-messages",
9197
+ provider: "vercel-ai-gateway",
9198
+ baseUrl: "https://ai-gateway.vercel.sh",
9199
+ reasoning: false,
9200
+ input: ["text"],
9201
+ cost: {
9202
+ input: 0.09999999999999999,
9203
+ output: 0.09999999999999999,
9204
+ cacheRead: 0,
9205
+ cacheWrite: 0,
9206
+ },
9207
+ contextWindow: 128000,
9208
+ maxTokens: 4000,
9209
+ },
9210
+ "mistral/mistral-medium": {
9211
+ id: "mistral/mistral-medium",
9212
+ name: "Mistral Medium 3.1",
9213
+ api: "anthropic-messages",
9214
+ provider: "vercel-ai-gateway",
9215
+ baseUrl: "https://ai-gateway.vercel.sh",
9216
+ reasoning: false,
9217
+ input: ["text", "image"],
9218
+ cost: {
9219
+ input: 0.39999999999999997,
9220
+ output: 2,
9221
+ cacheRead: 0,
9222
+ cacheWrite: 0,
9223
+ },
9224
+ contextWindow: 128000,
9225
+ maxTokens: 64000,
9226
+ },
9227
+ "mistral/mistral-nemo": {
9228
+ id: "mistral/mistral-nemo",
9229
+ name: "Mistral Nemo",
9230
+ api: "anthropic-messages",
9231
+ provider: "vercel-ai-gateway",
9232
+ baseUrl: "https://ai-gateway.vercel.sh",
9233
+ reasoning: false,
9234
+ input: ["text"],
9235
+ cost: {
9236
+ input: 0.04,
9237
+ output: 0.16999999999999998,
9238
+ cacheRead: 0,
9239
+ cacheWrite: 0,
9240
+ },
9241
+ contextWindow: 60288,
9242
+ maxTokens: 16000,
9243
+ },
9244
+ "mistral/mistral-small": {
9245
+ id: "mistral/mistral-small",
9246
+ name: "Mistral Small",
9247
+ api: "anthropic-messages",
9248
+ provider: "vercel-ai-gateway",
9249
+ baseUrl: "https://ai-gateway.vercel.sh",
9250
+ reasoning: false,
9251
+ input: ["text", "image"],
9252
+ cost: {
9253
+ input: 0.09999999999999999,
9254
+ output: 0.3,
9255
+ cacheRead: 0,
9256
+ cacheWrite: 0,
9257
+ },
9258
+ contextWindow: 32000,
9259
+ maxTokens: 4000,
9260
+ },
9261
+ "mistral/pixtral-12b": {
9262
+ id: "mistral/pixtral-12b",
9263
+ name: "Pixtral 12B 2409",
9264
+ api: "anthropic-messages",
9265
+ provider: "vercel-ai-gateway",
9266
+ baseUrl: "https://ai-gateway.vercel.sh",
9267
+ reasoning: false,
9268
+ input: ["text", "image"],
9269
+ cost: {
9270
+ input: 0.15,
9271
+ output: 0.15,
9272
+ cacheRead: 0,
9273
+ cacheWrite: 0,
9274
+ },
9275
+ contextWindow: 128000,
9276
+ maxTokens: 4000,
9277
+ },
9278
+ "mistral/pixtral-large": {
9279
+ id: "mistral/pixtral-large",
9280
+ name: "Pixtral Large",
9281
+ api: "anthropic-messages",
9282
+ provider: "vercel-ai-gateway",
9283
+ baseUrl: "https://ai-gateway.vercel.sh",
9284
+ reasoning: false,
9285
+ input: ["text", "image"],
9286
+ cost: {
9287
+ input: 2,
9288
+ output: 6,
9289
+ cacheRead: 0,
9290
+ cacheWrite: 0,
9291
+ },
9292
+ contextWindow: 128000,
9293
+ maxTokens: 4000,
9294
+ },
9295
+ "moonshotai/kimi-k2": {
9296
+ id: "moonshotai/kimi-k2",
9297
+ name: "Kimi K2",
9298
+ api: "anthropic-messages",
9299
+ provider: "vercel-ai-gateway",
9300
+ baseUrl: "https://ai-gateway.vercel.sh",
9301
+ reasoning: false,
9302
+ input: ["text"],
9303
+ cost: {
9304
+ input: 0.5,
9305
+ output: 2,
9306
+ cacheRead: 0,
9307
+ cacheWrite: 0,
9308
+ },
9309
+ contextWindow: 131072,
9310
+ maxTokens: 16384,
9311
+ },
9312
+ "moonshotai/kimi-k2-thinking": {
9313
+ id: "moonshotai/kimi-k2-thinking",
9314
+ name: "Kimi K2 Thinking",
9315
+ api: "anthropic-messages",
9316
+ provider: "vercel-ai-gateway",
9317
+ baseUrl: "https://ai-gateway.vercel.sh",
9318
+ reasoning: true,
9319
+ input: ["text"],
9320
+ cost: {
9321
+ input: 0.47,
9322
+ output: 2,
9323
+ cacheRead: 0.14100000000000001,
9324
+ cacheWrite: 0,
9325
+ },
9326
+ contextWindow: 216144,
9327
+ maxTokens: 216144,
9328
+ },
9329
+ "moonshotai/kimi-k2-thinking-turbo": {
9330
+ id: "moonshotai/kimi-k2-thinking-turbo",
9331
+ name: "Kimi K2 Thinking Turbo",
9332
+ api: "anthropic-messages",
9333
+ provider: "vercel-ai-gateway",
9334
+ baseUrl: "https://ai-gateway.vercel.sh",
9335
+ reasoning: true,
9336
+ input: ["text"],
9337
+ cost: {
9338
+ input: 1.15,
9339
+ output: 8,
9340
+ cacheRead: 0.15,
9341
+ cacheWrite: 0,
9342
+ },
9343
+ contextWindow: 262114,
9344
+ maxTokens: 262114,
9345
+ },
9346
+ "moonshotai/kimi-k2-turbo": {
9347
+ id: "moonshotai/kimi-k2-turbo",
9348
+ name: "Kimi K2 Turbo",
9349
+ api: "anthropic-messages",
9350
+ provider: "vercel-ai-gateway",
9351
+ baseUrl: "https://ai-gateway.vercel.sh",
9352
+ reasoning: false,
9353
+ input: ["text"],
9354
+ cost: {
9355
+ input: 2.4,
9356
+ output: 10,
9357
+ cacheRead: 0,
9358
+ cacheWrite: 0,
9359
+ },
9360
+ contextWindow: 256000,
9361
+ maxTokens: 16384,
9362
+ },
9363
+ "nvidia/nemotron-nano-12b-v2-vl": {
9364
+ id: "nvidia/nemotron-nano-12b-v2-vl",
9365
+ name: "Nvidia Nemotron Nano 12B V2 VL",
9366
+ api: "anthropic-messages",
9367
+ provider: "vercel-ai-gateway",
9368
+ baseUrl: "https://ai-gateway.vercel.sh",
9369
+ reasoning: true,
9370
+ input: ["text", "image"],
9371
+ cost: {
9372
+ input: 0.19999999999999998,
9373
+ output: 0.6,
9374
+ cacheRead: 0,
9375
+ cacheWrite: 0,
9376
+ },
9377
+ contextWindow: 131072,
9378
+ maxTokens: 131072,
9379
+ },
9380
+ "nvidia/nemotron-nano-9b-v2": {
9381
+ id: "nvidia/nemotron-nano-9b-v2",
9382
+ name: "Nvidia Nemotron Nano 9B V2",
9383
+ api: "anthropic-messages",
9384
+ provider: "vercel-ai-gateway",
9385
+ baseUrl: "https://ai-gateway.vercel.sh",
9386
+ reasoning: true,
9387
+ input: ["text"],
9388
+ cost: {
9389
+ input: 0.04,
9390
+ output: 0.16,
9391
+ cacheRead: 0,
9392
+ cacheWrite: 0,
9393
+ },
9394
+ contextWindow: 131072,
9395
+ maxTokens: 131072,
9396
+ },
9397
+ "openai/codex-mini": {
9398
+ id: "openai/codex-mini",
9399
+ name: "Codex Mini",
9400
+ api: "anthropic-messages",
9401
+ provider: "vercel-ai-gateway",
9402
+ baseUrl: "https://ai-gateway.vercel.sh",
9403
+ reasoning: true,
9404
+ input: ["text", "image"],
9405
+ cost: {
9406
+ input: 1.5,
9407
+ output: 6,
9408
+ cacheRead: 0.375,
9409
+ cacheWrite: 0,
9410
+ },
9411
+ contextWindow: 200000,
9412
+ maxTokens: 100000,
9413
+ },
9414
+ "openai/gpt-4-turbo": {
9415
+ id: "openai/gpt-4-turbo",
9416
+ name: "GPT-4 Turbo",
9417
+ api: "anthropic-messages",
9418
+ provider: "vercel-ai-gateway",
9419
+ baseUrl: "https://ai-gateway.vercel.sh",
9420
+ reasoning: false,
9421
+ input: ["text", "image"],
9422
+ cost: {
9423
+ input: 10,
9424
+ output: 30,
9425
+ cacheRead: 0,
9426
+ cacheWrite: 0,
9427
+ },
9428
+ contextWindow: 128000,
9429
+ maxTokens: 4096,
9430
+ },
9431
+ "openai/gpt-4.1": {
9432
+ id: "openai/gpt-4.1",
9433
+ name: "GPT-4.1",
9434
+ api: "anthropic-messages",
9435
+ provider: "vercel-ai-gateway",
9436
+ baseUrl: "https://ai-gateway.vercel.sh",
9437
+ reasoning: false,
9438
+ input: ["text", "image"],
9439
+ cost: {
9440
+ input: 2,
9441
+ output: 8,
9442
+ cacheRead: 0.5,
9443
+ cacheWrite: 0,
9444
+ },
9445
+ contextWindow: 1047576,
9446
+ maxTokens: 32768,
9447
+ },
9448
+ "openai/gpt-4.1-mini": {
9449
+ id: "openai/gpt-4.1-mini",
9450
+ name: "GPT-4.1 mini",
9451
+ api: "anthropic-messages",
9452
+ provider: "vercel-ai-gateway",
9453
+ baseUrl: "https://ai-gateway.vercel.sh",
9454
+ reasoning: false,
9455
+ input: ["text", "image"],
9456
+ cost: {
9457
+ input: 0.39999999999999997,
9458
+ output: 1.5999999999999999,
9459
+ cacheRead: 0.09999999999999999,
9460
+ cacheWrite: 0,
9461
+ },
9462
+ contextWindow: 1047576,
9463
+ maxTokens: 32768,
9464
+ },
9465
+ "openai/gpt-4.1-nano": {
9466
+ id: "openai/gpt-4.1-nano",
9467
+ name: "GPT-4.1 nano",
9468
+ api: "anthropic-messages",
9469
+ provider: "vercel-ai-gateway",
9470
+ baseUrl: "https://ai-gateway.vercel.sh",
9471
+ reasoning: false,
9472
+ input: ["text", "image"],
9473
+ cost: {
9474
+ input: 0.09999999999999999,
9475
+ output: 0.39999999999999997,
9476
+ cacheRead: 0.024999999999999998,
9477
+ cacheWrite: 0,
9478
+ },
9479
+ contextWindow: 1047576,
9480
+ maxTokens: 32768,
9481
+ },
9482
+ "openai/gpt-4o": {
9483
+ id: "openai/gpt-4o",
9484
+ name: "GPT-4o",
9485
+ api: "anthropic-messages",
9486
+ provider: "vercel-ai-gateway",
9487
+ baseUrl: "https://ai-gateway.vercel.sh",
9488
+ reasoning: false,
9489
+ input: ["text", "image"],
9490
+ cost: {
9491
+ input: 2.5,
9492
+ output: 10,
9493
+ cacheRead: 1.25,
9494
+ cacheWrite: 0,
9495
+ },
9496
+ contextWindow: 128000,
9497
+ maxTokens: 16384,
9498
+ },
9499
+ "openai/gpt-4o-mini": {
9500
+ id: "openai/gpt-4o-mini",
9501
+ name: "GPT-4o mini",
9502
+ api: "anthropic-messages",
9503
+ provider: "vercel-ai-gateway",
9504
+ baseUrl: "https://ai-gateway.vercel.sh",
9505
+ reasoning: false,
9506
+ input: ["text", "image"],
9507
+ cost: {
9508
+ input: 0.15,
9509
+ output: 0.6,
9510
+ cacheRead: 0.075,
9511
+ cacheWrite: 0,
9512
+ },
9513
+ contextWindow: 128000,
9514
+ maxTokens: 16384,
9515
+ },
9516
+ "openai/gpt-5": {
9517
+ id: "openai/gpt-5",
9518
+ name: "GPT-5",
9519
+ api: "anthropic-messages",
9520
+ provider: "vercel-ai-gateway",
9521
+ baseUrl: "https://ai-gateway.vercel.sh",
9522
+ reasoning: true,
9523
+ input: ["text", "image"],
9524
+ cost: {
9525
+ input: 1.25,
9526
+ output: 10,
9527
+ cacheRead: 0.13,
9528
+ cacheWrite: 0,
9529
+ },
9530
+ contextWindow: 400000,
9531
+ maxTokens: 128000,
9532
+ },
9533
+ "openai/gpt-5-chat": {
9534
+ id: "openai/gpt-5-chat",
9535
+ name: "GPT-5 Chat",
9536
+ api: "anthropic-messages",
9537
+ provider: "vercel-ai-gateway",
9538
+ baseUrl: "https://ai-gateway.vercel.sh",
9539
+ reasoning: true,
9540
+ input: ["text", "image"],
9541
+ cost: {
9542
+ input: 1.25,
9543
+ output: 10,
9544
+ cacheRead: 0.125,
9545
+ cacheWrite: 0,
9546
+ },
9547
+ contextWindow: 128000,
9548
+ maxTokens: 16384,
9549
+ },
9550
+ "openai/gpt-5-codex": {
9551
+ id: "openai/gpt-5-codex",
9552
+ name: "GPT-5-Codex",
9553
+ api: "anthropic-messages",
9554
+ provider: "vercel-ai-gateway",
9555
+ baseUrl: "https://ai-gateway.vercel.sh",
9556
+ reasoning: true,
9557
+ input: ["text", "image"],
9558
+ cost: {
9559
+ input: 1.25,
9560
+ output: 10,
9561
+ cacheRead: 0.13,
9562
+ cacheWrite: 0,
9563
+ },
9564
+ contextWindow: 400000,
9565
+ maxTokens: 128000,
9566
+ },
9567
+ "openai/gpt-5-mini": {
9568
+ id: "openai/gpt-5-mini",
9569
+ name: "GPT-5 mini",
9570
+ api: "anthropic-messages",
9571
+ provider: "vercel-ai-gateway",
9572
+ baseUrl: "https://ai-gateway.vercel.sh",
9573
+ reasoning: true,
9574
+ input: ["text", "image"],
9575
+ cost: {
9576
+ input: 0.25,
9577
+ output: 2,
9578
+ cacheRead: 0.03,
9579
+ cacheWrite: 0,
9580
+ },
9581
+ contextWindow: 400000,
9582
+ maxTokens: 128000,
9583
+ },
9584
+ "openai/gpt-5-nano": {
9585
+ id: "openai/gpt-5-nano",
9586
+ name: "GPT-5 nano",
9587
+ api: "anthropic-messages",
9588
+ provider: "vercel-ai-gateway",
9589
+ baseUrl: "https://ai-gateway.vercel.sh",
9590
+ reasoning: true,
9591
+ input: ["text", "image"],
9592
+ cost: {
9593
+ input: 0.049999999999999996,
9594
+ output: 0.39999999999999997,
9595
+ cacheRead: 0.01,
9596
+ cacheWrite: 0,
9597
+ },
9598
+ contextWindow: 400000,
9599
+ maxTokens: 128000,
9600
+ },
9601
+ "openai/gpt-5-pro": {
9602
+ id: "openai/gpt-5-pro",
9603
+ name: "GPT-5 pro",
9604
+ api: "anthropic-messages",
9605
+ provider: "vercel-ai-gateway",
9606
+ baseUrl: "https://ai-gateway.vercel.sh",
9607
+ reasoning: true,
9608
+ input: ["text", "image"],
9609
+ cost: {
9610
+ input: 15,
9611
+ output: 120,
9612
+ cacheRead: 0,
9613
+ cacheWrite: 0,
9614
+ },
9615
+ contextWindow: 400000,
9616
+ maxTokens: 272000,
9617
+ },
9618
+ "openai/gpt-5.1-codex": {
9619
+ id: "openai/gpt-5.1-codex",
9620
+ name: "GPT-5.1-Codex",
9621
+ api: "anthropic-messages",
9622
+ provider: "vercel-ai-gateway",
9623
+ baseUrl: "https://ai-gateway.vercel.sh",
9624
+ reasoning: true,
9625
+ input: ["text", "image"],
9626
+ cost: {
9627
+ input: 1.25,
9628
+ output: 10,
9629
+ cacheRead: 0.125,
9630
+ cacheWrite: 0,
9631
+ },
9632
+ contextWindow: 400000,
9633
+ maxTokens: 128000,
9634
+ },
9635
+ "openai/gpt-5.1-codex-max": {
9636
+ id: "openai/gpt-5.1-codex-max",
9637
+ name: "GPT 5.1 Codex Max",
9638
+ api: "anthropic-messages",
9639
+ provider: "vercel-ai-gateway",
9640
+ baseUrl: "https://ai-gateway.vercel.sh",
9641
+ reasoning: true,
9642
+ input: ["text", "image"],
9643
+ cost: {
9644
+ input: 1.25,
9645
+ output: 10,
9646
+ cacheRead: 0.125,
9647
+ cacheWrite: 0,
9648
+ },
9649
+ contextWindow: 400000,
9650
+ maxTokens: 128000,
9651
+ },
9652
+ "openai/gpt-5.1-codex-mini": {
9653
+ id: "openai/gpt-5.1-codex-mini",
9654
+ name: "GPT-5.1 Codex mini",
9655
+ api: "anthropic-messages",
9656
+ provider: "vercel-ai-gateway",
9657
+ baseUrl: "https://ai-gateway.vercel.sh",
9658
+ reasoning: true,
9659
+ input: ["text", "image"],
9660
+ cost: {
9661
+ input: 0.25,
9662
+ output: 2,
9663
+ cacheRead: 0.024999999999999998,
9664
+ cacheWrite: 0,
9665
+ },
9666
+ contextWindow: 400000,
9667
+ maxTokens: 128000,
9668
+ },
9669
+ "openai/gpt-5.1-instant": {
9670
+ id: "openai/gpt-5.1-instant",
9671
+ name: "GPT-5.1 Instant",
9672
+ api: "anthropic-messages",
9673
+ provider: "vercel-ai-gateway",
9674
+ baseUrl: "https://ai-gateway.vercel.sh",
9675
+ reasoning: true,
9676
+ input: ["text", "image"],
9677
+ cost: {
9678
+ input: 1.25,
9679
+ output: 10,
9680
+ cacheRead: 0.125,
9681
+ cacheWrite: 0,
9682
+ },
9683
+ contextWindow: 128000,
9684
+ maxTokens: 16384,
9685
+ },
9686
+ "openai/gpt-5.1-thinking": {
9687
+ id: "openai/gpt-5.1-thinking",
9688
+ name: "GPT 5.1 Thinking",
9689
+ api: "anthropic-messages",
9690
+ provider: "vercel-ai-gateway",
9691
+ baseUrl: "https://ai-gateway.vercel.sh",
9692
+ reasoning: true,
9693
+ input: ["text", "image"],
9694
+ cost: {
9695
+ input: 1.25,
9696
+ output: 10,
9697
+ cacheRead: 0.125,
9698
+ cacheWrite: 0,
9699
+ },
9700
+ contextWindow: 400000,
9701
+ maxTokens: 128000,
9702
+ },
9703
+ "openai/gpt-5.2": {
9704
+ id: "openai/gpt-5.2",
9705
+ name: "GPT-5.2",
9706
+ api: "anthropic-messages",
9707
+ provider: "vercel-ai-gateway",
9708
+ baseUrl: "https://ai-gateway.vercel.sh",
9709
+ reasoning: true,
9710
+ input: ["text", "image"],
9711
+ cost: {
9712
+ input: 1.75,
9713
+ output: 14,
9714
+ cacheRead: 0.175,
9715
+ cacheWrite: 0,
9716
+ },
9717
+ contextWindow: 400000,
9718
+ maxTokens: 128000,
9719
+ },
9720
+ "openai/gpt-5.2-chat": {
9721
+ id: "openai/gpt-5.2-chat",
9722
+ name: "GPT-5.2 Chat",
9723
+ api: "anthropic-messages",
9724
+ provider: "vercel-ai-gateway",
9725
+ baseUrl: "https://ai-gateway.vercel.sh",
9726
+ reasoning: true,
9727
+ input: ["text", "image"],
9728
+ cost: {
9729
+ input: 1.75,
9730
+ output: 14,
9731
+ cacheRead: 0.175,
9732
+ cacheWrite: 0,
9733
+ },
9734
+ contextWindow: 128000,
9735
+ maxTokens: 16384,
9736
+ },
9737
+ "openai/gpt-5.2-pro": {
9738
+ id: "openai/gpt-5.2-pro",
9739
+ name: "GPT 5.2 ",
9740
+ api: "anthropic-messages",
9741
+ provider: "vercel-ai-gateway",
9742
+ baseUrl: "https://ai-gateway.vercel.sh",
9743
+ reasoning: true,
9744
+ input: ["text", "image"],
9745
+ cost: {
9746
+ input: 21,
9747
+ output: 168,
9748
+ cacheRead: 0,
9749
+ cacheWrite: 0,
9750
+ },
9751
+ contextWindow: 400000,
9752
+ maxTokens: 128000,
9753
+ },
9754
+ "openai/gpt-oss-120b": {
9755
+ id: "openai/gpt-oss-120b",
9756
+ name: "gpt-oss-120b",
9757
+ api: "anthropic-messages",
9758
+ provider: "vercel-ai-gateway",
9759
+ baseUrl: "https://ai-gateway.vercel.sh",
9760
+ reasoning: true,
9761
+ input: ["text"],
9762
+ cost: {
9763
+ input: 0.09999999999999999,
9764
+ output: 0.5,
9765
+ cacheRead: 0,
9766
+ cacheWrite: 0,
9767
+ },
9768
+ contextWindow: 131072,
9769
+ maxTokens: 131072,
9770
+ },
9771
+ "openai/gpt-oss-20b": {
9772
+ id: "openai/gpt-oss-20b",
9773
+ name: "gpt-oss-20b",
9774
+ api: "anthropic-messages",
9775
+ provider: "vercel-ai-gateway",
9776
+ baseUrl: "https://ai-gateway.vercel.sh",
9777
+ reasoning: true,
9778
+ input: ["text"],
9779
+ cost: {
9780
+ input: 0.07,
9781
+ output: 0.3,
9782
+ cacheRead: 0,
9783
+ cacheWrite: 0,
9784
+ },
9785
+ contextWindow: 128000,
9786
+ maxTokens: 8192,
9787
+ },
9788
+ "openai/gpt-oss-safeguard-20b": {
9789
+ id: "openai/gpt-oss-safeguard-20b",
9790
+ name: "gpt-oss-safeguard-20b",
9791
+ api: "anthropic-messages",
9792
+ provider: "vercel-ai-gateway",
9793
+ baseUrl: "https://ai-gateway.vercel.sh",
9794
+ reasoning: true,
9795
+ input: ["text"],
9796
+ cost: {
9797
+ input: 0.075,
9798
+ output: 0.3,
9799
+ cacheRead: 0.037,
9800
+ cacheWrite: 0,
9801
+ },
9802
+ contextWindow: 131072,
9803
+ maxTokens: 65536,
9804
+ },
9805
+ "openai/o1": {
9806
+ id: "openai/o1",
9807
+ name: "o1",
9808
+ api: "anthropic-messages",
9809
+ provider: "vercel-ai-gateway",
9810
+ baseUrl: "https://ai-gateway.vercel.sh",
9811
+ reasoning: true,
9812
+ input: ["text", "image"],
9813
+ cost: {
9814
+ input: 15,
9815
+ output: 60,
9816
+ cacheRead: 7.5,
9817
+ cacheWrite: 0,
9818
+ },
9819
+ contextWindow: 200000,
9820
+ maxTokens: 100000,
9821
+ },
9822
+ "openai/o3": {
9823
+ id: "openai/o3",
9824
+ name: "o3",
9825
+ api: "anthropic-messages",
9826
+ provider: "vercel-ai-gateway",
9827
+ baseUrl: "https://ai-gateway.vercel.sh",
9828
+ reasoning: true,
9829
+ input: ["text", "image"],
9830
+ cost: {
9831
+ input: 2,
9832
+ output: 8,
9833
+ cacheRead: 0.5,
9834
+ cacheWrite: 0,
9835
+ },
9836
+ contextWindow: 200000,
9837
+ maxTokens: 100000,
9838
+ },
9839
+ "openai/o3-deep-research": {
9840
+ id: "openai/o3-deep-research",
9841
+ name: "o3-deep-research",
9842
+ api: "anthropic-messages",
9843
+ provider: "vercel-ai-gateway",
9844
+ baseUrl: "https://ai-gateway.vercel.sh",
9845
+ reasoning: true,
9846
+ input: ["text", "image"],
9847
+ cost: {
9848
+ input: 10,
9849
+ output: 40,
9850
+ cacheRead: 2.5,
9851
+ cacheWrite: 0,
9852
+ },
9853
+ contextWindow: 200000,
9854
+ maxTokens: 100000,
9855
+ },
9856
+ "openai/o3-mini": {
9857
+ id: "openai/o3-mini",
9858
+ name: "o3-mini",
9859
+ api: "anthropic-messages",
9860
+ provider: "vercel-ai-gateway",
9861
+ baseUrl: "https://ai-gateway.vercel.sh",
9862
+ reasoning: true,
9863
+ input: ["text"],
9864
+ cost: {
9865
+ input: 1.1,
9866
+ output: 4.4,
9867
+ cacheRead: 0.55,
9868
+ cacheWrite: 0,
9869
+ },
9870
+ contextWindow: 200000,
9871
+ maxTokens: 100000,
9872
+ },
9873
+ "openai/o3-pro": {
9874
+ id: "openai/o3-pro",
9875
+ name: "o3 Pro",
9876
+ api: "anthropic-messages",
9877
+ provider: "vercel-ai-gateway",
9878
+ baseUrl: "https://ai-gateway.vercel.sh",
9879
+ reasoning: true,
9880
+ input: ["text", "image"],
9881
+ cost: {
9882
+ input: 20,
9883
+ output: 80,
9884
+ cacheRead: 0,
9885
+ cacheWrite: 0,
9886
+ },
9887
+ contextWindow: 200000,
9888
+ maxTokens: 100000,
9889
+ },
9890
+ "openai/o4-mini": {
9891
+ id: "openai/o4-mini",
9892
+ name: "o4-mini",
9893
+ api: "anthropic-messages",
9894
+ provider: "vercel-ai-gateway",
9895
+ baseUrl: "https://ai-gateway.vercel.sh",
9896
+ reasoning: true,
9897
+ input: ["text", "image"],
9898
+ cost: {
9899
+ input: 1.1,
9900
+ output: 4.4,
9901
+ cacheRead: 0.275,
9902
+ cacheWrite: 0,
9903
+ },
9904
+ contextWindow: 200000,
9905
+ maxTokens: 100000,
9906
+ },
9907
+ "perplexity/sonar": {
9908
+ id: "perplexity/sonar",
9909
+ name: "Sonar",
9910
+ api: "anthropic-messages",
9911
+ provider: "vercel-ai-gateway",
9912
+ baseUrl: "https://ai-gateway.vercel.sh",
9913
+ reasoning: false,
9914
+ input: ["text", "image"],
9915
+ cost: {
9916
+ input: 1,
9917
+ output: 1,
9918
+ cacheRead: 0,
9919
+ cacheWrite: 0,
9920
+ },
9921
+ contextWindow: 127000,
9922
+ maxTokens: 8000,
9923
+ },
9924
+ "perplexity/sonar-pro": {
9925
+ id: "perplexity/sonar-pro",
9926
+ name: "Sonar Pro",
9927
+ api: "anthropic-messages",
9928
+ provider: "vercel-ai-gateway",
9929
+ baseUrl: "https://ai-gateway.vercel.sh",
9930
+ reasoning: false,
9931
+ input: ["text", "image"],
9932
+ cost: {
9933
+ input: 3,
9934
+ output: 15,
9935
+ cacheRead: 0,
9936
+ cacheWrite: 0,
9937
+ },
9938
+ contextWindow: 200000,
9939
+ maxTokens: 8000,
9940
+ },
9941
+ "prime-intellect/intellect-3": {
9942
+ id: "prime-intellect/intellect-3",
9943
+ name: "INTELLECT 3",
9944
+ api: "anthropic-messages",
9945
+ provider: "vercel-ai-gateway",
9946
+ baseUrl: "https://ai-gateway.vercel.sh",
9947
+ reasoning: true,
9948
+ input: ["text"],
9949
+ cost: {
9950
+ input: 0.19999999999999998,
9951
+ output: 1.1,
9952
+ cacheRead: 0,
9953
+ cacheWrite: 0,
9954
+ },
9955
+ contextWindow: 131072,
9956
+ maxTokens: 131072,
9957
+ },
9958
+ "stealth/sonoma-dusk-alpha": {
9959
+ id: "stealth/sonoma-dusk-alpha",
9960
+ name: "Sonoma Dusk Alpha",
9961
+ api: "anthropic-messages",
9962
+ provider: "vercel-ai-gateway",
9963
+ baseUrl: "https://ai-gateway.vercel.sh",
9964
+ reasoning: false,
9965
+ input: ["text", "image"],
9966
+ cost: {
9967
+ input: 0.19999999999999998,
9968
+ output: 0.5,
9969
+ cacheRead: 0.049999999999999996,
9970
+ cacheWrite: 0,
9971
+ },
9972
+ contextWindow: 2000000,
9973
+ maxTokens: 131072,
9974
+ },
9975
+ "stealth/sonoma-sky-alpha": {
9976
+ id: "stealth/sonoma-sky-alpha",
9977
+ name: "Sonoma Sky Alpha",
9978
+ api: "anthropic-messages",
9979
+ provider: "vercel-ai-gateway",
9980
+ baseUrl: "https://ai-gateway.vercel.sh",
9981
+ reasoning: false,
9982
+ input: ["text", "image"],
9983
+ cost: {
9984
+ input: 0.19999999999999998,
9985
+ output: 0.5,
9986
+ cacheRead: 0.049999999999999996,
9987
+ cacheWrite: 0,
9988
+ },
9989
+ contextWindow: 2000000,
9990
+ maxTokens: 131072,
9991
+ },
9992
+ "vercel/v0-1.0-md": {
9993
+ id: "vercel/v0-1.0-md",
9994
+ name: "v0-1.0-md",
9995
+ api: "anthropic-messages",
9996
+ provider: "vercel-ai-gateway",
9997
+ baseUrl: "https://ai-gateway.vercel.sh",
9998
+ reasoning: false,
9999
+ input: ["text", "image"],
10000
+ cost: {
10001
+ input: 3,
10002
+ output: 15,
10003
+ cacheRead: 0,
10004
+ cacheWrite: 0,
10005
+ },
10006
+ contextWindow: 128000,
10007
+ maxTokens: 32000,
10008
+ },
10009
+ "vercel/v0-1.5-md": {
10010
+ id: "vercel/v0-1.5-md",
10011
+ name: "v0-1.5-md",
10012
+ api: "anthropic-messages",
10013
+ provider: "vercel-ai-gateway",
10014
+ baseUrl: "https://ai-gateway.vercel.sh",
10015
+ reasoning: false,
10016
+ input: ["text", "image"],
10017
+ cost: {
10018
+ input: 3,
10019
+ output: 15,
10020
+ cacheRead: 0,
10021
+ cacheWrite: 0,
10022
+ },
10023
+ contextWindow: 128000,
10024
+ maxTokens: 32768,
10025
+ },
10026
+ "xai/grok-2-vision": {
10027
+ id: "xai/grok-2-vision",
10028
+ name: "Grok 2 Vision",
10029
+ api: "anthropic-messages",
10030
+ provider: "vercel-ai-gateway",
10031
+ baseUrl: "https://ai-gateway.vercel.sh",
10032
+ reasoning: false,
10033
+ input: ["text", "image"],
10034
+ cost: {
10035
+ input: 2,
10036
+ output: 10,
10037
+ cacheRead: 0,
10038
+ cacheWrite: 0,
10039
+ },
10040
+ contextWindow: 32768,
10041
+ maxTokens: 32768,
10042
+ },
10043
+ "xai/grok-3": {
10044
+ id: "xai/grok-3",
10045
+ name: "Grok 3 Beta",
10046
+ api: "anthropic-messages",
10047
+ provider: "vercel-ai-gateway",
10048
+ baseUrl: "https://ai-gateway.vercel.sh",
10049
+ reasoning: false,
10050
+ input: ["text"],
10051
+ cost: {
10052
+ input: 3,
10053
+ output: 15,
10054
+ cacheRead: 0,
10055
+ cacheWrite: 0,
10056
+ },
10057
+ contextWindow: 131072,
10058
+ maxTokens: 131072,
10059
+ },
10060
+ "xai/grok-3-fast": {
10061
+ id: "xai/grok-3-fast",
10062
+ name: "Grok 3 Fast Beta",
10063
+ api: "anthropic-messages",
10064
+ provider: "vercel-ai-gateway",
10065
+ baseUrl: "https://ai-gateway.vercel.sh",
10066
+ reasoning: false,
10067
+ input: ["text"],
10068
+ cost: {
10069
+ input: 5,
10070
+ output: 25,
10071
+ cacheRead: 0,
10072
+ cacheWrite: 0,
10073
+ },
10074
+ contextWindow: 131072,
10075
+ maxTokens: 131072,
10076
+ },
10077
+ "xai/grok-3-mini": {
10078
+ id: "xai/grok-3-mini",
10079
+ name: "Grok 3 Mini Beta",
10080
+ api: "anthropic-messages",
10081
+ provider: "vercel-ai-gateway",
10082
+ baseUrl: "https://ai-gateway.vercel.sh",
10083
+ reasoning: false,
10084
+ input: ["text"],
10085
+ cost: {
10086
+ input: 0.3,
10087
+ output: 0.5,
10088
+ cacheRead: 0,
10089
+ cacheWrite: 0,
10090
+ },
10091
+ contextWindow: 131072,
10092
+ maxTokens: 131072,
10093
+ },
10094
+ "xai/grok-3-mini-fast": {
10095
+ id: "xai/grok-3-mini-fast",
10096
+ name: "Grok 3 Mini Fast Beta",
10097
+ api: "anthropic-messages",
10098
+ provider: "vercel-ai-gateway",
10099
+ baseUrl: "https://ai-gateway.vercel.sh",
10100
+ reasoning: false,
10101
+ input: ["text"],
10102
+ cost: {
10103
+ input: 0.6,
10104
+ output: 4,
10105
+ cacheRead: 0,
10106
+ cacheWrite: 0,
10107
+ },
10108
+ contextWindow: 131072,
10109
+ maxTokens: 131072,
10110
+ },
10111
+ "xai/grok-4": {
10112
+ id: "xai/grok-4",
10113
+ name: "Grok 4",
10114
+ api: "anthropic-messages",
10115
+ provider: "vercel-ai-gateway",
10116
+ baseUrl: "https://ai-gateway.vercel.sh",
10117
+ reasoning: true,
10118
+ input: ["text", "image"],
10119
+ cost: {
10120
+ input: 3,
10121
+ output: 15,
10122
+ cacheRead: 0,
10123
+ cacheWrite: 0,
10124
+ },
10125
+ contextWindow: 256000,
10126
+ maxTokens: 256000,
10127
+ },
10128
+ "xai/grok-4-fast-non-reasoning": {
10129
+ id: "xai/grok-4-fast-non-reasoning",
10130
+ name: "Grok 4 Fast Non-Reasoning",
10131
+ api: "anthropic-messages",
10132
+ provider: "vercel-ai-gateway",
10133
+ baseUrl: "https://ai-gateway.vercel.sh",
10134
+ reasoning: false,
10135
+ input: ["text"],
10136
+ cost: {
10137
+ input: 0.19999999999999998,
10138
+ output: 0.5,
10139
+ cacheRead: 0.049999999999999996,
10140
+ cacheWrite: 0,
10141
+ },
10142
+ contextWindow: 2000000,
10143
+ maxTokens: 256000,
10144
+ },
10145
+ "xai/grok-4-fast-reasoning": {
10146
+ id: "xai/grok-4-fast-reasoning",
10147
+ name: "Grok 4 Fast Reasoning",
10148
+ api: "anthropic-messages",
10149
+ provider: "vercel-ai-gateway",
10150
+ baseUrl: "https://ai-gateway.vercel.sh",
10151
+ reasoning: true,
10152
+ input: ["text"],
10153
+ cost: {
10154
+ input: 0.19999999999999998,
10155
+ output: 0.5,
10156
+ cacheRead: 0.049999999999999996,
10157
+ cacheWrite: 0,
10158
+ },
10159
+ contextWindow: 2000000,
10160
+ maxTokens: 256000,
10161
+ },
10162
+ "xai/grok-4.1-fast-non-reasoning": {
10163
+ id: "xai/grok-4.1-fast-non-reasoning",
10164
+ name: "Grok 4.1 Fast Non-Reasoning",
10165
+ api: "anthropic-messages",
10166
+ provider: "vercel-ai-gateway",
10167
+ baseUrl: "https://ai-gateway.vercel.sh",
10168
+ reasoning: false,
10169
+ input: ["text"],
10170
+ cost: {
10171
+ input: 0.19999999999999998,
10172
+ output: 0.5,
10173
+ cacheRead: 0.049999999999999996,
10174
+ cacheWrite: 0,
10175
+ },
10176
+ contextWindow: 2000000,
10177
+ maxTokens: 30000,
10178
+ },
10179
+ "xai/grok-4.1-fast-reasoning": {
10180
+ id: "xai/grok-4.1-fast-reasoning",
10181
+ name: "Grok 4.1 Fast Reasoning",
10182
+ api: "anthropic-messages",
10183
+ provider: "vercel-ai-gateway",
10184
+ baseUrl: "https://ai-gateway.vercel.sh",
10185
+ reasoning: true,
10186
+ input: ["text"],
10187
+ cost: {
10188
+ input: 0.19999999999999998,
10189
+ output: 0.5,
10190
+ cacheRead: 0.049999999999999996,
10191
+ cacheWrite: 0,
10192
+ },
10193
+ contextWindow: 2000000,
10194
+ maxTokens: 30000,
10195
+ },
10196
+ "xai/grok-code-fast-1": {
10197
+ id: "xai/grok-code-fast-1",
10198
+ name: "Grok Code Fast 1",
10199
+ api: "anthropic-messages",
10200
+ provider: "vercel-ai-gateway",
10201
+ baseUrl: "https://ai-gateway.vercel.sh",
10202
+ reasoning: true,
10203
+ input: ["text"],
10204
+ cost: {
10205
+ input: 0.19999999999999998,
10206
+ output: 1.5,
10207
+ cacheRead: 0.02,
10208
+ cacheWrite: 0,
10209
+ },
10210
+ contextWindow: 256000,
10211
+ maxTokens: 256000,
10212
+ },
10213
+ "xiaomi/mimo-v2-flash": {
10214
+ id: "xiaomi/mimo-v2-flash",
10215
+ name: "MiMo V2 Flash",
10216
+ api: "anthropic-messages",
10217
+ provider: "vercel-ai-gateway",
10218
+ baseUrl: "https://ai-gateway.vercel.sh",
10219
+ reasoning: true,
10220
+ input: ["text"],
10221
+ cost: {
10222
+ input: 0.098,
10223
+ output: 0.293,
10224
+ cacheRead: 0,
10225
+ cacheWrite: 0,
10226
+ },
10227
+ contextWindow: 262144,
10228
+ maxTokens: 32000,
10229
+ },
10230
+ "zai/glm-4.5": {
10231
+ id: "zai/glm-4.5",
10232
+ name: "GLM-4.5",
10233
+ api: "anthropic-messages",
10234
+ provider: "vercel-ai-gateway",
10235
+ baseUrl: "https://ai-gateway.vercel.sh",
10236
+ reasoning: true,
10237
+ input: ["text"],
10238
+ cost: {
10239
+ input: 0.6,
10240
+ output: 2.2,
10241
+ cacheRead: 0,
10242
+ cacheWrite: 0,
10243
+ },
10244
+ contextWindow: 131072,
10245
+ maxTokens: 131072,
10246
+ },
10247
+ "zai/glm-4.5-air": {
10248
+ id: "zai/glm-4.5-air",
10249
+ name: "GLM 4.5 Air",
10250
+ api: "anthropic-messages",
10251
+ provider: "vercel-ai-gateway",
10252
+ baseUrl: "https://ai-gateway.vercel.sh",
10253
+ reasoning: true,
10254
+ input: ["text"],
10255
+ cost: {
10256
+ input: 0.19999999999999998,
10257
+ output: 1.1,
10258
+ cacheRead: 0,
10259
+ cacheWrite: 0,
10260
+ },
10261
+ contextWindow: 128000,
10262
+ maxTokens: 96000,
10263
+ },
10264
+ "zai/glm-4.5v": {
10265
+ id: "zai/glm-4.5v",
10266
+ name: "GLM 4.5V",
10267
+ api: "anthropic-messages",
10268
+ provider: "vercel-ai-gateway",
10269
+ baseUrl: "https://ai-gateway.vercel.sh",
10270
+ reasoning: true,
10271
+ input: ["text", "image"],
10272
+ cost: {
10273
+ input: 0.6,
10274
+ output: 1.7999999999999998,
10275
+ cacheRead: 0,
10276
+ cacheWrite: 0,
10277
+ },
10278
+ contextWindow: 65536,
10279
+ maxTokens: 66000,
10280
+ },
10281
+ "zai/glm-4.6": {
10282
+ id: "zai/glm-4.6",
10283
+ name: "GLM 4.6",
10284
+ api: "anthropic-messages",
10285
+ provider: "vercel-ai-gateway",
10286
+ baseUrl: "https://ai-gateway.vercel.sh",
10287
+ reasoning: true,
10288
+ input: ["text"],
10289
+ cost: {
10290
+ input: 0.44999999999999996,
10291
+ output: 1.7999999999999998,
10292
+ cacheRead: 0.11,
10293
+ cacheWrite: 0,
10294
+ },
10295
+ contextWindow: 200000,
10296
+ maxTokens: 96000,
10297
+ },
10298
+ "zai/glm-4.6v": {
10299
+ id: "zai/glm-4.6v",
10300
+ name: "GLM-4.6V",
10301
+ api: "anthropic-messages",
10302
+ provider: "vercel-ai-gateway",
10303
+ baseUrl: "https://ai-gateway.vercel.sh",
10304
+ reasoning: true,
10305
+ input: ["text", "image"],
10306
+ cost: {
10307
+ input: 0.3,
10308
+ output: 0.8999999999999999,
10309
+ cacheRead: 0.049999999999999996,
10310
+ cacheWrite: 0,
10311
+ },
10312
+ contextWindow: 128000,
10313
+ maxTokens: 24000,
10314
+ },
10315
+ "zai/glm-4.6v-flash": {
10316
+ id: "zai/glm-4.6v-flash",
10317
+ name: "GLM-4.6V-Flash",
10318
+ api: "anthropic-messages",
10319
+ provider: "vercel-ai-gateway",
10320
+ baseUrl: "https://ai-gateway.vercel.sh",
10321
+ reasoning: true,
10322
+ input: ["text", "image"],
10323
+ cost: {
10324
+ input: 0,
10325
+ output: 0,
10326
+ cacheRead: 0,
10327
+ cacheWrite: 0,
10328
+ },
10329
+ contextWindow: 128000,
10330
+ maxTokens: 24000,
10331
+ },
10332
+ "zai/glm-4.7": {
10333
+ id: "zai/glm-4.7",
10334
+ name: "GLM 4.7",
10335
+ api: "anthropic-messages",
10336
+ provider: "vercel-ai-gateway",
10337
+ baseUrl: "https://ai-gateway.vercel.sh",
10338
+ reasoning: true,
10339
+ input: ["text"],
10340
+ cost: {
10341
+ input: 0.43,
10342
+ output: 1.75,
10343
+ cacheRead: 0.08,
10344
+ cacheWrite: 0,
10345
+ },
10346
+ contextWindow: 202752,
10347
+ maxTokens: 120000,
10348
+ },
10349
+ },
8189
10350
  "xai": {
8190
10351
  "grok-2": {
8191
10352
  id: "grok-2",
@@ -8569,7 +10730,7 @@ export const MODELS = {
8569
10730
  api: "openai-completions",
8570
10731
  provider: "zai",
8571
10732
  baseUrl: "https://api.z.ai/api/coding/paas/v4",
8572
- compat: { "supportsDeveloperRole": false },
10733
+ compat: { "supportsDeveloperRole": false, "thinkingFormat": "zai" },
8573
10734
  reasoning: true,
8574
10735
  input: ["text"],
8575
10736
  cost: {
@@ -8587,7 +10748,7 @@ export const MODELS = {
8587
10748
  api: "openai-completions",
8588
10749
  provider: "zai",
8589
10750
  baseUrl: "https://api.z.ai/api/coding/paas/v4",
8590
- compat: { "supportsDeveloperRole": false },
10751
+ compat: { "supportsDeveloperRole": false, "thinkingFormat": "zai" },
8591
10752
  reasoning: true,
8592
10753
  input: ["text"],
8593
10754
  cost: {
@@ -8605,7 +10766,7 @@ export const MODELS = {
8605
10766
  api: "openai-completions",
8606
10767
  provider: "zai",
8607
10768
  baseUrl: "https://api.z.ai/api/coding/paas/v4",
8608
- compat: { "supportsDeveloperRole": false },
10769
+ compat: { "supportsDeveloperRole": false, "thinkingFormat": "zai" },
8609
10770
  reasoning: true,
8610
10771
  input: ["text"],
8611
10772
  cost: {
@@ -8623,7 +10784,7 @@ export const MODELS = {
8623
10784
  api: "openai-completions",
8624
10785
  provider: "zai",
8625
10786
  baseUrl: "https://api.z.ai/api/coding/paas/v4",
8626
- compat: { "supportsDeveloperRole": false },
10787
+ compat: { "supportsDeveloperRole": false, "thinkingFormat": "zai" },
8627
10788
  reasoning: true,
8628
10789
  input: ["text", "image"],
8629
10790
  cost: {
@@ -8641,7 +10802,7 @@ export const MODELS = {
8641
10802
  api: "openai-completions",
8642
10803
  provider: "zai",
8643
10804
  baseUrl: "https://api.z.ai/api/coding/paas/v4",
8644
- compat: { "supportsDeveloperRole": false },
10805
+ compat: { "supportsDeveloperRole": false, "thinkingFormat": "zai" },
8645
10806
  reasoning: true,
8646
10807
  input: ["text"],
8647
10808
  cost: {
@@ -8659,7 +10820,7 @@ export const MODELS = {
8659
10820
  api: "openai-completions",
8660
10821
  provider: "zai",
8661
10822
  baseUrl: "https://api.z.ai/api/coding/paas/v4",
8662
- compat: { "supportsDeveloperRole": false },
10823
+ compat: { "supportsDeveloperRole": false, "thinkingFormat": "zai" },
8663
10824
  reasoning: true,
8664
10825
  input: ["text", "image"],
8665
10826
  cost: {
@@ -8677,7 +10838,7 @@ export const MODELS = {
8677
10838
  api: "openai-completions",
8678
10839
  provider: "zai",
8679
10840
  baseUrl: "https://api.z.ai/api/coding/paas/v4",
8680
- compat: { "supportsDeveloperRole": false },
10841
+ compat: { "supportsDeveloperRole": false, "thinkingFormat": "zai" },
8681
10842
  reasoning: true,
8682
10843
  input: ["text"],
8683
10844
  cost: {