modelpedia 0.0.1 → 0.0.2

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 (128) hide show
  1. package/dist/index.cjs +60 -35560
  2. package/dist/index.d.cts +3 -156
  3. package/dist/index.d.mts +3 -156
  4. package/dist/index.mjs +60 -35560
  5. package/dist/providers/alibaba.cjs +835 -0
  6. package/dist/providers/alibaba.d.cts +7 -0
  7. package/dist/providers/alibaba.d.mts +7 -0
  8. package/dist/providers/alibaba.mjs +833 -0
  9. package/dist/providers/amazon.cjs +1484 -0
  10. package/dist/providers/amazon.d.cts +7 -0
  11. package/dist/providers/amazon.d.mts +7 -0
  12. package/dist/providers/amazon.mjs +1482 -0
  13. package/dist/providers/anthropic.cjs +698 -0
  14. package/dist/providers/anthropic.d.cts +7 -0
  15. package/dist/providers/anthropic.d.mts +7 -0
  16. package/dist/providers/anthropic.mjs +696 -0
  17. package/dist/providers/azure.cjs +1491 -0
  18. package/dist/providers/azure.d.cts +7 -0
  19. package/dist/providers/azure.d.mts +7 -0
  20. package/dist/providers/azure.mjs +1489 -0
  21. package/dist/providers/baseten.cjs +279 -0
  22. package/dist/providers/baseten.d.cts +7 -0
  23. package/dist/providers/baseten.d.mts +7 -0
  24. package/dist/providers/baseten.mjs +277 -0
  25. package/dist/providers/cerebras.cjs +145 -0
  26. package/dist/providers/cerebras.d.cts +7 -0
  27. package/dist/providers/cerebras.d.mts +7 -0
  28. package/dist/providers/cerebras.mjs +143 -0
  29. package/dist/providers/cloudflare.cjs +826 -0
  30. package/dist/providers/cloudflare.d.cts +7 -0
  31. package/dist/providers/cloudflare.d.mts +7 -0
  32. package/dist/providers/cloudflare.mjs +824 -0
  33. package/dist/providers/cohere.cjs +525 -0
  34. package/dist/providers/cohere.d.cts +7 -0
  35. package/dist/providers/cohere.d.mts +7 -0
  36. package/dist/providers/cohere.mjs +523 -0
  37. package/dist/providers/cursor.cjs +856 -0
  38. package/dist/providers/cursor.d.cts +7 -0
  39. package/dist/providers/cursor.d.mts +7 -0
  40. package/dist/providers/cursor.mjs +854 -0
  41. package/dist/providers/deepseek.cjs +64 -0
  42. package/dist/providers/deepseek.d.cts +7 -0
  43. package/dist/providers/deepseek.d.mts +7 -0
  44. package/dist/providers/deepseek.mjs +62 -0
  45. package/dist/providers/fireworks.cjs +3794 -0
  46. package/dist/providers/fireworks.d.cts +7 -0
  47. package/dist/providers/fireworks.d.mts +7 -0
  48. package/dist/providers/fireworks.mjs +3792 -0
  49. package/dist/providers/google.cjs +972 -0
  50. package/dist/providers/google.d.cts +7 -0
  51. package/dist/providers/google.d.mts +7 -0
  52. package/dist/providers/google.mjs +970 -0
  53. package/dist/providers/groq.cjs +353 -0
  54. package/dist/providers/groq.d.cts +7 -0
  55. package/dist/providers/groq.d.mts +7 -0
  56. package/dist/providers/groq.mjs +351 -0
  57. package/dist/providers/huggingface.cjs +1022 -0
  58. package/dist/providers/huggingface.d.cts +7 -0
  59. package/dist/providers/huggingface.d.mts +7 -0
  60. package/dist/providers/huggingface.mjs +1020 -0
  61. package/dist/providers/meta.cjs +481 -0
  62. package/dist/providers/meta.d.cts +7 -0
  63. package/dist/providers/meta.d.mts +7 -0
  64. package/dist/providers/meta.mjs +479 -0
  65. package/dist/providers/minimax.cjs +156 -0
  66. package/dist/providers/minimax.d.cts +7 -0
  67. package/dist/providers/minimax.d.mts +7 -0
  68. package/dist/providers/minimax.mjs +154 -0
  69. package/dist/providers/mistral.cjs +1594 -0
  70. package/dist/providers/mistral.d.cts +7 -0
  71. package/dist/providers/mistral.d.mts +7 -0
  72. package/dist/providers/mistral.mjs +1592 -0
  73. package/dist/providers/moonshot.cjs +138 -0
  74. package/dist/providers/moonshot.d.cts +7 -0
  75. package/dist/providers/moonshot.d.mts +7 -0
  76. package/dist/providers/moonshot.mjs +136 -0
  77. package/dist/providers/nvidia.cjs +2040 -0
  78. package/dist/providers/nvidia.d.cts +7 -0
  79. package/dist/providers/nvidia.d.mts +7 -0
  80. package/dist/providers/nvidia.mjs +2038 -0
  81. package/dist/providers/ollama.cjs +326 -0
  82. package/dist/providers/ollama.d.cts +7 -0
  83. package/dist/providers/ollama.d.mts +7 -0
  84. package/dist/providers/ollama.mjs +324 -0
  85. package/dist/providers/openai.cjs +9079 -0
  86. package/dist/providers/openai.d.cts +7 -0
  87. package/dist/providers/openai.d.mts +7 -0
  88. package/dist/providers/openai.mjs +9077 -0
  89. package/dist/providers/opencode.cjs +367 -0
  90. package/dist/providers/opencode.d.cts +7 -0
  91. package/dist/providers/opencode.d.mts +7 -0
  92. package/dist/providers/opencode.mjs +365 -0
  93. package/dist/providers/openrouter.cjs +7835 -0
  94. package/dist/providers/openrouter.d.cts +7 -0
  95. package/dist/providers/openrouter.d.mts +7 -0
  96. package/dist/providers/openrouter.mjs +7833 -0
  97. package/dist/providers/perplexity.cjs +311 -0
  98. package/dist/providers/perplexity.d.cts +7 -0
  99. package/dist/providers/perplexity.d.mts +7 -0
  100. package/dist/providers/perplexity.mjs +309 -0
  101. package/dist/providers/qwen.cjs +835 -0
  102. package/dist/providers/qwen.d.cts +7 -0
  103. package/dist/providers/qwen.d.mts +7 -0
  104. package/dist/providers/qwen.mjs +833 -0
  105. package/dist/providers/together.cjs +360 -0
  106. package/dist/providers/together.d.cts +7 -0
  107. package/dist/providers/together.d.mts +7 -0
  108. package/dist/providers/together.mjs +358 -0
  109. package/dist/providers/vercel.cjs +4037 -0
  110. package/dist/providers/vercel.d.cts +7 -0
  111. package/dist/providers/vercel.d.mts +7 -0
  112. package/dist/providers/vercel.mjs +4035 -0
  113. package/dist/providers/vertex.cjs +1072 -0
  114. package/dist/providers/vertex.d.cts +7 -0
  115. package/dist/providers/vertex.d.mts +7 -0
  116. package/dist/providers/vertex.mjs +1070 -0
  117. package/dist/providers/xai.cjs +301 -0
  118. package/dist/providers/xai.d.cts +7 -0
  119. package/dist/providers/xai.d.mts +7 -0
  120. package/dist/providers/xai.mjs +299 -0
  121. package/dist/providers/zai.cjs +243 -0
  122. package/dist/providers/zai.d.cts +7 -0
  123. package/dist/providers/zai.d.mts +7 -0
  124. package/dist/providers/zai.mjs +241 -0
  125. package/dist/types.d.cts +186 -0
  126. package/dist/types.d.mts +186 -0
  127. package/package.json +14 -38
  128. package/README.md +0 -100
@@ -0,0 +1,856 @@
1
+ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
+ //#region src/providers/cursor.ts
3
+ const provider = {
4
+ "id": "cursor",
5
+ "name": "Cursor",
6
+ "region": "US",
7
+ "url": "https://cursor.com",
8
+ "api_url": "https://api.cursor.com",
9
+ "docs_url": "https://cursor.com/docs",
10
+ "pricing_url": "https://cursor.com/docs/models-and-pricing",
11
+ "icon": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"currentColor\"><path fill-rule=\"evenodd\" d=\"M22.106 5.68L12.5.135a.998.998 0 00-.998 0L1.893 5.68a.84.84 0 00-.419.726v11.186c0 .3.16.577.42.727l9.607 5.547a.999.999 0 00.998 0l9.608-5.547a.84.84 0 00.42-.727V6.407a.84.84 0 00-.42-.726zm-.603 1.176L12.228 22.92c-.063.108-.228.064-.228-.061V12.34a.59.59 0 00-.295-.51l-9.11-5.26c-.107-.062-.063-.228.062-.228h18.55c.264 0 .428.286.296.514z\"/></svg>",
12
+ "models": [
13
+ {
14
+ "id": "auto",
15
+ "name": "Auto",
16
+ "created_by": "cursor",
17
+ "source": "official",
18
+ "last_updated": "2026-03-21",
19
+ "capabilities": { "streaming": true },
20
+ "modalities": {
21
+ "input": ["text"],
22
+ "output": ["text"]
23
+ },
24
+ "pricing": {
25
+ "input": 1.25,
26
+ "output": 6,
27
+ "cached_input": .25
28
+ }
29
+ },
30
+ {
31
+ "id": "claude-4-sonnet-1m",
32
+ "name": "Claude 4 Sonnet 1M",
33
+ "created_by": "anthropic",
34
+ "source": "official",
35
+ "last_updated": "2026-03-21",
36
+ "family": "claude-sonnet",
37
+ "capabilities": {
38
+ "streaming": true,
39
+ "tool_call": true,
40
+ "reasoning": true,
41
+ "vision": true
42
+ },
43
+ "modalities": {
44
+ "input": ["text", "image"],
45
+ "output": ["text"]
46
+ },
47
+ "pricing": {
48
+ "input": 6,
49
+ "output": 22.5,
50
+ "cached_input": .6,
51
+ "cache_write": 7.5
52
+ },
53
+ "max_context_window": 1e6,
54
+ "performance": 4,
55
+ "speed": 3
56
+ },
57
+ {
58
+ "id": "claude-4-sonnet",
59
+ "name": "Claude 4 Sonnet",
60
+ "created_by": "anthropic",
61
+ "source": "official",
62
+ "last_updated": "2026-03-21",
63
+ "family": "claude-sonnet",
64
+ "capabilities": {
65
+ "streaming": true,
66
+ "tool_call": true,
67
+ "reasoning": true,
68
+ "vision": true
69
+ },
70
+ "modalities": {
71
+ "input": ["text", "image"],
72
+ "output": ["text"]
73
+ },
74
+ "pricing": {
75
+ "input": 3,
76
+ "output": 15,
77
+ "cached_input": .3,
78
+ "cache_write": 3.75
79
+ },
80
+ "context_window": 2e5,
81
+ "performance": 4,
82
+ "speed": 3
83
+ },
84
+ {
85
+ "id": "claude-4.5-haiku",
86
+ "name": "Claude 4.5 Haiku",
87
+ "created_by": "anthropic",
88
+ "source": "official",
89
+ "last_updated": "2026-03-21",
90
+ "family": "claude-haiku",
91
+ "capabilities": {
92
+ "streaming": true,
93
+ "tool_call": true,
94
+ "vision": true,
95
+ "reasoning": true
96
+ },
97
+ "modalities": {
98
+ "input": ["text", "image"],
99
+ "output": ["text"]
100
+ },
101
+ "pricing": {
102
+ "input": 1,
103
+ "output": 5,
104
+ "cached_input": .1,
105
+ "cache_write": 1.25
106
+ },
107
+ "context_window": 2e5,
108
+ "performance": 3,
109
+ "speed": 4
110
+ },
111
+ {
112
+ "id": "claude-4.5-opus",
113
+ "name": "Claude 4.5 Opus",
114
+ "created_by": "anthropic",
115
+ "source": "official",
116
+ "last_updated": "2026-03-21",
117
+ "family": "claude-opus",
118
+ "capabilities": {
119
+ "streaming": true,
120
+ "tool_call": true,
121
+ "reasoning": true,
122
+ "vision": true
123
+ },
124
+ "modalities": {
125
+ "input": ["text", "image"],
126
+ "output": ["text"]
127
+ },
128
+ "pricing": {
129
+ "input": 5,
130
+ "output": 25,
131
+ "cached_input": .5,
132
+ "cache_write": 6.25
133
+ },
134
+ "context_window": 2e5,
135
+ "performance": 5,
136
+ "speed": 3
137
+ },
138
+ {
139
+ "id": "claude-4.5-sonnet",
140
+ "name": "Claude 4.5 Sonnet",
141
+ "created_by": "anthropic",
142
+ "source": "official",
143
+ "last_updated": "2026-03-21",
144
+ "family": "claude-sonnet",
145
+ "capabilities": {
146
+ "streaming": true,
147
+ "tool_call": true,
148
+ "reasoning": true,
149
+ "vision": true
150
+ },
151
+ "modalities": {
152
+ "input": ["text", "image"],
153
+ "output": ["text"]
154
+ },
155
+ "pricing": {
156
+ "input": 3,
157
+ "output": 15,
158
+ "cached_input": .3,
159
+ "cache_write": 3.75
160
+ },
161
+ "context_window": 2e5,
162
+ "max_context_window": 1e6,
163
+ "performance": 4,
164
+ "speed": 3
165
+ },
166
+ {
167
+ "id": "claude-4.6-opus-fast",
168
+ "name": "Claude 4.6 Opus (Fast mode)",
169
+ "created_by": "anthropic",
170
+ "source": "official",
171
+ "last_updated": "2026-03-21",
172
+ "family": "claude-opus",
173
+ "capabilities": {
174
+ "streaming": true,
175
+ "tool_call": true,
176
+ "reasoning": true,
177
+ "vision": true
178
+ },
179
+ "modalities": {
180
+ "input": ["text", "image"],
181
+ "output": ["text"]
182
+ },
183
+ "pricing": {
184
+ "input": 30,
185
+ "output": 150,
186
+ "cached_input": 3,
187
+ "cache_write": 37.5
188
+ },
189
+ "context_window": 2e5,
190
+ "max_context_window": 1e6,
191
+ "performance": 5,
192
+ "speed": 4
193
+ },
194
+ {
195
+ "id": "claude-4.6-opus",
196
+ "name": "Claude 4.6 Opus",
197
+ "created_by": "anthropic",
198
+ "source": "official",
199
+ "last_updated": "2026-03-21",
200
+ "family": "claude-opus",
201
+ "capabilities": {
202
+ "streaming": true,
203
+ "tool_call": true,
204
+ "reasoning": true,
205
+ "vision": true
206
+ },
207
+ "modalities": {
208
+ "input": ["text", "image"],
209
+ "output": ["text"]
210
+ },
211
+ "pricing": {
212
+ "input": 5,
213
+ "output": 25,
214
+ "cached_input": .5,
215
+ "cache_write": 6.25
216
+ },
217
+ "context_window": 2e5,
218
+ "max_context_window": 1e6,
219
+ "performance": 5,
220
+ "speed": 3
221
+ },
222
+ {
223
+ "id": "claude-4.6-sonnet",
224
+ "name": "Claude 4.6 Sonnet",
225
+ "created_by": "anthropic",
226
+ "source": "official",
227
+ "last_updated": "2026-03-21",
228
+ "family": "claude-sonnet",
229
+ "capabilities": {
230
+ "streaming": true,
231
+ "tool_call": true,
232
+ "reasoning": true,
233
+ "vision": true
234
+ },
235
+ "modalities": {
236
+ "input": ["text", "image"],
237
+ "output": ["text"]
238
+ },
239
+ "pricing": {
240
+ "input": 3,
241
+ "output": 15,
242
+ "cached_input": .3,
243
+ "cache_write": 3.75
244
+ },
245
+ "context_window": 2e5,
246
+ "max_context_window": 1e6,
247
+ "performance": 4,
248
+ "speed": 3
249
+ },
250
+ {
251
+ "id": "composer-1.5",
252
+ "name": "Composer 1.5",
253
+ "created_by": "cursor",
254
+ "source": "official",
255
+ "last_updated": "2026-03-21",
256
+ "capabilities": {
257
+ "streaming": true,
258
+ "tool_call": true,
259
+ "vision": true,
260
+ "reasoning": true
261
+ },
262
+ "modalities": {
263
+ "input": ["text", "image"],
264
+ "output": ["text"]
265
+ },
266
+ "pricing": {
267
+ "input": 3.5,
268
+ "output": 17.5,
269
+ "cached_input": .35
270
+ },
271
+ "context_window": 2e5,
272
+ "performance": 4,
273
+ "speed": 4
274
+ },
275
+ {
276
+ "id": "composer-1",
277
+ "name": "Composer 1",
278
+ "created_by": "cursor",
279
+ "source": "official",
280
+ "last_updated": "2026-03-21",
281
+ "capabilities": {
282
+ "streaming": true,
283
+ "tool_call": true,
284
+ "vision": true
285
+ },
286
+ "modalities": {
287
+ "input": ["text", "image"],
288
+ "output": ["text"]
289
+ },
290
+ "pricing": {
291
+ "input": 1.25,
292
+ "output": 10,
293
+ "cached_input": .125
294
+ },
295
+ "context_window": 2e5,
296
+ "performance": 4,
297
+ "speed": 3
298
+ },
299
+ {
300
+ "id": "composer-2",
301
+ "name": "Composer 2",
302
+ "created_by": "cursor",
303
+ "source": "official",
304
+ "last_updated": "2026-03-21",
305
+ "capabilities": {
306
+ "streaming": true,
307
+ "tool_call": true,
308
+ "vision": true,
309
+ "reasoning": true
310
+ },
311
+ "modalities": {
312
+ "input": ["text", "image"],
313
+ "output": ["text"]
314
+ },
315
+ "pricing": {
316
+ "input": .5,
317
+ "output": 2.5,
318
+ "cached_input": .2
319
+ },
320
+ "context_window": 2e5,
321
+ "performance": 5,
322
+ "speed": 4
323
+ },
324
+ {
325
+ "id": "gemini-2.5-flash",
326
+ "name": "Gemini 2.5 Flash",
327
+ "created_by": "google",
328
+ "source": "official",
329
+ "last_updated": "2026-03-21",
330
+ "family": "gemini-2.5",
331
+ "capabilities": {
332
+ "streaming": true,
333
+ "tool_call": true,
334
+ "vision": true,
335
+ "reasoning": true
336
+ },
337
+ "modalities": {
338
+ "input": ["text", "image"],
339
+ "output": ["text"]
340
+ },
341
+ "pricing": {
342
+ "input": .3,
343
+ "output": 2.5,
344
+ "cached_input": .03
345
+ },
346
+ "context_window": 2e5,
347
+ "max_context_window": 1e6,
348
+ "performance": 3,
349
+ "speed": 4
350
+ },
351
+ {
352
+ "id": "gemini-3-flash",
353
+ "name": "Gemini 3 Flash",
354
+ "created_by": "google",
355
+ "source": "official",
356
+ "last_updated": "2026-03-21",
357
+ "family": "gemini-3",
358
+ "capabilities": {
359
+ "streaming": true,
360
+ "tool_call": true,
361
+ "vision": true,
362
+ "reasoning": true
363
+ },
364
+ "modalities": {
365
+ "input": ["text", "image"],
366
+ "output": ["text"]
367
+ },
368
+ "pricing": {
369
+ "input": .5,
370
+ "output": 3,
371
+ "cached_input": .05
372
+ },
373
+ "context_window": 2e5,
374
+ "max_context_window": 1e6,
375
+ "performance": 3,
376
+ "speed": 4
377
+ },
378
+ {
379
+ "id": "gemini-3-pro-image-preview",
380
+ "name": "Gemini 3 Pro Image Preview",
381
+ "created_by": "google",
382
+ "source": "official",
383
+ "last_updated": "2026-03-21",
384
+ "family": "gemini-3",
385
+ "capabilities": {
386
+ "streaming": true,
387
+ "tool_call": true,
388
+ "vision": true
389
+ },
390
+ "modalities": {
391
+ "input": ["text", "image"],
392
+ "output": ["text", "image"]
393
+ },
394
+ "pricing": {
395
+ "input": 2,
396
+ "output": 12,
397
+ "cached_input": .2
398
+ },
399
+ "context_window": 2e5,
400
+ "max_context_window": 1e6,
401
+ "performance": 4,
402
+ "speed": 3
403
+ },
404
+ {
405
+ "id": "gemini-3-pro",
406
+ "name": "Gemini 3 Pro",
407
+ "created_by": "google",
408
+ "source": "official",
409
+ "last_updated": "2026-03-21",
410
+ "family": "gemini-3",
411
+ "capabilities": {
412
+ "streaming": true,
413
+ "tool_call": true,
414
+ "vision": true,
415
+ "reasoning": true
416
+ },
417
+ "modalities": {
418
+ "input": ["text", "image"],
419
+ "output": ["text"]
420
+ },
421
+ "pricing": {
422
+ "input": 2,
423
+ "output": 12,
424
+ "cached_input": .2
425
+ },
426
+ "context_window": 2e5,
427
+ "max_context_window": 1e6,
428
+ "performance": 4,
429
+ "speed": 3
430
+ },
431
+ {
432
+ "id": "gemini-3.1-pro",
433
+ "name": "Gemini 3.1 Pro",
434
+ "created_by": "google",
435
+ "source": "official",
436
+ "last_updated": "2026-03-21",
437
+ "family": "gemini-3.1",
438
+ "capabilities": {
439
+ "streaming": true,
440
+ "tool_call": true,
441
+ "vision": true,
442
+ "reasoning": true
443
+ },
444
+ "modalities": {
445
+ "input": ["text", "image"],
446
+ "output": ["text"]
447
+ },
448
+ "pricing": {
449
+ "input": 2,
450
+ "output": 12,
451
+ "cached_input": .2
452
+ },
453
+ "context_window": 2e5,
454
+ "max_context_window": 1e6,
455
+ "performance": 5,
456
+ "speed": 3
457
+ },
458
+ {
459
+ "id": "gpt-5-codex",
460
+ "name": "GPT-5-Codex",
461
+ "created_by": "openai",
462
+ "source": "official",
463
+ "last_updated": "2026-03-21",
464
+ "family": "gpt-5",
465
+ "capabilities": {
466
+ "streaming": true,
467
+ "tool_call": true,
468
+ "reasoning": true,
469
+ "vision": true
470
+ },
471
+ "modalities": {
472
+ "input": ["text", "image"],
473
+ "output": ["text"]
474
+ },
475
+ "pricing": {
476
+ "input": 1.25,
477
+ "output": 10,
478
+ "cached_input": .125
479
+ },
480
+ "context_window": 272e3,
481
+ "performance": 4,
482
+ "speed": 3
483
+ },
484
+ {
485
+ "id": "gpt-5-fast",
486
+ "name": "GPT-5 Fast",
487
+ "created_by": "openai",
488
+ "source": "official",
489
+ "last_updated": "2026-03-21",
490
+ "family": "gpt-5",
491
+ "capabilities": {
492
+ "streaming": true,
493
+ "tool_call": true,
494
+ "reasoning": true,
495
+ "vision": true
496
+ },
497
+ "modalities": {
498
+ "input": ["text", "image"],
499
+ "output": ["text"]
500
+ },
501
+ "pricing": {
502
+ "input": 2.5,
503
+ "output": 20,
504
+ "cached_input": .25
505
+ },
506
+ "context_window": 272e3,
507
+ "performance": 4,
508
+ "speed": 4
509
+ },
510
+ {
511
+ "id": "gpt-5-mini",
512
+ "name": "GPT-5 Mini",
513
+ "created_by": "openai",
514
+ "source": "official",
515
+ "last_updated": "2026-03-21",
516
+ "family": "gpt-5",
517
+ "capabilities": {
518
+ "streaming": true,
519
+ "tool_call": true,
520
+ "vision": true,
521
+ "reasoning": true
522
+ },
523
+ "modalities": {
524
+ "input": ["text", "image"],
525
+ "output": ["text"]
526
+ },
527
+ "pricing": {
528
+ "input": .25,
529
+ "output": 2,
530
+ "cached_input": .025
531
+ },
532
+ "context_window": 272e3,
533
+ "performance": 3,
534
+ "speed": 4
535
+ },
536
+ {
537
+ "id": "gpt-5.1-codex-max",
538
+ "name": "GPT-5.1 Codex Max",
539
+ "created_by": "openai",
540
+ "source": "official",
541
+ "last_updated": "2026-03-21",
542
+ "family": "gpt-5.1",
543
+ "capabilities": {
544
+ "streaming": true,
545
+ "tool_call": true,
546
+ "reasoning": true,
547
+ "vision": true
548
+ },
549
+ "modalities": {
550
+ "input": ["text", "image"],
551
+ "output": ["text"]
552
+ },
553
+ "pricing": {
554
+ "input": 1.25,
555
+ "output": 10,
556
+ "cached_input": .125
557
+ },
558
+ "context_window": 272e3,
559
+ "performance": 4,
560
+ "speed": 3
561
+ },
562
+ {
563
+ "id": "gpt-5.1-codex-mini",
564
+ "name": "GPT-5.1 Codex Mini",
565
+ "created_by": "openai",
566
+ "source": "official",
567
+ "last_updated": "2026-03-21",
568
+ "family": "gpt-5.1",
569
+ "capabilities": {
570
+ "streaming": true,
571
+ "tool_call": true,
572
+ "reasoning": true,
573
+ "vision": true
574
+ },
575
+ "modalities": {
576
+ "input": ["text", "image"],
577
+ "output": ["text"]
578
+ },
579
+ "pricing": {
580
+ "input": .25,
581
+ "output": 2,
582
+ "cached_input": .025
583
+ },
584
+ "context_window": 272e3,
585
+ "performance": 3,
586
+ "speed": 4
587
+ },
588
+ {
589
+ "id": "gpt-5.1-codex",
590
+ "name": "GPT-5.1 Codex",
591
+ "created_by": "openai",
592
+ "source": "official",
593
+ "last_updated": "2026-03-21",
594
+ "family": "gpt-5.1",
595
+ "capabilities": {
596
+ "streaming": true,
597
+ "tool_call": true,
598
+ "reasoning": true,
599
+ "vision": true
600
+ },
601
+ "modalities": {
602
+ "input": ["text", "image"],
603
+ "output": ["text"]
604
+ },
605
+ "pricing": {
606
+ "input": 1.25,
607
+ "output": 10,
608
+ "cached_input": .125
609
+ },
610
+ "context_window": 272e3,
611
+ "performance": 4,
612
+ "speed": 3
613
+ },
614
+ {
615
+ "id": "gpt-5.2-codex",
616
+ "name": "GPT-5.2 Codex",
617
+ "created_by": "openai",
618
+ "source": "official",
619
+ "last_updated": "2026-03-21",
620
+ "family": "gpt-5.2",
621
+ "capabilities": {
622
+ "streaming": true,
623
+ "tool_call": true,
624
+ "reasoning": true,
625
+ "vision": true
626
+ },
627
+ "modalities": {
628
+ "input": ["text", "image"],
629
+ "output": ["text"]
630
+ },
631
+ "pricing": {
632
+ "input": 1.75,
633
+ "output": 14,
634
+ "cached_input": .175
635
+ },
636
+ "context_window": 272e3,
637
+ "performance": 4,
638
+ "speed": 3
639
+ },
640
+ {
641
+ "id": "gpt-5.2",
642
+ "name": "GPT-5.2",
643
+ "created_by": "openai",
644
+ "source": "official",
645
+ "last_updated": "2026-03-21",
646
+ "family": "gpt-5.2",
647
+ "capabilities": {
648
+ "streaming": true,
649
+ "tool_call": true,
650
+ "reasoning": true,
651
+ "vision": true
652
+ },
653
+ "modalities": {
654
+ "input": ["text", "image"],
655
+ "output": ["text"]
656
+ },
657
+ "pricing": {
658
+ "input": 1.75,
659
+ "output": 14,
660
+ "cached_input": .175
661
+ },
662
+ "context_window": 272e3,
663
+ "performance": 4,
664
+ "speed": 3
665
+ },
666
+ {
667
+ "id": "gpt-5.3-codex",
668
+ "name": "GPT-5.3 Codex",
669
+ "created_by": "openai",
670
+ "source": "official",
671
+ "last_updated": "2026-03-21",
672
+ "family": "gpt-5.3",
673
+ "capabilities": {
674
+ "streaming": true,
675
+ "tool_call": true,
676
+ "reasoning": true,
677
+ "vision": true
678
+ },
679
+ "modalities": {
680
+ "input": ["text", "image"],
681
+ "output": ["text"]
682
+ },
683
+ "pricing": {
684
+ "input": 1.75,
685
+ "output": 14,
686
+ "cached_input": .175
687
+ },
688
+ "context_window": 272e3,
689
+ "performance": 5,
690
+ "speed": 3
691
+ },
692
+ {
693
+ "id": "gpt-5.4-mini",
694
+ "name": "GPT-5.4 Mini",
695
+ "created_by": "openai",
696
+ "source": "official",
697
+ "last_updated": "2026-03-21",
698
+ "family": "gpt-5.4",
699
+ "capabilities": {
700
+ "streaming": true,
701
+ "tool_call": true,
702
+ "reasoning": true,
703
+ "vision": true
704
+ },
705
+ "modalities": {
706
+ "input": ["text", "image"],
707
+ "output": ["text"]
708
+ },
709
+ "pricing": {
710
+ "input": .75,
711
+ "output": 4.5,
712
+ "cached_input": .075
713
+ },
714
+ "context_window": 272e3,
715
+ "performance": 4,
716
+ "speed": 4
717
+ },
718
+ {
719
+ "id": "gpt-5.4-nano",
720
+ "name": "GPT-5.4 Nano",
721
+ "created_by": "openai",
722
+ "source": "official",
723
+ "last_updated": "2026-03-21",
724
+ "family": "gpt-5.4",
725
+ "capabilities": {
726
+ "streaming": true,
727
+ "tool_call": true,
728
+ "reasoning": true,
729
+ "vision": true
730
+ },
731
+ "modalities": {
732
+ "input": ["text", "image"],
733
+ "output": ["text"]
734
+ },
735
+ "pricing": {
736
+ "input": .2,
737
+ "output": 1.25,
738
+ "cached_input": .02
739
+ },
740
+ "context_window": 272e3,
741
+ "performance": 3,
742
+ "speed": 4
743
+ },
744
+ {
745
+ "id": "gpt-5.4",
746
+ "name": "GPT-5.4",
747
+ "created_by": "openai",
748
+ "source": "official",
749
+ "last_updated": "2026-03-21",
750
+ "family": "gpt-5.4",
751
+ "capabilities": {
752
+ "streaming": true,
753
+ "tool_call": true,
754
+ "reasoning": true,
755
+ "vision": true
756
+ },
757
+ "modalities": {
758
+ "input": ["text", "image"],
759
+ "output": ["text"]
760
+ },
761
+ "pricing": {
762
+ "input": 2.5,
763
+ "output": 15,
764
+ "cached_input": .25
765
+ },
766
+ "context_window": 272e3,
767
+ "max_context_window": 1e6,
768
+ "performance": 5,
769
+ "speed": 3
770
+ },
771
+ {
772
+ "id": "gpt-5",
773
+ "name": "GPT-5",
774
+ "created_by": "openai",
775
+ "source": "official",
776
+ "last_updated": "2026-03-21",
777
+ "family": "gpt-5",
778
+ "capabilities": {
779
+ "streaming": true,
780
+ "tool_call": true,
781
+ "reasoning": true,
782
+ "vision": true
783
+ },
784
+ "modalities": {
785
+ "input": ["text", "image"],
786
+ "output": ["text"]
787
+ },
788
+ "pricing": {
789
+ "input": 1.25,
790
+ "output": 10,
791
+ "cached_input": .125
792
+ },
793
+ "context_window": 272e3,
794
+ "performance": 4,
795
+ "speed": 3
796
+ },
797
+ {
798
+ "id": "grok-4.20",
799
+ "name": "Grok 4.20",
800
+ "created_by": "xai",
801
+ "source": "official",
802
+ "last_updated": "2026-03-21",
803
+ "family": "grok-4.20",
804
+ "capabilities": {
805
+ "streaming": true,
806
+ "tool_call": true,
807
+ "reasoning": true
808
+ },
809
+ "modalities": {
810
+ "input": ["text"],
811
+ "output": ["text"]
812
+ },
813
+ "pricing": {
814
+ "input": 2,
815
+ "output": 6,
816
+ "cached_input": .2
817
+ },
818
+ "context_window": 2e5,
819
+ "max_context_window": 2e6,
820
+ "performance": 4,
821
+ "speed": 4
822
+ },
823
+ {
824
+ "id": "kimi-k2.5",
825
+ "name": "Kimi K2.5",
826
+ "created_by": "moonshot",
827
+ "source": "official",
828
+ "last_updated": "2026-03-21",
829
+ "capabilities": {
830
+ "streaming": true,
831
+ "tool_call": true,
832
+ "vision": true,
833
+ "reasoning": true
834
+ },
835
+ "modalities": {
836
+ "input": ["text", "image"],
837
+ "output": ["text"]
838
+ },
839
+ "pricing": {
840
+ "input": .6,
841
+ "output": 3,
842
+ "cached_input": .1
843
+ },
844
+ "context_window": 262e3,
845
+ "performance": 4,
846
+ "speed": 3
847
+ }
848
+ ]
849
+ };
850
+ const models = provider.models.map((m) => ({
851
+ ...m,
852
+ provider: provider.id
853
+ }));
854
+ //#endregion
855
+ exports.models = models;
856
+ exports.provider = provider;