modelpedia 0.0.2 → 0.0.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.
Files changed (136) hide show
  1. package/README.md +141 -0
  2. package/dist/index.cjs +1 -101
  3. package/dist/index.d.cts +10 -2
  4. package/dist/index.d.mts +10 -2
  5. package/dist/index.mjs +1 -92
  6. package/dist/providers/alibaba.cjs +4 -835
  7. package/dist/providers/alibaba.d.cts +1 -1
  8. package/dist/providers/alibaba.d.mts +1 -1
  9. package/dist/providers/alibaba.mjs +4 -833
  10. package/dist/providers/amazon.cjs +4 -1484
  11. package/dist/providers/amazon.d.cts +1 -1
  12. package/dist/providers/amazon.d.mts +1 -1
  13. package/dist/providers/amazon.mjs +4 -1482
  14. package/dist/providers/anthropic.cjs +3 -698
  15. package/dist/providers/anthropic.d.cts +1 -1
  16. package/dist/providers/anthropic.d.mts +1 -1
  17. package/dist/providers/anthropic.mjs +3 -696
  18. package/dist/providers/azure.cjs +6 -1491
  19. package/dist/providers/azure.d.cts +1 -1
  20. package/dist/providers/azure.d.mts +1 -1
  21. package/dist/providers/azure.mjs +6 -1489
  22. package/dist/providers/baseten.cjs +3 -279
  23. package/dist/providers/baseten.d.cts +1 -1
  24. package/dist/providers/baseten.d.mts +1 -1
  25. package/dist/providers/baseten.mjs +3 -277
  26. package/dist/providers/cerebras.cjs +4 -145
  27. package/dist/providers/cerebras.d.cts +1 -1
  28. package/dist/providers/cerebras.d.mts +1 -1
  29. package/dist/providers/cerebras.mjs +4 -143
  30. package/dist/providers/cloudflare-ai-gateway.cjs +4 -0
  31. package/dist/providers/cloudflare-ai-gateway.d.cts +7 -0
  32. package/dist/providers/cloudflare-ai-gateway.d.mts +7 -0
  33. package/dist/providers/cloudflare-ai-gateway.mjs +4 -0
  34. package/dist/providers/cloudflare-workers-ai.cjs +4 -0
  35. package/dist/providers/cloudflare-workers-ai.d.cts +7 -0
  36. package/dist/providers/cloudflare-workers-ai.d.mts +7 -0
  37. package/dist/providers/cloudflare-workers-ai.mjs +4 -0
  38. package/dist/providers/cohere.cjs +5 -525
  39. package/dist/providers/cohere.d.cts +1 -1
  40. package/dist/providers/cohere.d.mts +1 -1
  41. package/dist/providers/cohere.mjs +5 -523
  42. package/dist/providers/cursor.cjs +1 -856
  43. package/dist/providers/cursor.d.cts +1 -1
  44. package/dist/providers/cursor.d.mts +1 -1
  45. package/dist/providers/cursor.mjs +1 -854
  46. package/dist/providers/deepseek.cjs +3 -64
  47. package/dist/providers/deepseek.d.cts +1 -1
  48. package/dist/providers/deepseek.d.mts +1 -1
  49. package/dist/providers/deepseek.mjs +3 -62
  50. package/dist/providers/fireworks.cjs +3 -3794
  51. package/dist/providers/fireworks.d.cts +1 -1
  52. package/dist/providers/fireworks.d.mts +1 -1
  53. package/dist/providers/fireworks.mjs +3 -3792
  54. package/dist/providers/google.cjs +6 -972
  55. package/dist/providers/google.d.cts +1 -1
  56. package/dist/providers/google.d.mts +1 -1
  57. package/dist/providers/google.mjs +6 -970
  58. package/dist/providers/groq.cjs +3 -353
  59. package/dist/providers/groq.d.cts +1 -1
  60. package/dist/providers/groq.d.mts +1 -1
  61. package/dist/providers/groq.mjs +3 -351
  62. package/dist/providers/huggingface.cjs +3 -1022
  63. package/dist/providers/huggingface.d.cts +1 -1
  64. package/dist/providers/huggingface.d.mts +1 -1
  65. package/dist/providers/huggingface.mjs +3 -1020
  66. package/dist/providers/meta.cjs +3 -481
  67. package/dist/providers/meta.d.cts +1 -1
  68. package/dist/providers/meta.d.mts +1 -1
  69. package/dist/providers/meta.mjs +3 -479
  70. package/dist/providers/minimax.cjs +3 -156
  71. package/dist/providers/minimax.d.cts +1 -1
  72. package/dist/providers/minimax.d.mts +1 -1
  73. package/dist/providers/minimax.mjs +3 -154
  74. package/dist/providers/mistral.cjs +3 -1594
  75. package/dist/providers/mistral.d.cts +1 -1
  76. package/dist/providers/mistral.d.mts +1 -1
  77. package/dist/providers/mistral.mjs +3 -1592
  78. package/dist/providers/moonshot.cjs +3 -138
  79. package/dist/providers/moonshot.d.cts +1 -1
  80. package/dist/providers/moonshot.d.mts +1 -1
  81. package/dist/providers/moonshot.mjs +3 -136
  82. package/dist/providers/nvidia.cjs +3 -2040
  83. package/dist/providers/nvidia.d.cts +1 -1
  84. package/dist/providers/nvidia.d.mts +1 -1
  85. package/dist/providers/nvidia.mjs +3 -2038
  86. package/dist/providers/ollama.cjs +3 -326
  87. package/dist/providers/ollama.d.cts +1 -1
  88. package/dist/providers/ollama.d.mts +1 -1
  89. package/dist/providers/ollama.mjs +3 -324
  90. package/dist/providers/openai.cjs +3 -9079
  91. package/dist/providers/openai.d.cts +1 -1
  92. package/dist/providers/openai.d.mts +1 -1
  93. package/dist/providers/openai.mjs +3 -9077
  94. package/dist/providers/opencode.cjs +3 -367
  95. package/dist/providers/opencode.d.cts +1 -1
  96. package/dist/providers/opencode.d.mts +1 -1
  97. package/dist/providers/opencode.mjs +3 -365
  98. package/dist/providers/openrouter.cjs +21 -7835
  99. package/dist/providers/openrouter.d.cts +1 -1
  100. package/dist/providers/openrouter.d.mts +1 -1
  101. package/dist/providers/openrouter.mjs +21 -7833
  102. package/dist/providers/perplexity.cjs +3 -311
  103. package/dist/providers/perplexity.d.cts +1 -1
  104. package/dist/providers/perplexity.d.mts +1 -1
  105. package/dist/providers/perplexity.mjs +3 -309
  106. package/dist/providers/qwen.cjs +3 -835
  107. package/dist/providers/qwen.d.cts +1 -1
  108. package/dist/providers/qwen.d.mts +1 -1
  109. package/dist/providers/qwen.mjs +3 -833
  110. package/dist/providers/together.cjs +4 -360
  111. package/dist/providers/together.d.cts +1 -1
  112. package/dist/providers/together.d.mts +1 -1
  113. package/dist/providers/together.mjs +4 -358
  114. package/dist/providers/vercel.cjs +3 -4037
  115. package/dist/providers/vercel.d.cts +1 -1
  116. package/dist/providers/vercel.d.mts +1 -1
  117. package/dist/providers/vercel.mjs +3 -4035
  118. package/dist/providers/vertex.cjs +10 -1072
  119. package/dist/providers/vertex.d.cts +1 -1
  120. package/dist/providers/vertex.d.mts +1 -1
  121. package/dist/providers/vertex.mjs +10 -1070
  122. package/dist/providers/xai.cjs +3 -301
  123. package/dist/providers/xai.d.cts +1 -1
  124. package/dist/providers/xai.d.mts +1 -1
  125. package/dist/providers/xai.mjs +3 -299
  126. package/dist/providers/zai.cjs +3 -243
  127. package/dist/providers/zai.d.cts +1 -1
  128. package/dist/providers/zai.d.mts +1 -1
  129. package/dist/providers/zai.mjs +3 -241
  130. package/dist/types.d.cts +80 -8
  131. package/dist/types.d.mts +80 -8
  132. package/package.json +3 -3
  133. package/dist/providers/cloudflare.cjs +0 -826
  134. package/dist/providers/cloudflare.d.cts +0 -7
  135. package/dist/providers/cloudflare.d.mts +0 -7
  136. package/dist/providers/cloudflare.mjs +0 -824
@@ -1,856 +1 @@
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;
1
+ Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e={id:`cursor`,name:`Cursor`,region:`US`,headquarters:`San Francisco, CA`,founded:2022,url:`https://cursor.com`,api_url:`https://api.cursor.com`,docs_url:`https://cursor.com/docs`,pricing_url:`https://cursor.com/docs/models-and-pricing`,description:`AI-powered code editor providing access to multiple frontier models for software development.`,type:`cloud`,openai_compatible:!1,free_tier:!0,models_url:`https://cursor.com/docs/models-and-pricing`,twitter_url:`https://x.com/cursor_ai`,discord_url:`https://discord.com/invite/cursor`,blog_url:`https://cursor.com/blog`,terms_url:`https://cursor.com/terms-of-service`,support_url:`https://cursor.com/help`,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>`,models:[{id:`auto`,name:`Auto`,created_by:`cursor`,source:`official`,last_updated:`2026-03-23`,capabilities:{streaming:!0},modalities:{input:[`text`],output:[`text`]},pricing:{input:1.25,output:6,cached_input:.25},page_url:`https://cursor.com/docs/models-and-pricing#auto`},{id:`claude-4-sonnet-1m`,name:`Claude 4 Sonnet 1M`,created_by:`anthropic`,source:`official`,last_updated:`2026-03-23`,family:`claude-sonnet`,capabilities:{streaming:!0,tool_call:!0,reasoning:!0,vision:!0},modalities:{input:[`text`,`image`],output:[`text`]},pricing:{input:6,output:22.5,cached_input:.6,cache_write:7.5},max_context_window:1e6,performance:4,speed:3,model_type:`chat`,tools:[`function_calling`],page_url:`https://cursor.com/docs/models-and-pricing#claude-4-sonnet-1m`,pricing_notes:[`Hidden by default; Thinking variant counts as 2 requests in legacy pricing; This model can be very expensive due to the large context window; The cost is 2x when the input exceeds 200k tokens`]},{id:`claude-4-sonnet`,name:`Claude 4 Sonnet`,created_by:`anthropic`,source:`official`,last_updated:`2026-03-23`,family:`claude-sonnet`,capabilities:{streaming:!0,tool_call:!0,reasoning:!0,vision:!0},modalities:{input:[`text`,`image`],output:[`text`]},pricing:{input:3,output:15,cached_input:.3,cache_write:3.75},context_window:2e5,performance:4,speed:3,model_type:`chat`,tools:[`function_calling`],page_url:`https://cursor.com/docs/models-and-pricing#claude-4-sonnet`,pricing_notes:[`Hidden by default; Thinking variant counts as 2 requests in legacy pricing`]},{id:`claude-4.5-haiku`,name:`Claude 4.5 Haiku`,created_by:`anthropic`,source:`official`,last_updated:`2026-03-23`,family:`claude-haiku`,capabilities:{streaming:!0,tool_call:!0,vision:!0,reasoning:!0},modalities:{input:[`text`,`image`],output:[`text`]},pricing:{input:1,output:5,cached_input:.1,cache_write:1.25},context_window:2e5,performance:3,speed:4,model_type:`chat`,tools:[`function_calling`],page_url:`https://cursor.com/docs/models-and-pricing#claude-4-5-haiku`,pricing_notes:[`Hidden by default; Bedrock/Vertex: regional endpoints +10% surcharge; Cache: writes 1.25x, reads 0.1x`]},{id:`claude-4.5-opus`,name:`Claude 4.5 Opus`,created_by:`anthropic`,source:`official`,last_updated:`2026-03-23`,family:`claude-opus`,capabilities:{streaming:!0,tool_call:!0,reasoning:!0,vision:!0},modalities:{input:[`text`,`image`],output:[`text`]},pricing:{input:5,output:25,cached_input:.5,cache_write:6.25},context_window:2e5,performance:5,speed:3,model_type:`chat`,tools:[`function_calling`],page_url:`https://cursor.com/docs/models-and-pricing#claude-opus-4-5`,pricing_notes:[`Hidden by default; Requires Max Mode on request-based plans`]},{id:`claude-4.5-sonnet`,name:`Claude 4.5 Sonnet`,created_by:`anthropic`,source:`official`,last_updated:`2026-03-23`,family:`claude-sonnet`,capabilities:{streaming:!0,tool_call:!0,reasoning:!0,vision:!0},modalities:{input:[`text`,`image`],output:[`text`]},pricing:{input:3,output:15,cached_input:.3,cache_write:3.75},context_window:2e5,max_context_window:1e6,performance:4,speed:3,model_type:`chat`,tools:[`function_calling`],page_url:`https://cursor.com/docs/models-and-pricing#claude-4-5-sonnet`,pricing_notes:[`Hidden by default; Requires Max Mode on request-based plans; The cost is 2x when the input exceeds 200k tokens`]},{id:`claude-4.6-opus-fast`,name:`Claude 4.6 Opus (Fast mode)`,created_by:`anthropic`,source:`official`,last_updated:`2026-03-23`,family:`claude-opus`,capabilities:{streaming:!0,tool_call:!0,reasoning:!0,vision:!0},modalities:{input:[`text`,`image`],output:[`text`]},pricing:{input:30,output:150,cached_input:3,cache_write:37.5},context_window:2e5,max_context_window:1e6,performance:5,speed:4,model_type:`chat`,tools:[`function_calling`],page_url:`https://cursor.com/docs/models-and-pricing#claude-opus-4-6-fast`,pricing_notes:[`Hidden by default; Requires Max Mode on request-based plans; Limited research preview; Up to 1M tokens in Max Mode at the same per-token rates as shorter context`]},{id:`claude-4.6-opus`,name:`Claude 4.6 Opus`,created_by:`anthropic`,source:`official`,last_updated:`2026-03-23`,family:`claude-opus`,capabilities:{streaming:!0,tool_call:!0,reasoning:!0,vision:!0},modalities:{input:[`text`,`image`],output:[`text`]},pricing:{input:5,output:25,cached_input:.5,cache_write:6.25},context_window:2e5,max_context_window:1e6,performance:5,speed:3,model_type:`chat`,tools:[`function_calling`],page_url:`https://cursor.com/docs/models-and-pricing#claude-opus-4-6`,pricing_notes:[`Requires Max Mode on request-based plans; Up to 1M tokens in Max Mode at the same per-token rates (no long-context surcharge)`]},{id:`claude-4.6-sonnet`,name:`Claude 4.6 Sonnet`,created_by:`anthropic`,source:`official`,last_updated:`2026-03-23`,family:`claude-sonnet`,capabilities:{streaming:!0,tool_call:!0,reasoning:!0,vision:!0},modalities:{input:[`text`,`image`],output:[`text`]},pricing:{input:3,output:15,cached_input:.3,cache_write:3.75},context_window:2e5,max_context_window:1e6,performance:4,speed:3,model_type:`chat`,tools:[`function_calling`],page_url:`https://cursor.com/docs/models-and-pricing#claude-4-6-sonnet`,pricing_notes:[`Requires Max Mode on request-based plans; The cost is 2x when the input exceeds 200k tokens`]},{id:`composer-1.5`,name:`Composer 1.5`,created_by:`cursor`,source:`official`,last_updated:`2026-03-23`,capabilities:{streaming:!0,tool_call:!0,vision:!0,reasoning:!0},modalities:{input:[`text`,`image`],output:[`text`]},pricing:{input:3.5,output:17.5,cached_input:.35},context_window:2e5,performance:4,speed:4,tools:[`function_calling`],page_url:`https://cursor.com/docs/models-and-pricing#cursor-composer-1-5`,model_type:`chat`,pricing_notes:[`Hidden by default`]},{id:`composer-1`,name:`Composer 1`,created_by:`cursor`,source:`official`,last_updated:`2026-03-23`,capabilities:{streaming:!0,tool_call:!0,vision:!0},modalities:{input:[`text`,`image`],output:[`text`]},pricing:{input:1.25,output:10,cached_input:.125},context_window:2e5,performance:4,speed:3,tools:[`function_calling`],page_url:`https://cursor.com/docs/models-and-pricing#cursor-composer-1`,model_type:`chat`,pricing_notes:[`Hidden by default`]},{id:`composer-2`,name:`Composer 2`,created_by:`cursor`,source:`official`,last_updated:`2026-03-23`,capabilities:{streaming:!0,tool_call:!0,vision:!0,reasoning:!0},modalities:{input:[`text`,`image`],output:[`text`]},pricing:{input:.5,output:2.5,cached_input:.2},context_window:2e5,performance:5,speed:4,tools:[`function_calling`],page_url:`https://cursor.com/docs/models-and-pricing#cursor-composer-2`,model_type:`chat`},{id:`gemini-2.5-flash`,name:`Gemini 2.5 Flash`,created_by:`google`,source:`official`,last_updated:`2026-03-23`,family:`gemini-2.5`,capabilities:{streaming:!0,tool_call:!0,vision:!0,reasoning:!0,structured_output:!0,batch:!0},modalities:{input:[`text`,`image`],output:[`text`]},pricing:{input:.3,output:2.5,cached_input:.03},context_window:2e5,max_context_window:1e6,performance:3,speed:4,model_type:`chat`,tools:[`function_calling`],page_url:`https://cursor.com/docs/models-and-pricing#gemini-2-5-flash`,pricing_notes:[`Hidden by default`],max_output_tokens:65536,knowledge_cutoff:`2025-01`,license:`proprietary`,open_weight:!1},{id:`gemini-3-flash`,name:`Gemini 3 Flash`,created_by:`google`,source:`official`,last_updated:`2026-03-23`,family:`gemini-3`,capabilities:{streaming:!0,tool_call:!0,vision:!0,reasoning:!0},modalities:{input:[`text`,`image`],output:[`text`]},pricing:{input:.5,output:3,cached_input:.05},context_window:2e5,max_context_window:1e6,performance:3,speed:4,model_type:`chat`,tools:[`function_calling`],page_url:`https://cursor.com/docs/models-and-pricing#gemini-3-flash`,pricing_notes:[`Hidden by default`]},{id:`gemini-3-pro-image-preview`,name:`Gemini 3 Pro Image Preview`,created_by:`google`,source:`official`,last_updated:`2026-03-23`,family:`gemini-3`,capabilities:{streaming:!0,tool_call:!0,vision:!0,structured_output:!0,reasoning:!0,batch:!0},modalities:{input:[`text`,`image`],output:[`text`,`image`]},pricing:{input:2,output:12,cached_input:.2},context_window:2e5,max_context_window:1e6,performance:4,speed:3,model_type:`chat`,tools:[`function_calling`],page_url:`https://cursor.com/docs/models-and-pricing#gemini-3-pro-image-preview`,pricing_notes:[`Hidden by default; Native image generation model optimized for speed, flexibility, and contextual understanding; Text input and output priced the same as Gemini 3 Pro; Image output: $120/1M tokens (\\~$0.134 per 1K/2K image, \\~$0.24 per 4K image); Preview models may change before becoming stable and have more restrictive rate limits`],max_output_tokens:32768,knowledge_cutoff:`2025-01`,license:`proprietary`,open_weight:!1},{id:`gemini-3-pro`,name:`Gemini 3 Pro`,created_by:`google`,source:`official`,last_updated:`2026-03-23`,family:`gemini-3`,capabilities:{streaming:!0,tool_call:!0,vision:!0,reasoning:!0},modalities:{input:[`text`,`image`],output:[`text`]},pricing:{input:2,output:12,cached_input:.2},context_window:2e5,max_context_window:1e6,performance:4,speed:3,model_type:`chat`,tools:[`function_calling`],page_url:`https://cursor.com/docs/models-and-pricing#gemini-3-pro`,pricing_notes:[`Hidden by default`]},{id:`gemini-3.1-pro`,name:`Gemini 3.1 Pro`,created_by:`google`,source:`official`,last_updated:`2026-03-23`,family:`gemini-3.1`,capabilities:{streaming:!0,tool_call:!0,vision:!0,reasoning:!0},modalities:{input:[`text`,`image`],output:[`text`]},pricing:{input:2,output:12,cached_input:.2},context_window:2e5,max_context_window:1e6,performance:5,speed:3,model_type:`chat`,tools:[`function_calling`],page_url:`https://cursor.com/docs/models-and-pricing#gemini-3-1-pro`},{id:`gpt-5-codex`,name:`GPT-5-Codex`,created_by:`openai`,source:`official`,last_updated:`2026-03-23`,family:`gpt-5`,capabilities:{streaming:!0,tool_call:!0,reasoning:!0,vision:!0,structured_output:!0},modalities:{input:[`text`,`image`],output:[`text`]},pricing:{input:1.25,output:10,cached_input:.125},context_window:272e3,performance:4,speed:3,model_type:`chat`,tools:[`function_calling`],page_url:`https://cursor.com/docs/models-and-pricing#gpt-5-codex`,pricing_notes:[`Hidden by default; Agentic and reasoning capabilities`],description:`GPT-5-Codex is a version of GPT-5 optimized for agentic coding tasks in [Codex](https://developers.openai.com/codex) or similar environments.`,tagline:`A version of GPT-5 optimized for agentic coding in Codex`,max_output_tokens:128e3,max_input_tokens:272e3,knowledge_cutoff:`2024-09`,license:`proprietary`,open_weight:!1},{id:`gpt-5-fast`,name:`GPT-5 Fast`,created_by:`openai`,source:`official`,last_updated:`2026-03-23`,family:`gpt-5`,capabilities:{streaming:!0,tool_call:!0,reasoning:!0,vision:!0},modalities:{input:[`text`,`image`],output:[`text`]},pricing:{input:2.5,output:20,cached_input:.25},context_window:272e3,performance:4,speed:4,model_type:`chat`,tools:[`function_calling`],page_url:`https://cursor.com/docs/models-and-pricing#gpt-5-fast`,pricing_notes:[`Hidden by default; Faster speed but 2x price; Available reasoning effort variants are gpt-5-high-fast, gpt-5-low-fast`]},{id:`gpt-5-mini`,name:`GPT-5 Mini`,created_by:`openai`,source:`official`,last_updated:`2026-03-23`,family:`gpt-5`,capabilities:{streaming:!0,tool_call:!0,vision:!0,reasoning:!0,structured_output:!0},modalities:{input:[`text`,`image`],output:[`text`]},pricing:{input:.25,output:2,cached_input:.025},context_window:272e3,performance:3,speed:4,model_type:`chat`,tools:[`function_calling`],page_url:`https://cursor.com/docs/models-and-pricing#gpt-5-mini`,pricing_notes:[`Hidden by default`],description:`GPT-5 mini is a faster, more cost-efficient version of GPT-5. It's great for`,tagline:`Near-frontier intelligence for cost sensitive, low latency, high volume workloads`,max_output_tokens:128e3,max_input_tokens:272e3,knowledge_cutoff:`2024-05`,license:`proprietary`,open_weight:!1},{id:`gpt-5.1-codex-max`,name:`GPT-5.1 Codex Max`,created_by:`openai`,source:`official`,last_updated:`2026-03-23`,family:`gpt-5.1`,capabilities:{streaming:!0,tool_call:!0,reasoning:!0,vision:!0,structured_output:!0},modalities:{input:[`text`,`image`],output:[`text`]},pricing:{input:1.25,output:10,cached_input:.125},context_window:272e3,performance:4,speed:3,model_type:`chat`,tools:[`function_calling`],page_url:`https://cursor.com/docs/models-and-pricing#gpt-5-1-codex-max`,pricing_notes:[`Hidden by default`],description:`GPT‑5.1-Codex-Max is purpose-built for agentic coding.`,tagline:`A version of GPT-5.1-codex optimized for long running tasks.`,max_output_tokens:128e3,knowledge_cutoff:`2024-09`,license:`proprietary`,open_weight:!1},{id:`gpt-5.1-codex-mini`,name:`GPT-5.1 Codex Mini`,created_by:`openai`,source:`official`,last_updated:`2026-03-23`,family:`gpt-5.1`,capabilities:{streaming:!0,tool_call:!0,reasoning:!0,vision:!0,structured_output:!0},modalities:{input:[`text`,`image`],output:[`text`]},pricing:{input:.25,output:2,cached_input:.025},context_window:272e3,performance:3,speed:4,model_type:`chat`,tools:[`function_calling`],page_url:`https://cursor.com/docs/models-and-pricing#gpt-5-1-codex-mini`,pricing_notes:[`Hidden by default; Agentic and reasoning capabilities; 4x rate limits compared to GPT-5.1 Codex`],description:`GPT-5.1 Codex mini is a smaller, more cost-effective, less-capable version of GPT-5.1-Codex.`,tagline:`Smaller, more cost-effective, less-capable version of GPT-5.1-Codex`,max_output_tokens:128e3,knowledge_cutoff:`2024-09`,license:`proprietary`,open_weight:!1},{id:`gpt-5.1-codex`,name:`GPT-5.1 Codex`,created_by:`openai`,source:`official`,last_updated:`2026-03-23`,family:`gpt-5.1`,capabilities:{streaming:!0,tool_call:!0,reasoning:!0,vision:!0,structured_output:!0},modalities:{input:[`text`,`image`],output:[`text`]},pricing:{input:1.25,output:10,cached_input:.125},context_window:272e3,performance:4,speed:3,model_type:`chat`,tools:[`function_calling`],page_url:`https://cursor.com/docs/models-and-pricing#gpt-5-1-codex`,pricing_notes:[`Hidden by default; Agentic and reasoning capabilities`],description:`GPT-5.1-Codex is a version of GPT-5 optimized for agentic coding tasks in [Codex](https://developers.openai.com/codex) or similar environments.`,tagline:`A version of GPT-5.1 optimized for agentic coding in Codex.`,max_output_tokens:128e3,knowledge_cutoff:`2024-09`,license:`proprietary`,open_weight:!1},{id:`gpt-5.2-codex`,name:`GPT-5.2 Codex`,created_by:`openai`,source:`official`,last_updated:`2026-03-23`,family:`gpt-5.2`,capabilities:{streaming:!0,tool_call:!0,reasoning:!0,vision:!0,structured_output:!0},modalities:{input:[`text`,`image`],output:[`text`]},pricing:{input:1.75,output:14,cached_input:.175},context_window:272e3,performance:4,speed:3,model_type:`chat`,tools:[`function_calling`],page_url:`https://cursor.com/docs/models-and-pricing#gpt-5-2-codex`,pricing_notes:[`Hidden by default; Agentic and reasoning capabilities`],description:"GPT-5.2-Codex is an upgraded version of GPT-5.2 optimized for agentic coding tasks in [Codex](https://developers.openai.com/codex) or similar environments.\\nGPT-5.2-Codex supports `low`, `medium`, `high`, and `xhigh` reasoning effort settings.\\nIf you want to learn more about prompting GPT-5.2-Codex, refer to our [dedicated guide](/cookbook/examples/gpt-5/codex_prompting_guide).\\n",tagline:`Our most intelligent coding model optimized for long-horizon, agentic coding tasks.`,max_output_tokens:128e3,max_input_tokens:272e3,knowledge_cutoff:`2025-08`,license:`proprietary`,open_weight:!1},{id:`gpt-5.2`,name:`GPT-5.2`,created_by:`openai`,source:`official`,last_updated:`2026-03-23`,family:`gpt-5.2`,capabilities:{streaming:!0,tool_call:!0,reasoning:!0,vision:!0,structured_output:!0},modalities:{input:[`text`,`image`],output:[`text`]},pricing:{input:1.75,output:14,cached_input:.175},context_window:272e3,performance:4,speed:3,model_type:`chat`,tools:[`function_calling`],page_url:`https://cursor.com/docs/models-and-pricing#gpt-5-2`,pricing_notes:[`Hidden by default; Agentic and reasoning capabilities; Available reasoning effort variant is gpt-5.2-high`],description:`GPT-5.2 is our previous frontier model for complex professional work.`,tagline:`Previous frontier model for professional work with configurable reasoning effort`,max_output_tokens:128e3,knowledge_cutoff:`2025-08`,license:`proprietary`,open_weight:!1},{id:`gpt-5.3-codex`,name:`GPT-5.3 Codex`,created_by:`openai`,source:`official`,last_updated:`2026-03-23`,family:`gpt-5.3`,capabilities:{streaming:!0,tool_call:!0,reasoning:!0,vision:!0,structured_output:!0},modalities:{input:[`text`,`image`],output:[`text`]},pricing:{input:1.75,output:14,cached_input:.175},context_window:272e3,performance:5,speed:3,model_type:`chat`,tools:[`function_calling`],page_url:`https://cursor.com/docs/models-and-pricing#gpt-5-3-codex`,pricing_notes:[`Requires Max Mode on request-based plans; Agentic and reasoning capabilities; Available reasoning effort variant is gpt-5.3-codex-high`],description:"GPT-5.3-Codex is optimized for agentic coding tasks in [Codex](https://developers.openai.com/codex) or similar environments.\\nGPT-5.3-Codex supports `low`, `medium`, `high`, and `xhigh` reasoning effort settings.\\nIf you want to learn more about prompting GPT-5.3-Codex, refer to our [dedicated guide](/cookbook/examples/gpt-5/codex_prompting_guide).\\n",tagline:`The most capable agentic coding model to date.`,max_output_tokens:128e3,max_input_tokens:272e3,knowledge_cutoff:`2025-08`,license:`proprietary`,open_weight:!1},{id:`gpt-5.4-mini`,name:`GPT-5.4 Mini`,created_by:`openai`,source:`official`,last_updated:`2026-03-23`,family:`gpt-5.4`,capabilities:{streaming:!0,tool_call:!0,reasoning:!0,vision:!0,structured_output:!0},modalities:{input:[`text`,`image`],output:[`text`]},pricing:{input:.75,output:4.5,cached_input:.075},context_window:272e3,performance:4,speed:4,model_type:`chat`,tools:[`function_calling`],page_url:`https://cursor.com/docs/models-and-pricing#gpt-5-4-mini`,pricing_notes:[`Hidden by default; Smaller, faster variant of GPT-5.4; 90% discount on cached input tokens`],description:`GPT-5.4 mini brings the strengths of GPT-5.4 to a faster, more efficient`,tagline:`Our strongest mini model yet for coding, computer use, and subagents`,max_output_tokens:128e3,max_input_tokens:272e3,knowledge_cutoff:`2025-08`,license:`proprietary`,open_weight:!1},{id:`gpt-5.4-nano`,name:`GPT-5.4 Nano`,created_by:`openai`,source:`official`,last_updated:`2026-03-23`,family:`gpt-5.4`,capabilities:{streaming:!0,tool_call:!0,reasoning:!0,vision:!0,structured_output:!0},modalities:{input:[`text`,`image`],output:[`text`]},pricing:{input:.2,output:1.25,cached_input:.02},context_window:272e3,performance:3,speed:4,model_type:`chat`,tools:[`function_calling`],page_url:`https://cursor.com/docs/models-and-pricing#gpt-5-4-nano`,pricing_notes:[`Hidden by default; Smallest GPT-5.4 variant, optimized for cost; 90% discount on cached input tokens`],description:`GPT-5.4 nano is designed for tasks where speed and cost matter most like`,tagline:`Our cheapest GPT-5.4-class model for simple high-volume tasks`,max_output_tokens:128e3,max_input_tokens:272e3,knowledge_cutoff:`2025-08`,license:`proprietary`,open_weight:!1},{id:`gpt-5.4`,name:`GPT-5.4`,created_by:`openai`,source:`official`,last_updated:`2026-03-23`,family:`gpt-5.4`,capabilities:{streaming:!0,tool_call:!0,reasoning:!0,vision:!0,structured_output:!0},modalities:{input:[`text`,`image`],output:[`text`]},pricing:{input:2.5,output:15,cached_input:.25},context_window:272e3,max_context_window:1e6,performance:5,speed:3,model_type:`chat`,tools:[`function_calling`],page_url:`https://cursor.com/docs/models-and-pricing#gpt-5-4`,pricing_notes:[`Requires Max Mode on request-based plans; Agentic and reasoning capabilities; 90% discount on cached input tokens; Fast mode is 15% faster with 2x pricing; Long context (Max Mode) supports up to 1M tokens with 2x input pricing`],description:`GPT-5.4 is our frontier model for complex professional work.`,tagline:`Best intelligence at scale for agentic, coding, and professional workflows`,max_output_tokens:128e3,knowledge_cutoff:`2025-08`,license:`proprietary`,open_weight:!1},{id:`gpt-5`,name:`GPT-5`,created_by:`openai`,source:`official`,last_updated:`2026-03-23`,family:`gpt-5`,capabilities:{streaming:!0,tool_call:!0,reasoning:!0,vision:!0,structured_output:!0},modalities:{input:[`text`,`image`],output:[`text`]},pricing:{input:1.25,output:10,cached_input:.125},context_window:272e3,performance:4,speed:3,model_type:`chat`,tools:[`function_calling`],page_url:`https://cursor.com/docs/models-and-pricing#gpt-5`,pricing_notes:[`Hidden by default; Agentic and reasoning capabilities; Available reasoning effort variant is gpt-5-high`],description:`GPT-5 is our previous model for coding, reasoning, and agentic tasks across domains.`,tagline:`Previous intelligent reasoning model for coding and agentic tasks with configurable reasoning effort`,max_output_tokens:128e3,max_input_tokens:272e3,knowledge_cutoff:`2024-09`,license:`proprietary`,open_weight:!1},{id:`grok-4.20`,name:`Grok 4.20`,created_by:`xai`,source:`official`,last_updated:`2026-03-23`,family:`grok-4.20`,capabilities:{streaming:!0,tool_call:!0,reasoning:!0},modalities:{input:[`text`],output:[`text`]},pricing:{input:2,output:6,cached_input:.2},context_window:2e5,max_context_window:2e6,performance:4,speed:4,model_type:`chat`,tools:[`function_calling`],page_url:`https://cursor.com/docs/models-and-pricing#grok-4-20`,pricing_notes:[`The cost is 2x when the input exceeds 200k tokens`]},{id:`kimi-k2.5`,name:`Kimi K2.5`,created_by:`moonshot`,source:`official`,last_updated:`2026-03-23`,capabilities:{streaming:!0,tool_call:!0,vision:!0,reasoning:!0},modalities:{input:[`text`,`image`],output:[`text`]},pricing:{input:.6,output:3,cached_input:.1},context_window:262e3,performance:4,speed:3,family:`kimi-k2.5`,model_type:`chat`,tools:[`function_calling`],page_url:`https://cursor.com/docs/models-and-pricing#kimi-k2-5`,pricing_notes:[`Hidden by default`],description:`Kimi's most intelligent model with native multimodal support, thinking/non-thinking modes.`,tagline:`Kimi's most intelligent model with native multimodal support, thinking/non-thinking modes.`,license:`mit`,open_weight:!0}]},t=e.models.map(t=>({...t,provider:e.id}));exports.models=t,exports.provider=e;