pi-tokenrouter 1.0.5 → 1.0.6

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 (2) hide show
  1. package/models.generated.ts +224 -175
  2. package/package.json +1 -1
@@ -1,11 +1,11 @@
1
1
  import type { TokenRouterProviderModel } from "./provider-config.js";
2
2
 
3
3
  // Derived from TokenRouter /v1/models and enriched with models.dev, then OpenRouter metadata.
4
- // Generated on 2026-05-07T03:18:45.215Z.
4
+ // Generated on 2026-05-23T05:45:11.536Z.
5
5
  export const TOKENROUTER_MODELS: TokenRouterProviderModel[] = [
6
6
  {
7
7
  "id": "claude-haiku-4-5",
8
- "name": "Claude Haiku 4.5 (latest)",
8
+ "name": "claude-haiku-4-5",
9
9
  "reasoning": true,
10
10
  "input": [
11
11
  "text",
@@ -14,12 +14,29 @@ export const TOKENROUTER_MODELS: TokenRouterProviderModel[] = [
14
14
  "cost": {
15
15
  "input": 1,
16
16
  "output": 5,
17
- "cacheRead": 0.1,
18
- "cacheWrite": 1.25
17
+ "cacheRead": 0,
18
+ "cacheWrite": 0
19
19
  },
20
20
  "contextWindow": 200000,
21
21
  "maxTokens": 64000
22
22
  },
23
+ {
24
+ "id": "google/gemini-3.5-flash",
25
+ "name": "Gemini 3.5 Flash",
26
+ "reasoning": true,
27
+ "input": [
28
+ "text",
29
+ "image"
30
+ ],
31
+ "cost": {
32
+ "input": 1.5,
33
+ "output": 9,
34
+ "cacheRead": 0.15,
35
+ "cacheWrite": 0.08333333333333334
36
+ },
37
+ "contextWindow": 1000000,
38
+ "maxTokens": 64000
39
+ },
23
40
  {
24
41
  "id": "qwen/qwen3.5-9b",
25
42
  "name": "Qwen3.5 9B",
@@ -70,6 +87,22 @@ export const TOKENROUTER_MODELS: TokenRouterProviderModel[] = [
70
87
  "contextWindow": 204800,
71
88
  "maxTokens": 131100
72
89
  },
90
+ {
91
+ "id": "qwen/qwen3.7-max",
92
+ "name": "Qwen3.7 Max",
93
+ "reasoning": true,
94
+ "input": [
95
+ "text"
96
+ ],
97
+ "cost": {
98
+ "input": 2.5,
99
+ "output": 7.5,
100
+ "cacheRead": 0,
101
+ "cacheWrite": 3.125
102
+ },
103
+ "contextWindow": 1000000,
104
+ "maxTokens": 65536
105
+ },
73
106
  {
74
107
  "id": "deepseek/deepseek-v4-pro",
75
108
  "name": "DeepSeek V4 Pro",
@@ -87,21 +120,36 @@ export const TOKENROUTER_MODELS: TokenRouterProviderModel[] = [
87
120
  "maxTokens": 384000
88
121
  },
89
122
  {
90
- "id": "minimax/minimax-m2.7",
91
- "name": "Minimax M2.7",
92
- "reasoning": true,
123
+ "id": "miromind/mirothinker-1-7-deepresearch-mini",
124
+ "name": "miromind/mirothinker-1-7-deepresearch-mini",
125
+ "reasoning": false,
93
126
  "input": [
94
- "text",
95
- "image"
127
+ "text"
96
128
  ],
97
129
  "cost": {
98
- "input": 0.3,
99
- "output": 1.2,
100
- "cacheRead": 0.06,
101
- "cacheWrite": 0.375
130
+ "input": 0,
131
+ "output": 0,
132
+ "cacheRead": 0,
133
+ "cacheWrite": 0
102
134
  },
103
- "contextWindow": 204800,
104
- "maxTokens": 131000
135
+ "contextWindow": 4096,
136
+ "maxTokens": 4096
137
+ },
138
+ {
139
+ "id": "miromind/mirothinker-1-7-deepresearch",
140
+ "name": "miromind/mirothinker-1-7-deepresearch",
141
+ "reasoning": false,
142
+ "input": [
143
+ "text"
144
+ ],
145
+ "cost": {
146
+ "input": 0,
147
+ "output": 0,
148
+ "cacheRead": 0,
149
+ "cacheWrite": 0
150
+ },
151
+ "contextWindow": 4096,
152
+ "maxTokens": 4096
105
153
  },
106
154
  {
107
155
  "id": "qwen/qwen3.5-122b-a10b",
@@ -121,25 +169,25 @@ export const TOKENROUTER_MODELS: TokenRouterProviderModel[] = [
121
169
  "maxTokens": 262144
122
170
  },
123
171
  {
124
- "id": "xiaomi/mimo-v2.5",
125
- "name": "MiMo M2.5",
172
+ "id": "minimax/minimax-m2.7",
173
+ "name": "Minimax M2.7",
126
174
  "reasoning": true,
127
175
  "input": [
128
176
  "text",
129
177
  "image"
130
178
  ],
131
179
  "cost": {
132
- "input": 0.39999999999999997,
133
- "output": 2,
134
- "cacheRead": 0.08,
135
- "cacheWrite": 0
180
+ "input": 0.3,
181
+ "output": 1.2,
182
+ "cacheRead": 0.06,
183
+ "cacheWrite": 0.375
136
184
  },
137
- "contextWindow": 1050000,
138
- "maxTokens": 131100
185
+ "contextWindow": 204800,
186
+ "maxTokens": 131000
139
187
  },
140
188
  {
141
189
  "id": "qwen/qwen3.5-plus-02-15",
142
- "name": "Qwen: Qwen3.5 Plus 2026-02-15",
190
+ "name": "Qwen3.5 Plus 2026-02-15",
143
191
  "reasoning": true,
144
192
  "input": [
145
193
  "text",
@@ -155,37 +203,37 @@ export const TOKENROUTER_MODELS: TokenRouterProviderModel[] = [
155
203
  "maxTokens": 65536
156
204
  },
157
205
  {
158
- "id": "x-ai/grok-4.20-beta",
159
- "name": "Grok 4.20 Beta",
206
+ "id": "xiaomi/mimo-v2.5",
207
+ "name": "MiMo M2.5",
160
208
  "reasoning": true,
161
209
  "input": [
162
210
  "text",
163
211
  "image"
164
212
  ],
165
213
  "cost": {
166
- "input": 2,
167
- "output": 6,
168
- "cacheRead": 0.2,
214
+ "input": 0.39999999999999997,
215
+ "output": 2,
216
+ "cacheRead": 0.08,
169
217
  "cacheWrite": 0
170
218
  },
171
- "contextWindow": 2000000,
172
- "maxTokens": 30000
219
+ "contextWindow": 1050000,
220
+ "maxTokens": 131100
173
221
  },
174
222
  {
175
- "id": "deepseek/deepseek-v3.2",
176
- "name": "DeepSeek V3.2",
177
- "reasoning": true,
223
+ "id": "x-ai/grok-4.20-beta",
224
+ "name": "x-ai/grok-4.20-beta",
225
+ "reasoning": false,
178
226
  "input": [
179
227
  "text"
180
228
  ],
181
229
  "cost": {
182
- "input": 0.27,
183
- "output": 0.4,
184
- "cacheRead": 0.22,
230
+ "input": 0,
231
+ "output": 0,
232
+ "cacheRead": 0,
185
233
  "cacheWrite": 0
186
234
  },
187
- "contextWindow": 163842,
188
- "maxTokens": 8000
235
+ "contextWindow": 4096,
236
+ "maxTokens": 4096
189
237
  },
190
238
  {
191
239
  "id": "openai/gpt-5.2",
@@ -205,21 +253,20 @@ export const TOKENROUTER_MODELS: TokenRouterProviderModel[] = [
205
253
  "maxTokens": 128000
206
254
  },
207
255
  {
208
- "id": "anthropic/claude-opus-4.7",
209
- "name": "Claude Opus 4.7",
256
+ "id": "deepseek/deepseek-v3.2",
257
+ "name": "DeepSeek V3.2",
210
258
  "reasoning": true,
211
259
  "input": [
212
- "text",
213
- "image"
260
+ "text"
214
261
  ],
215
262
  "cost": {
216
- "input": 5,
217
- "output": 25,
218
- "cacheRead": 0.5,
219
- "cacheWrite": 6.25
263
+ "input": 0.27,
264
+ "output": 0.4,
265
+ "cacheRead": 0.22,
266
+ "cacheWrite": 0
220
267
  },
221
- "contextWindow": 1000000,
222
- "maxTokens": 128000
268
+ "contextWindow": 163842,
269
+ "maxTokens": 8000
223
270
  },
224
271
  {
225
272
  "id": "qwen/qwen3.5-35b-a3b",
@@ -232,12 +279,29 @@ export const TOKENROUTER_MODELS: TokenRouterProviderModel[] = [
232
279
  "cost": {
233
280
  "input": 0.25,
234
281
  "output": 1.3,
235
- "cacheRead": 0.049999999999999996,
282
+ "cacheRead": 0,
236
283
  "cacheWrite": 0
237
284
  },
238
285
  "contextWindow": 262144,
239
286
  "maxTokens": 262144
240
287
  },
288
+ {
289
+ "id": "anthropic/claude-opus-4.7",
290
+ "name": "Claude Opus 4.7",
291
+ "reasoning": true,
292
+ "input": [
293
+ "text",
294
+ "image"
295
+ ],
296
+ "cost": {
297
+ "input": 5,
298
+ "output": 25,
299
+ "cacheRead": 0.5,
300
+ "cacheWrite": 6.25
301
+ },
302
+ "contextWindow": 1000000,
303
+ "maxTokens": 128000
304
+ },
241
305
  {
242
306
  "id": "anthropic/claude-sonnet-4.5",
243
307
  "name": "Claude Sonnet 4.5",
@@ -257,7 +321,7 @@ export const TOKENROUTER_MODELS: TokenRouterProviderModel[] = [
257
321
  },
258
322
  {
259
323
  "id": "stepfun/step-3.5-flash",
260
- "name": "StepFun: Step 3.5 Flash",
324
+ "name": "Step 3.5 Flash",
261
325
  "reasoning": true,
262
326
  "input": [
263
327
  "text"
@@ -269,11 +333,11 @@ export const TOKENROUTER_MODELS: TokenRouterProviderModel[] = [
269
333
  "cacheWrite": 0
270
334
  },
271
335
  "contextWindow": 256000,
272
- "maxTokens": 256000
336
+ "maxTokens": 64000
273
337
  },
274
338
  {
275
339
  "id": "google/gemini-3-flash-preview",
276
- "name": "Gemini 3 Flash",
340
+ "name": "Gemini 3 Flash Preview",
277
341
  "reasoning": true,
278
342
  "input": [
279
343
  "text",
@@ -283,26 +347,26 @@ export const TOKENROUTER_MODELS: TokenRouterProviderModel[] = [
283
347
  "input": 0.5,
284
348
  "output": 3,
285
349
  "cacheRead": 0.05,
286
- "cacheWrite": 1
350
+ "cacheWrite": 0.08333333333333334
287
351
  },
288
352
  "contextWindow": 1048576,
289
353
  "maxTokens": 65536
290
354
  },
291
355
  {
292
356
  "id": "z-ai/glm-5-turbo",
293
- "name": "Z.ai: GLM 5 Turbo",
357
+ "name": "GLM 5 Turbo",
294
358
  "reasoning": true,
295
359
  "input": [
296
360
  "text"
297
361
  ],
298
362
  "cost": {
299
- "input": 1.2,
300
- "output": 4,
363
+ "input": 0.88,
364
+ "output": 3.48,
301
365
  "cacheRead": 0.24,
302
366
  "cacheWrite": 0
303
367
  },
304
- "contextWindow": 202752,
305
- "maxTokens": 131072
368
+ "contextWindow": 200000,
369
+ "maxTokens": 128000
306
370
  },
307
371
  {
308
372
  "id": "openai/gpt-5.4-pro",
@@ -323,20 +387,20 @@ export const TOKENROUTER_MODELS: TokenRouterProviderModel[] = [
323
387
  },
324
388
  {
325
389
  "id": "qwen/qwen3.5-397b-a17b",
326
- "name": "Qwen3.5-397B-A17B",
390
+ "name": "Qwen3.5 397B A17B",
327
391
  "reasoning": true,
328
392
  "input": [
329
393
  "text",
330
394
  "image"
331
395
  ],
332
396
  "cost": {
333
- "input": 0,
334
- "output": 0,
335
- "cacheRead": 0.195,
397
+ "input": 0.6,
398
+ "output": 3.6,
399
+ "cacheRead": 0,
336
400
  "cacheWrite": 0
337
401
  },
338
402
  "contextWindow": 262144,
339
- "maxTokens": 8192
403
+ "maxTokens": 262144
340
404
  },
341
405
  {
342
406
  "id": "anthropic/claude-opus-4.5",
@@ -357,7 +421,7 @@ export const TOKENROUTER_MODELS: TokenRouterProviderModel[] = [
357
421
  },
358
422
  {
359
423
  "id": "mistralai/devstral-2512",
360
- "name": "Mistral: Devstral 2 2512",
424
+ "name": "Devstral 2",
361
425
  "reasoning": false,
362
426
  "input": [
363
427
  "text"
@@ -365,11 +429,11 @@ export const TOKENROUTER_MODELS: TokenRouterProviderModel[] = [
365
429
  "cost": {
366
430
  "input": 0.4,
367
431
  "output": 2,
368
- "cacheRead": 0.025,
432
+ "cacheRead": 0.04,
369
433
  "cacheWrite": 0
370
434
  },
371
435
  "contextWindow": 262144,
372
- "maxTokens": 65536
436
+ "maxTokens": 262144
373
437
  },
374
438
  {
375
439
  "id": "anthropic/claude-sonnet-4",
@@ -390,7 +454,7 @@ export const TOKENROUTER_MODELS: TokenRouterProviderModel[] = [
390
454
  },
391
455
  {
392
456
  "id": "x-ai/grok-4.3",
393
- "name": "xAI: Grok 4.3",
457
+ "name": "Grok 4.3",
394
458
  "reasoning": true,
395
459
  "input": [
396
460
  "text",
@@ -403,23 +467,40 @@ export const TOKENROUTER_MODELS: TokenRouterProviderModel[] = [
403
467
  "cacheWrite": 0
404
468
  },
405
469
  "contextWindow": 1000000,
406
- "maxTokens": 4096
470
+ "maxTokens": 1000000
407
471
  },
408
472
  {
409
- "id": "deepseek-v4-flash",
410
- "name": "DeepSeek V4 Flash",
473
+ "id": "anthropic/claude-opus-4.7-fast",
474
+ "name": "Claude Opus 4.7 (Fast)",
475
+ "reasoning": true,
476
+ "input": [
477
+ "text",
478
+ "image"
479
+ ],
480
+ "cost": {
481
+ "input": 30,
482
+ "output": 150,
483
+ "cacheRead": 3,
484
+ "cacheWrite": 37.5
485
+ },
486
+ "contextWindow": 1000000,
487
+ "maxTokens": 128000
488
+ },
489
+ {
490
+ "id": "tencent/hy3-preview",
491
+ "name": "Hy3 preview",
411
492
  "reasoning": true,
412
493
  "input": [
413
494
  "text"
414
495
  ],
415
496
  "cost": {
416
- "input": 0.14,
417
- "output": 0.28,
418
- "cacheRead": 0.028,
497
+ "input": 0.172,
498
+ "output": 0.572,
499
+ "cacheRead": 0.058,
419
500
  "cacheWrite": 0
420
501
  },
421
- "contextWindow": 1000000,
422
- "maxTokens": 384000
502
+ "contextWindow": 256000,
503
+ "maxTokens": 64000
423
504
  },
424
505
  {
425
506
  "id": "z-ai/glm-5.1",
@@ -429,12 +510,12 @@ export const TOKENROUTER_MODELS: TokenRouterProviderModel[] = [
429
510
  "text"
430
511
  ],
431
512
  "cost": {
432
- "input": 0,
433
- "output": 0,
434
- "cacheRead": 0.5249999999999999,
513
+ "input": 0.8781,
514
+ "output": 3.5126,
515
+ "cacheRead": 0.1903,
435
516
  "cacheWrite": 0
436
517
  },
437
- "contextWindow": 131072,
518
+ "contextWindow": 200000,
438
519
  "maxTokens": 131072
439
520
  },
440
521
  {
@@ -506,24 +587,24 @@ export const TOKENROUTER_MODELS: TokenRouterProviderModel[] = [
506
587
  },
507
588
  {
508
589
  "id": "z-ai/glm-4.6v",
509
- "name": "Z.ai: GLM 4.6V",
590
+ "name": "GLM 4.6V",
510
591
  "reasoning": true,
511
592
  "input": [
512
593
  "text",
513
594
  "image"
514
595
  ],
515
596
  "cost": {
516
- "input": 0.3,
517
- "output": 0.9,
518
- "cacheRead": 0.049999999999999996,
597
+ "input": 0.14,
598
+ "output": 0.42,
599
+ "cacheRead": 0.03,
519
600
  "cacheWrite": 0
520
601
  },
521
- "contextWindow": 131072,
522
- "maxTokens": 131072
602
+ "contextWindow": 200000,
603
+ "maxTokens": 64000
523
604
  },
524
605
  {
525
606
  "id": "nvidia/nemotron-3-nano-omni-30b-a3b-reasoning:free",
526
- "name": "NVIDIA: Nemotron 3 Nano Omni (free)",
607
+ "name": "Nemotron 3 Nano Omni (free)",
527
608
  "reasoning": true,
528
609
  "input": [
529
610
  "text",
@@ -556,7 +637,7 @@ export const TOKENROUTER_MODELS: TokenRouterProviderModel[] = [
556
637
  },
557
638
  {
558
639
  "id": "google/gemini-3-pro-image-preview",
559
- "name": "Google: Nano Banana Pro (Gemini 3 Pro Image Preview)",
640
+ "name": "Nano Banana Pro (Gemini 3 Pro Image Preview)",
560
641
  "reasoning": true,
561
642
  "input": [
562
643
  "text",
@@ -565,7 +646,7 @@ export const TOKENROUTER_MODELS: TokenRouterProviderModel[] = [
565
646
  "cost": {
566
647
  "input": 2,
567
648
  "output": 12,
568
- "cacheRead": 0.19999999999999998,
649
+ "cacheRead": 0.2,
569
650
  "cacheWrite": 0.375
570
651
  },
571
652
  "contextWindow": 65536,
@@ -597,9 +678,9 @@ export const TOKENROUTER_MODELS: TokenRouterProviderModel[] = [
597
678
  "image"
598
679
  ],
599
680
  "cost": {
600
- "input": 0,
601
- "output": 0,
602
- "cacheRead": 0.075,
681
+ "input": 0.15,
682
+ "output": 0.6,
683
+ "cacheRead": 0.08,
603
684
  "cacheWrite": 0
604
685
  },
605
686
  "contextWindow": 128000,
@@ -607,19 +688,19 @@ export const TOKENROUTER_MODELS: TokenRouterProviderModel[] = [
607
688
  },
608
689
  {
609
690
  "id": "z-ai/glm-4.6",
610
- "name": "Z.ai: GLM 4.6",
691
+ "name": "GLM 4.6",
611
692
  "reasoning": true,
612
693
  "input": [
613
694
  "text"
614
695
  ],
615
696
  "cost": {
616
- "input": 0.39,
617
- "output": 1.9,
618
- "cacheRead": 0.175,
697
+ "input": 0.35,
698
+ "output": 1.54,
699
+ "cacheRead": 0.07,
619
700
  "cacheWrite": 0
620
701
  },
621
- "contextWindow": 204800,
622
- "maxTokens": 204800
702
+ "contextWindow": 200000,
703
+ "maxTokens": 64000
623
704
  },
624
705
  {
625
706
  "id": "openai/gpt-5.5",
@@ -657,23 +738,23 @@ export const TOKENROUTER_MODELS: TokenRouterProviderModel[] = [
657
738
  },
658
739
  {
659
740
  "id": "z-ai/glm-4.7",
660
- "name": "Z.ai: GLM 4.7",
741
+ "name": "GLM 4.7",
661
742
  "reasoning": true,
662
743
  "input": [
663
744
  "text"
664
745
  ],
665
746
  "cost": {
666
- "input": 0.38,
667
- "output": 1.98,
668
- "cacheRead": 0.2,
747
+ "input": 0.28,
748
+ "output": 1.14,
749
+ "cacheRead": 0.06,
669
750
  "cacheWrite": 0
670
751
  },
671
- "contextWindow": 202752,
672
- "maxTokens": 65535
752
+ "contextWindow": 200000,
753
+ "maxTokens": 64000
673
754
  },
674
755
  {
675
756
  "id": "x-ai/grok-4.1-fast",
676
- "name": "xAI: Grok 4.1 Fast",
757
+ "name": "Grok 4.1 Fast",
677
758
  "reasoning": true,
678
759
  "input": [
679
760
  "text",
@@ -686,39 +767,23 @@ export const TOKENROUTER_MODELS: TokenRouterProviderModel[] = [
686
767
  "cacheWrite": 0
687
768
  },
688
769
  "contextWindow": 2000000,
689
- "maxTokens": 30000
770
+ "maxTokens": 64000
690
771
  },
691
772
  {
692
773
  "id": "qwen/qwen3-coder-next",
693
- "name": "Qwen: Qwen3 Coder Next",
774
+ "name": "Qwen3 Coder Next",
694
775
  "reasoning": false,
695
776
  "input": [
696
777
  "text"
697
778
  ],
698
779
  "cost": {
699
- "input": 0.12,
700
- "output": 0.75,
701
- "cacheRead": 0.035,
780
+ "input": 0.11,
781
+ "output": 0.8,
782
+ "cacheRead": 0.07,
702
783
  "cacheWrite": 0
703
784
  },
704
785
  "contextWindow": 262144,
705
- "maxTokens": 65536
706
- },
707
- {
708
- "id": "deepseek-v3.2",
709
- "name": "DeepSeek-V3.2",
710
- "reasoning": true,
711
- "input": [
712
- "text"
713
- ],
714
- "cost": {
715
- "input": 0.58,
716
- "output": 1.68,
717
- "cacheRead": 0,
718
- "cacheWrite": 0
719
- },
720
- "contextWindow": 128000,
721
- "maxTokens": 128000
786
+ "maxTokens": 262144
722
787
  },
723
788
  {
724
789
  "id": "google/gemini-3.1-pro-preview",
@@ -747,7 +812,7 @@ export const TOKENROUTER_MODELS: TokenRouterProviderModel[] = [
747
812
  "cost": {
748
813
  "input": 0.1,
749
814
  "output": 0.29,
750
- "cacheRead": 0.045,
815
+ "cacheRead": 0.01,
751
816
  "cacheWrite": 0
752
817
  },
753
818
  "contextWindow": 262144,
@@ -762,13 +827,13 @@ export const TOKENROUTER_MODELS: TokenRouterProviderModel[] = [
762
827
  "image"
763
828
  ],
764
829
  "cost": {
765
- "input": 0.95,
766
- "output": 4,
767
- "cacheRead": 0.16,
830
+ "input": 0.7,
831
+ "output": 3.5,
832
+ "cacheRead": 0.2,
768
833
  "cacheWrite": 0
769
834
  },
770
- "contextWindow": 262000,
771
- "maxTokens": 262000
835
+ "contextWindow": 262144,
836
+ "maxTokens": 262144
772
837
  },
773
838
  {
774
839
  "id": "google/gemini-2.5-flash-image",
@@ -787,22 +852,6 @@ export const TOKENROUTER_MODELS: TokenRouterProviderModel[] = [
787
852
  "contextWindow": 32768,
788
853
  "maxTokens": 32768
789
854
  },
790
- {
791
- "id": "deepseek-v4-pro",
792
- "name": "DeepSeek V4 Pro",
793
- "reasoning": true,
794
- "input": [
795
- "text"
796
- ],
797
- "cost": {
798
- "input": 1.74,
799
- "output": 3.48,
800
- "cacheRead": 0.145,
801
- "cacheWrite": 0
802
- },
803
- "contextWindow": 1000000,
804
- "maxTokens": 384000
805
- },
806
855
  {
807
856
  "id": "qwen/qwen3.5-flash",
808
857
  "name": "Qwen3.5 Flash",
@@ -839,19 +888,19 @@ export const TOKENROUTER_MODELS: TokenRouterProviderModel[] = [
839
888
  },
840
889
  {
841
890
  "id": "z-ai/glm-4.5-air",
842
- "name": "Z.ai: GLM 4.5 Air",
891
+ "name": "GLM 4.5 Air",
843
892
  "reasoning": true,
844
893
  "input": [
845
894
  "text"
846
895
  ],
847
896
  "cost": {
848
- "input": 0.13,
849
- "output": 0.85,
850
- "cacheRead": 0.025,
897
+ "input": 0.11,
898
+ "output": 0.56,
899
+ "cacheRead": 0.02,
851
900
  "cacheWrite": 0
852
901
  },
853
- "contextWindow": 131072,
854
- "maxTokens": 98304
902
+ "contextWindow": 128000,
903
+ "maxTokens": 64000
855
904
  },
856
905
  {
857
906
  "id": "minimax/minimax-m2.5",
@@ -871,24 +920,24 @@ export const TOKENROUTER_MODELS: TokenRouterProviderModel[] = [
871
920
  },
872
921
  {
873
922
  "id": "qwen/qwen3.6-plus",
874
- "name": "Qwen: Qwen3.6 Plus",
923
+ "name": "Qwen3.6-Plus",
875
924
  "reasoning": true,
876
925
  "input": [
877
926
  "text",
878
927
  "image"
879
928
  ],
880
929
  "cost": {
881
- "input": 0.325,
882
- "output": 1.95,
883
- "cacheRead": 0.0325,
884
- "cacheWrite": 0.40625
930
+ "input": 0.5,
931
+ "output": 3,
932
+ "cacheRead": 0.05,
933
+ "cacheWrite": 0.625
885
934
  },
886
935
  "contextWindow": 1000000,
887
- "maxTokens": 65536
936
+ "maxTokens": 64000
888
937
  },
889
938
  {
890
939
  "id": "xiaomi/mimo-v2-omni",
891
- "name": "Xiaomi: MiMo-V2-Omni",
940
+ "name": "MiMo V2 Omni",
892
941
  "reasoning": true,
893
942
  "input": [
894
943
  "text",
@@ -900,8 +949,8 @@ export const TOKENROUTER_MODELS: TokenRouterProviderModel[] = [
900
949
  "cacheRead": 0.08,
901
950
  "cacheWrite": 0
902
951
  },
903
- "contextWindow": 262144,
904
- "maxTokens": 65536
952
+ "contextWindow": 265000,
953
+ "maxTokens": 265000
905
954
  },
906
955
  {
907
956
  "id": "openai/gpt-5-mini",
@@ -922,23 +971,23 @@ export const TOKENROUTER_MODELS: TokenRouterProviderModel[] = [
922
971
  },
923
972
  {
924
973
  "id": "nvidia/nemotron-3-super-120b-a12b",
925
- "name": "NVIDIA Nemotron 3 Super 120B A12B",
974
+ "name": "Nemotron-3-Super-120B-A12B",
926
975
  "reasoning": true,
927
976
  "input": [
928
977
  "text"
929
978
  ],
930
979
  "cost": {
931
- "input": 0.15,
932
- "output": 0.65,
980
+ "input": 0.3,
981
+ "output": 0.9,
933
982
  "cacheRead": 0,
934
983
  "cacheWrite": 0
935
984
  },
936
985
  "contextWindow": 256000,
937
- "maxTokens": 32000
986
+ "maxTokens": 32768
938
987
  },
939
988
  {
940
989
  "id": "minimax/minimax-m2-her",
941
- "name": "MiniMax: MiniMax M2-her",
990
+ "name": "MiniMax M2-her",
942
991
  "reasoning": false,
943
992
  "input": [
944
993
  "text"
@@ -986,18 +1035,18 @@ export const TOKENROUTER_MODELS: TokenRouterProviderModel[] = [
986
1035
  },
987
1036
  {
988
1037
  "id": "z-ai/glm-5",
989
- "name": "GLM-5",
1038
+ "name": "GLM 5",
990
1039
  "reasoning": true,
991
1040
  "input": [
992
1041
  "text"
993
1042
  ],
994
1043
  "cost": {
995
- "input": 0.95,
996
- "output": 3.15,
997
- "cacheRead": 0.12,
1044
+ "input": 0.58,
1045
+ "output": 2.6,
1046
+ "cacheRead": 0.14,
998
1047
  "cacheWrite": 0
999
1048
  },
1000
- "contextWindow": 204800,
1001
- "maxTokens": 131072
1049
+ "contextWindow": 200000,
1050
+ "maxTokens": 128000
1002
1051
  }
1003
1052
  ];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pi-tokenrouter",
3
- "version": "1.0.5",
3
+ "version": "1.0.6",
4
4
  "description": "TokenRouter provider extension for pi — dynamic model discovery with OpenRouter-compatible pricing",
5
5
  "type": "module",
6
6
  "license": "MIT",