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,698 +1,3 @@
1
- Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- //#region src/providers/anthropic.ts
3
- const provider = {
4
- "id": "anthropic",
5
- "name": "Anthropic",
6
- "region": "US",
7
- "url": "https://anthropic.com",
8
- "api_url": "https://api.anthropic.com/v1",
9
- "docs_url": "https://docs.anthropic.com",
10
- "pricing_url": "https://anthropic.com/pricing",
11
- "icon": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"currentColor\" fill-rule=\"evenodd\">\n <path d=\"M13.827 3.52h3.603L24 20h-3.603l-6.57-16.48zm-7.258 0h3.767L16.906 20h-3.674l-1.343-3.461H5.017l-1.344 3.46H0L6.57 3.522zm4.132 9.959L8.453 7.687 6.205 13.48H10.7z\"/>\n</svg>",
12
- "models": [
13
- {
14
- "id": "claude-3-5-haiku",
15
- "name": "Claude Haiku 3.5",
16
- "created_by": "anthropic",
17
- "source": "official",
18
- "last_updated": "2026-03-21",
19
- "family": "claude-haiku",
20
- "capabilities": {
21
- "streaming": true,
22
- "vision": true,
23
- "tool_call": true
24
- },
25
- "modalities": {
26
- "input": ["text", "image"],
27
- "output": ["text"]
28
- },
29
- "pricing": {
30
- "input": .8,
31
- "output": 4,
32
- "cached_input": .08,
33
- "batch_input": .4,
34
- "batch_output": 2,
35
- "cache_write": 1
36
- },
37
- "tools": ["function_calling"],
38
- "endpoints": ["messages"]
39
- },
40
- {
41
- "id": "claude-3-7-sonnet",
42
- "name": "Claude Sonnet 3.7",
43
- "created_by": "anthropic",
44
- "source": "official",
45
- "last_updated": "2026-03-21",
46
- "family": "claude-sonnet",
47
- "capabilities": {
48
- "streaming": true,
49
- "vision": true,
50
- "tool_call": true
51
- },
52
- "modalities": {
53
- "input": ["text", "image"],
54
- "output": ["text"]
55
- },
56
- "pricing": {
57
- "input": 3,
58
- "output": 15,
59
- "cached_input": .3,
60
- "batch_input": 1.5,
61
- "batch_output": 7.5,
62
- "cache_write": 3.75
63
- },
64
- "tools": ["function_calling"],
65
- "endpoints": ["messages"]
66
- },
67
- {
68
- "id": "claude-3-haiku-20240307",
69
- "name": "Claude Haiku 3",
70
- "created_by": "anthropic",
71
- "source": "official",
72
- "last_updated": "2026-03-21",
73
- "family": "claude-haiku",
74
- "status": "deprecated",
75
- "context_window": 2e5,
76
- "max_output_tokens": 4e3,
77
- "speed": 4,
78
- "capabilities": {
79
- "streaming": true,
80
- "vision": true,
81
- "tool_call": true
82
- },
83
- "modalities": {
84
- "input": ["text", "image"],
85
- "output": ["text"]
86
- },
87
- "pricing": {
88
- "input": .25,
89
- "output": 1.25,
90
- "cached_input": .03,
91
- "batch_input": .125,
92
- "batch_output": .625,
93
- "cache_write": .3
94
- },
95
- "tools": ["function_calling"],
96
- "endpoints": ["messages"]
97
- },
98
- {
99
- "id": "claude-3-haiku",
100
- "name": "Claude Haiku 3",
101
- "created_by": "anthropic",
102
- "source": "official",
103
- "last_updated": "2026-03-21",
104
- "family": "claude-haiku",
105
- "capabilities": {
106
- "streaming": true,
107
- "vision": true,
108
- "tool_call": true
109
- },
110
- "modalities": {
111
- "input": ["text", "image"],
112
- "output": ["text"]
113
- },
114
- "pricing": {
115
- "input": .25,
116
- "output": 1.25,
117
- "cached_input": .03,
118
- "batch_input": .125,
119
- "batch_output": .625,
120
- "cache_write": .3
121
- },
122
- "tools": ["function_calling"],
123
- "endpoints": ["messages"]
124
- },
125
- {
126
- "id": "claude-3-opus",
127
- "name": "Claude Opus 3",
128
- "created_by": "anthropic",
129
- "source": "official",
130
- "last_updated": "2026-03-21",
131
- "family": "claude-opus",
132
- "capabilities": {
133
- "streaming": true,
134
- "vision": true,
135
- "tool_call": true
136
- },
137
- "modalities": {
138
- "input": ["text", "image"],
139
- "output": ["text"]
140
- },
141
- "pricing": {
142
- "input": 15,
143
- "output": 75,
144
- "cached_input": 1.5,
145
- "batch_input": 7.5,
146
- "batch_output": 37.5,
147
- "cache_write": 18.75
148
- },
149
- "tools": ["function_calling"],
150
- "endpoints": ["messages"]
151
- },
152
- {
153
- "id": "claude-haiku-4-5-20251001",
154
- "name": "Claude Haiku 4.5",
155
- "created_by": "anthropic",
156
- "source": "official",
157
- "last_updated": "2026-03-21",
158
- "family": "claude-haiku",
159
- "description": "The fastest model with near-frontier intelligence",
160
- "status": "active",
161
- "knowledge_cutoff": "2025-02",
162
- "context_window": 2e5,
163
- "max_output_tokens": 64e3,
164
- "alias": "claude-haiku-4-5",
165
- "speed": 5,
166
- "capabilities": {
167
- "streaming": true,
168
- "vision": true,
169
- "tool_call": true,
170
- "reasoning": true
171
- },
172
- "modalities": {
173
- "input": ["text", "image"],
174
- "output": ["text"]
175
- },
176
- "pricing": {
177
- "input": 1,
178
- "output": 5,
179
- "cached_input": .1,
180
- "batch_input": .5,
181
- "batch_output": 2.5,
182
- "cache_write": 1.25
183
- },
184
- "tagline": "The fastest model with near-frontier intelligence",
185
- "tools": [
186
- "function_calling",
187
- "computer_use",
188
- "mcp"
189
- ],
190
- "endpoints": ["messages"]
191
- },
192
- {
193
- "id": "claude-haiku-4-5",
194
- "name": "Claude Haiku 4.5",
195
- "created_by": "anthropic",
196
- "source": "official",
197
- "last_updated": "2026-03-21",
198
- "family": "claude-haiku",
199
- "description": "The fastest model with near-frontier intelligence",
200
- "status": "active",
201
- "knowledge_cutoff": "2025-02",
202
- "context_window": 2e5,
203
- "max_output_tokens": 64e3,
204
- "speed": 5,
205
- "capabilities": {
206
- "streaming": true,
207
- "vision": true,
208
- "tool_call": true,
209
- "reasoning": true
210
- },
211
- "modalities": {
212
- "input": ["text", "image"],
213
- "output": ["text"]
214
- },
215
- "pricing": {
216
- "input": 1,
217
- "output": 5,
218
- "cached_input": .1,
219
- "batch_input": .5,
220
- "batch_output": 2.5,
221
- "cache_write": 1.25
222
- },
223
- "snapshots": ["claude-haiku-4-5-20251001"],
224
- "tagline": "The fastest model with near-frontier intelligence",
225
- "tools": [
226
- "function_calling",
227
- "computer_use",
228
- "mcp"
229
- ],
230
- "endpoints": ["messages"]
231
- },
232
- {
233
- "id": "claude-opus-4-0",
234
- "name": "Claude Opus 4",
235
- "created_by": "anthropic",
236
- "source": "official",
237
- "last_updated": "2026-03-21",
238
- "family": "claude-opus",
239
- "status": "active",
240
- "knowledge_cutoff": "2025-01",
241
- "context_window": 2e5,
242
- "max_output_tokens": 32e3,
243
- "speed": 3,
244
- "capabilities": {
245
- "streaming": true,
246
- "vision": true,
247
- "tool_call": true,
248
- "reasoning": true
249
- },
250
- "modalities": {
251
- "input": ["text", "image"],
252
- "output": ["text"]
253
- },
254
- "pricing": {
255
- "input": 15,
256
- "output": 75,
257
- "cached_input": 1.5,
258
- "batch_input": 7.5,
259
- "batch_output": 37.5,
260
- "cache_write": 18.75
261
- },
262
- "snapshots": ["claude-opus-4-20250514"],
263
- "tools": [
264
- "function_calling",
265
- "computer_use",
266
- "mcp"
267
- ],
268
- "endpoints": ["messages"]
269
- },
270
- {
271
- "id": "claude-opus-4-1-20250805",
272
- "name": "Claude Opus 4.1",
273
- "created_by": "anthropic",
274
- "source": "official",
275
- "last_updated": "2026-03-21",
276
- "family": "claude-opus",
277
- "status": "active",
278
- "knowledge_cutoff": "2025-01",
279
- "context_window": 2e5,
280
- "max_output_tokens": 32e3,
281
- "alias": "claude-opus-4-1",
282
- "speed": 3,
283
- "capabilities": {
284
- "streaming": true,
285
- "vision": true,
286
- "tool_call": true,
287
- "reasoning": true
288
- },
289
- "modalities": {
290
- "input": ["text", "image"],
291
- "output": ["text"]
292
- },
293
- "pricing": {
294
- "input": 15,
295
- "output": 75,
296
- "cached_input": 1.5,
297
- "batch_input": 7.5,
298
- "batch_output": 37.5,
299
- "cache_write": 18.75
300
- },
301
- "tools": [
302
- "function_calling",
303
- "computer_use",
304
- "mcp"
305
- ],
306
- "endpoints": ["messages"]
307
- },
308
- {
309
- "id": "claude-opus-4-1",
310
- "name": "Claude Opus 4.1",
311
- "created_by": "anthropic",
312
- "source": "official",
313
- "last_updated": "2026-03-21",
314
- "family": "claude-opus",
315
- "status": "active",
316
- "knowledge_cutoff": "2025-01",
317
- "context_window": 2e5,
318
- "max_output_tokens": 32e3,
319
- "speed": 3,
320
- "capabilities": {
321
- "streaming": true,
322
- "vision": true,
323
- "tool_call": true,
324
- "reasoning": true
325
- },
326
- "modalities": {
327
- "input": ["text", "image"],
328
- "output": ["text"]
329
- },
330
- "pricing": {
331
- "input": 15,
332
- "output": 75,
333
- "cached_input": 1.5,
334
- "batch_input": 7.5,
335
- "batch_output": 37.5,
336
- "cache_write": 18.75
337
- },
338
- "snapshots": ["claude-opus-4-1-20250805"],
339
- "tools": [
340
- "function_calling",
341
- "computer_use",
342
- "mcp"
343
- ],
344
- "endpoints": ["messages"]
345
- },
346
- {
347
- "id": "claude-opus-4-20250514",
348
- "name": "Claude Opus 4",
349
- "created_by": "anthropic",
350
- "source": "official",
351
- "last_updated": "2026-03-21",
352
- "family": "claude-opus",
353
- "status": "active",
354
- "knowledge_cutoff": "2025-01",
355
- "context_window": 2e5,
356
- "max_output_tokens": 32e3,
357
- "alias": "claude-opus-4-0",
358
- "speed": 3,
359
- "capabilities": {
360
- "streaming": true,
361
- "vision": true,
362
- "tool_call": true,
363
- "reasoning": true
364
- },
365
- "modalities": {
366
- "input": ["text", "image"],
367
- "output": ["text"]
368
- },
369
- "pricing": {
370
- "input": 15,
371
- "output": 75,
372
- "cached_input": 1.5,
373
- "batch_input": 7.5,
374
- "batch_output": 37.5,
375
- "cache_write": 18.75
376
- },
377
- "tools": [
378
- "function_calling",
379
- "computer_use",
380
- "mcp"
381
- ],
382
- "endpoints": ["messages"]
383
- },
384
- {
385
- "id": "claude-opus-4-5-20251101",
386
- "name": "Claude Opus 4.5",
387
- "created_by": "anthropic",
388
- "source": "official",
389
- "last_updated": "2026-03-21",
390
- "family": "claude-opus",
391
- "status": "active",
392
- "knowledge_cutoff": "2025-05",
393
- "context_window": 2e5,
394
- "max_output_tokens": 64e3,
395
- "alias": "claude-opus-4-5",
396
- "speed": 3,
397
- "capabilities": {
398
- "streaming": true,
399
- "vision": true,
400
- "tool_call": true,
401
- "reasoning": true
402
- },
403
- "modalities": {
404
- "input": ["text", "image"],
405
- "output": ["text"]
406
- },
407
- "pricing": {
408
- "input": 5,
409
- "output": 25,
410
- "cached_input": .5,
411
- "batch_input": 2.5,
412
- "batch_output": 12.5,
413
- "cache_write": 6.25
414
- },
415
- "tools": [
416
- "function_calling",
417
- "computer_use",
418
- "mcp"
419
- ],
420
- "endpoints": ["messages"]
421
- },
422
- {
423
- "id": "claude-opus-4-5",
424
- "name": "Claude Opus 4.5",
425
- "created_by": "anthropic",
426
- "source": "official",
427
- "last_updated": "2026-03-21",
428
- "family": "claude-opus",
429
- "status": "active",
430
- "knowledge_cutoff": "2025-05",
431
- "context_window": 2e5,
432
- "max_output_tokens": 64e3,
433
- "speed": 3,
434
- "capabilities": {
435
- "streaming": true,
436
- "vision": true,
437
- "tool_call": true,
438
- "reasoning": true
439
- },
440
- "modalities": {
441
- "input": ["text", "image"],
442
- "output": ["text"]
443
- },
444
- "pricing": {
445
- "input": 5,
446
- "output": 25,
447
- "cached_input": .5,
448
- "batch_input": 2.5,
449
- "batch_output": 12.5,
450
- "cache_write": 6.25
451
- },
452
- "snapshots": ["claude-opus-4-5-20251101"],
453
- "tools": [
454
- "function_calling",
455
- "computer_use",
456
- "mcp"
457
- ],
458
- "endpoints": ["messages"]
459
- },
460
- {
461
- "id": "claude-opus-4-6",
462
- "name": "Claude Opus 4.6",
463
- "created_by": "anthropic",
464
- "source": "official",
465
- "last_updated": "2026-03-21",
466
- "family": "claude-opus",
467
- "description": "The most intelligent model for building agents and coding",
468
- "status": "active",
469
- "knowledge_cutoff": "2025-05",
470
- "context_window": 1e6,
471
- "max_output_tokens": 128e3,
472
- "speed": 3,
473
- "capabilities": {
474
- "streaming": true,
475
- "vision": true,
476
- "tool_call": true,
477
- "reasoning": true
478
- },
479
- "modalities": {
480
- "input": ["text", "image"],
481
- "output": ["text"]
482
- },
483
- "pricing": {
484
- "input": 5,
485
- "output": 25,
486
- "cached_input": .5,
487
- "batch_input": 2.5,
488
- "batch_output": 12.5,
489
- "cache_write": 6.25
490
- },
491
- "tagline": "The most intelligent model for building agents and coding",
492
- "tools": [
493
- "function_calling",
494
- "computer_use",
495
- "mcp"
496
- ],
497
- "endpoints": ["messages"]
498
- },
499
- {
500
- "id": "claude-sonnet-4-0",
501
- "name": "Claude Sonnet 4",
502
- "created_by": "anthropic",
503
- "source": "official",
504
- "last_updated": "2026-03-21",
505
- "family": "claude-sonnet",
506
- "status": "active",
507
- "knowledge_cutoff": "2025-01",
508
- "context_window": 1e6,
509
- "max_output_tokens": 64e3,
510
- "speed": 4,
511
- "capabilities": {
512
- "streaming": true,
513
- "vision": true,
514
- "tool_call": true,
515
- "reasoning": true
516
- },
517
- "modalities": {
518
- "input": ["text", "image"],
519
- "output": ["text"]
520
- },
521
- "pricing": {
522
- "input": 3,
523
- "output": 15,
524
- "cached_input": .3,
525
- "batch_input": 1.5,
526
- "batch_output": 7.5,
527
- "cache_write": 3.75
528
- },
529
- "snapshots": ["claude-sonnet-4-20250514"],
530
- "tools": [
531
- "function_calling",
532
- "computer_use",
533
- "mcp"
534
- ],
535
- "endpoints": ["messages"]
536
- },
537
- {
538
- "id": "claude-sonnet-4-20250514",
539
- "name": "Claude Sonnet 4",
540
- "created_by": "anthropic",
541
- "source": "official",
542
- "last_updated": "2026-03-21",
543
- "family": "claude-sonnet",
544
- "status": "active",
545
- "knowledge_cutoff": "2025-01",
546
- "context_window": 1e6,
547
- "max_output_tokens": 64e3,
548
- "alias": "claude-sonnet-4-0",
549
- "speed": 4,
550
- "capabilities": {
551
- "streaming": true,
552
- "vision": true,
553
- "tool_call": true,
554
- "reasoning": true
555
- },
556
- "modalities": {
557
- "input": ["text", "image"],
558
- "output": ["text"]
559
- },
560
- "pricing": {
561
- "input": 3,
562
- "output": 15,
563
- "cached_input": .3,
564
- "batch_input": 1.5,
565
- "batch_output": 7.5,
566
- "cache_write": 3.75
567
- },
568
- "tools": [
569
- "function_calling",
570
- "computer_use",
571
- "mcp"
572
- ],
573
- "endpoints": ["messages"]
574
- },
575
- {
576
- "id": "claude-sonnet-4-5-20250929",
577
- "name": "Claude Sonnet 4.5",
578
- "created_by": "anthropic",
579
- "source": "official",
580
- "last_updated": "2026-03-21",
581
- "family": "claude-sonnet",
582
- "status": "active",
583
- "knowledge_cutoff": "2025-01",
584
- "context_window": 1e6,
585
- "max_output_tokens": 64e3,
586
- "alias": "claude-sonnet-4-5",
587
- "speed": 4,
588
- "capabilities": {
589
- "streaming": true,
590
- "vision": true,
591
- "tool_call": true,
592
- "reasoning": true
593
- },
594
- "modalities": {
595
- "input": ["text", "image"],
596
- "output": ["text"]
597
- },
598
- "pricing": {
599
- "input": 3,
600
- "output": 15,
601
- "cached_input": .3,
602
- "batch_input": 1.5,
603
- "batch_output": 7.5,
604
- "cache_write": 3.75
605
- },
606
- "tools": [
607
- "function_calling",
608
- "computer_use",
609
- "mcp"
610
- ],
611
- "endpoints": ["messages"]
612
- },
613
- {
614
- "id": "claude-sonnet-4-5",
615
- "name": "Claude Sonnet 4.5",
616
- "created_by": "anthropic",
617
- "source": "official",
618
- "last_updated": "2026-03-21",
619
- "family": "claude-sonnet",
620
- "status": "active",
621
- "knowledge_cutoff": "2025-01",
622
- "context_window": 1e6,
623
- "max_output_tokens": 64e3,
624
- "speed": 4,
625
- "capabilities": {
626
- "streaming": true,
627
- "vision": true,
628
- "tool_call": true,
629
- "reasoning": true
630
- },
631
- "modalities": {
632
- "input": ["text", "image"],
633
- "output": ["text"]
634
- },
635
- "pricing": {
636
- "input": 3,
637
- "output": 15,
638
- "cached_input": .3,
639
- "batch_input": 1.5,
640
- "batch_output": 7.5,
641
- "cache_write": 3.75
642
- },
643
- "snapshots": ["claude-sonnet-4-5-20250929"],
644
- "tools": [
645
- "function_calling",
646
- "computer_use",
647
- "mcp"
648
- ],
649
- "endpoints": ["messages"]
650
- },
651
- {
652
- "id": "claude-sonnet-4-6",
653
- "name": "Claude Sonnet 4.6",
654
- "created_by": "anthropic",
655
- "source": "official",
656
- "last_updated": "2026-03-21",
657
- "family": "claude-sonnet",
658
- "description": "The best combination of speed and intelligence",
659
- "status": "active",
660
- "knowledge_cutoff": "2025-08",
661
- "context_window": 1e6,
662
- "max_output_tokens": 64e3,
663
- "speed": 4,
664
- "capabilities": {
665
- "streaming": true,
666
- "vision": true,
667
- "tool_call": true,
668
- "reasoning": true
669
- },
670
- "modalities": {
671
- "input": ["text", "image"],
672
- "output": ["text"]
673
- },
674
- "pricing": {
675
- "input": 3,
676
- "output": 15,
677
- "cached_input": .3,
678
- "batch_input": 1.5,
679
- "batch_output": 7.5,
680
- "cache_write": 3.75
681
- },
682
- "tagline": "The best combination of speed and intelligence",
683
- "tools": [
684
- "function_calling",
685
- "computer_use",
686
- "mcp"
687
- ],
688
- "endpoints": ["messages"]
689
- }
690
- ]
691
- };
692
- const models = provider.models.map((m) => ({
693
- ...m,
694
- provider: provider.id
695
- }));
696
- //#endregion
697
- exports.models = models;
698
- exports.provider = provider;
1
+ Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e={id:`anthropic`,name:`Anthropic`,region:`US`,headquarters:`San Francisco, CA`,founded:2021,url:`https://anthropic.com`,api_url:`https://api.anthropic.com/v1`,docs_url:`https://docs.anthropic.com`,pricing_url:`https://anthropic.com/pricing`,description:`AI safety company building Claude, a family of helpful, harmless, and honest AI assistants.`,type:`direct`,playground_url:`https://console.anthropic.com`,status_url:`https://status.anthropic.com`,changelog_url:`https://docs.anthropic.com/en/docs/about-claude/models`,sdk:{python:`anthropic`,javascript:`@anthropic-ai/sdk`},openai_compatible:!1,free_tier:!1,github_url:`https://github.com/anthropics`,models_url:`https://docs.anthropic.com/en/docs/about-claude/models`,twitter_url:`https://x.com/AnthropicAI`,discord_url:`https://discord.com/invite/anthropic`,blog_url:`https://www.anthropic.com/research`,terms_url:`https://www.anthropic.com/legal/commercial-terms`,support_url:`https://support.anthropic.com`,icon:`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor" fill-rule="evenodd">
2
+ <path d="M13.827 3.52h3.603L24 20h-3.603l-6.57-16.48zm-7.258 0h3.767L16.906 20h-3.674l-1.343-3.461H5.017l-1.344 3.46H0L6.57 3.522zm4.132 9.959L8.453 7.687 6.205 13.48H10.7z"/>
3
+ </svg>`,models:[{id:`claude-3-5-haiku`,name:`Claude Haiku 3.5`,created_by:`anthropic`,source:`official`,last_updated:`2026-03-23`,family:`claude-haiku`,capabilities:{streaming:!0,vision:!0,tool_call:!0},modalities:{input:[`text`,`image`],output:[`text`]},pricing:{input:.8,output:4,cache_write:1,cached_input:.08,batch_input:.4,batch_output:2},tools:[`function_calling`],endpoints:[`messages`],model_type:`chat`,license:`proprietary`,open_weight:!1,page_url:`https://docs.anthropic.com/en/docs/about-claude/models#claude-3-5-haiku`},{id:`claude-3-7-sonnet`,name:`Claude Sonnet 3.7`,created_by:`anthropic`,source:`official`,last_updated:`2026-03-23`,family:`claude-sonnet`,capabilities:{streaming:!0,vision:!0,tool_call:!0},modalities:{input:[`text`,`image`],output:[`text`]},pricing:{input:3,output:15,cache_write:3.75,cached_input:.3,batch_input:1.5,batch_output:7.5},tools:[`function_calling`],endpoints:[`messages`],model_type:`chat`,license:`proprietary`,open_weight:!1,page_url:`https://docs.anthropic.com/en/docs/about-claude/models#claude-3-7-sonnet`},{id:`claude-3-haiku-20240307`,name:`Claude Haiku 3`,created_by:`anthropic`,source:`official`,last_updated:`2026-03-23`,family:`claude-haiku`,status:`deprecated`,context_window:2e5,max_output_tokens:4e3,performance:3,speed:4,successor:`claude-haiku-4-5`,capabilities:{streaming:!0,vision:!0,tool_call:!0},modalities:{input:[`text`,`image`],output:[`text`]},pricing:{input:.25,output:1.25,cache_write:.3,cached_input:.03,batch_input:.125,batch_output:.625},tools:[`function_calling`],endpoints:[`messages`],extended_thinking:!1,training_data_cutoff:`2023-08`,model_type:`chat`,license:`proprietary`,open_weight:!1,page_url:`https://docs.anthropic.com/en/docs/about-claude/models#claude-3-haiku-20240307`},{id:`claude-3-haiku`,name:`Claude Haiku 3`,created_by:`anthropic`,source:`official`,last_updated:`2026-03-23`,family:`claude-haiku`,capabilities:{streaming:!0,vision:!0,tool_call:!0},modalities:{input:[`text`,`image`],output:[`text`]},pricing:{input:.25,output:1.25,cache_write:.3,cached_input:.03,batch_input:.125,batch_output:.625},tools:[`function_calling`],endpoints:[`messages`],model_type:`chat`,license:`proprietary`,open_weight:!1,page_url:`https://docs.anthropic.com/en/docs/about-claude/models#claude-3-haiku`},{id:`claude-3-opus`,name:`Claude Opus 3`,created_by:`anthropic`,source:`official`,last_updated:`2026-03-23`,family:`claude-opus`,capabilities:{streaming:!0,vision:!0,tool_call:!0},modalities:{input:[`text`,`image`],output:[`text`]},pricing:{input:15,output:75,cache_write:18.75,cached_input:1.5,batch_input:7.5,batch_output:37.5},tools:[`function_calling`],endpoints:[`messages`],model_type:`chat`,license:`proprietary`,open_weight:!1,page_url:`https://docs.anthropic.com/en/docs/about-claude/models#claude-3-opus`},{id:`claude-haiku-4-5-20251001`,name:`Claude Haiku 4.5`,created_by:`anthropic`,source:`official`,last_updated:`2026-03-23`,family:`claude-haiku`,description:`The fastest model with near-frontier intelligence`,status:`active`,knowledge_cutoff:`2025-02`,context_window:2e5,max_output_tokens:64e3,alias:`claude-haiku-4-5`,performance:3,reasoning:3,speed:5,tagline:`The fastest model with near-frontier intelligence`,capabilities:{streaming:!0,vision:!0,tool_call:!0,reasoning:!0},modalities:{input:[`text`,`image`],output:[`text`]},pricing:{input:1,output:5,cache_write:1.25,cached_input:.1,batch_input:.5,batch_output:2.5},tools:[`function_calling`,`computer_use`,`mcp`],endpoints:[`messages`],extended_thinking:!0,training_data_cutoff:`2025-07`,priority_tier:!0,model_type:`chat`,license:`proprietary`,open_weight:!1,page_url:`https://docs.anthropic.com/en/docs/about-claude/models#claude-haiku-4-5-20251001`},{id:`claude-haiku-4-5`,name:`Claude Haiku 4.5`,created_by:`anthropic`,source:`official`,last_updated:`2026-03-23`,family:`claude-haiku`,description:`The fastest model with near-frontier intelligence`,status:`active`,knowledge_cutoff:`2025-02`,context_window:2e5,max_output_tokens:64e3,performance:3,reasoning:3,speed:5,tagline:`The fastest model with near-frontier intelligence`,capabilities:{streaming:!0,vision:!0,tool_call:!0,reasoning:!0},modalities:{input:[`text`,`image`],output:[`text`]},pricing:{input:1,output:5,cache_write:1.25,cached_input:.1,batch_input:.5,batch_output:2.5},tools:[`function_calling`,`computer_use`,`mcp`],endpoints:[`messages`],extended_thinking:!0,training_data_cutoff:`2025-07`,priority_tier:!0,snapshots:[`claude-haiku-4-5-20251001`],model_type:`chat`,license:`proprietary`,open_weight:!1,page_url:`https://docs.anthropic.com/en/docs/about-claude/models#claude-haiku-4-5`},{id:`claude-opus-4-0`,name:`Claude Opus 4`,created_by:`anthropic`,source:`official`,last_updated:`2026-03-23`,family:`claude-opus`,status:`active`,knowledge_cutoff:`2025-01`,context_window:2e5,max_output_tokens:32e3,performance:5,reasoning:5,speed:3,capabilities:{streaming:!0,vision:!0,tool_call:!0,reasoning:!0},modalities:{input:[`text`,`image`],output:[`text`]},pricing:{input:15,output:75,cache_write:18.75,cached_input:1.5,batch_input:7.5,batch_output:37.5},tools:[`function_calling`,`computer_use`,`mcp`],endpoints:[`messages`],extended_thinking:!0,training_data_cutoff:`2025-03`,priority_tier:!0,snapshots:[`claude-opus-4-20250514`],model_type:`chat`,license:`proprietary`,open_weight:!1,page_url:`https://docs.anthropic.com/en/docs/about-claude/models#claude-opus-4-0`},{id:`claude-opus-4-1-20250805`,name:`Claude Opus 4.1`,created_by:`anthropic`,source:`official`,last_updated:`2026-03-23`,family:`claude-opus`,status:`active`,knowledge_cutoff:`2025-01`,context_window:2e5,max_output_tokens:32e3,alias:`claude-opus-4-1`,performance:5,reasoning:5,speed:3,capabilities:{streaming:!0,vision:!0,tool_call:!0,reasoning:!0},modalities:{input:[`text`,`image`],output:[`text`]},pricing:{input:15,output:75,cache_write:18.75,cached_input:1.5,batch_input:7.5,batch_output:37.5},tools:[`function_calling`,`computer_use`,`mcp`],endpoints:[`messages`],extended_thinking:!0,training_data_cutoff:`2025-03`,priority_tier:!0,model_type:`chat`,license:`proprietary`,open_weight:!1,page_url:`https://docs.anthropic.com/en/docs/about-claude/models#claude-opus-4-1-20250805`},{id:`claude-opus-4-1`,name:`Claude Opus 4.1`,created_by:`anthropic`,source:`official`,last_updated:`2026-03-23`,family:`claude-opus`,status:`active`,knowledge_cutoff:`2025-01`,context_window:2e5,max_output_tokens:32e3,performance:5,reasoning:5,speed:3,capabilities:{streaming:!0,vision:!0,tool_call:!0,reasoning:!0},modalities:{input:[`text`,`image`],output:[`text`]},pricing:{input:15,output:75,cache_write:18.75,cached_input:1.5,batch_input:7.5,batch_output:37.5},tools:[`function_calling`,`computer_use`,`mcp`],endpoints:[`messages`],extended_thinking:!0,training_data_cutoff:`2025-03`,priority_tier:!0,snapshots:[`claude-opus-4-1-20250805`],model_type:`chat`,license:`proprietary`,open_weight:!1,page_url:`https://docs.anthropic.com/en/docs/about-claude/models#claude-opus-4-1`},{id:`claude-opus-4-20250514`,name:`Claude Opus 4`,created_by:`anthropic`,source:`official`,last_updated:`2026-03-23`,family:`claude-opus`,status:`active`,knowledge_cutoff:`2025-01`,context_window:2e5,max_output_tokens:32e3,alias:`claude-opus-4-0`,performance:5,reasoning:5,speed:3,capabilities:{streaming:!0,vision:!0,tool_call:!0,reasoning:!0},modalities:{input:[`text`,`image`],output:[`text`]},pricing:{input:15,output:75,cache_write:18.75,cached_input:1.5,batch_input:7.5,batch_output:37.5},tools:[`function_calling`,`computer_use`,`mcp`],endpoints:[`messages`],extended_thinking:!0,training_data_cutoff:`2025-03`,priority_tier:!0,model_type:`chat`,license:`proprietary`,open_weight:!1,page_url:`https://docs.anthropic.com/en/docs/about-claude/models#claude-opus-4-20250514`},{id:`claude-opus-4-5-20251101`,name:`Claude Opus 4.5`,created_by:`anthropic`,source:`official`,last_updated:`2026-03-23`,family:`claude-opus`,status:`active`,knowledge_cutoff:`2025-05`,context_window:2e5,max_output_tokens:64e3,alias:`claude-opus-4-5`,performance:5,reasoning:5,speed:3,capabilities:{streaming:!0,vision:!0,tool_call:!0,reasoning:!0},modalities:{input:[`text`,`image`],output:[`text`]},pricing:{input:5,output:25,cache_write:6.25,cached_input:.5,batch_input:2.5,batch_output:12.5},tools:[`function_calling`,`computer_use`,`mcp`],endpoints:[`messages`],extended_thinking:!0,training_data_cutoff:`2025-08`,priority_tier:!0,model_type:`chat`,license:`proprietary`,open_weight:!1,page_url:`https://docs.anthropic.com/en/docs/about-claude/models#claude-opus-4-5-20251101`},{id:`claude-opus-4-5`,name:`Claude Opus 4.5`,created_by:`anthropic`,source:`official`,last_updated:`2026-03-23`,family:`claude-opus`,status:`active`,knowledge_cutoff:`2025-05`,context_window:2e5,max_output_tokens:64e3,performance:5,reasoning:5,speed:3,capabilities:{streaming:!0,vision:!0,tool_call:!0,reasoning:!0},modalities:{input:[`text`,`image`],output:[`text`]},pricing:{input:5,output:25,cache_write:6.25,cached_input:.5,batch_input:2.5,batch_output:12.5},tools:[`function_calling`,`computer_use`,`mcp`],endpoints:[`messages`],extended_thinking:!0,training_data_cutoff:`2025-08`,priority_tier:!0,snapshots:[`claude-opus-4-5-20251101`],model_type:`chat`,license:`proprietary`,open_weight:!1,page_url:`https://docs.anthropic.com/en/docs/about-claude/models#claude-opus-4-5`},{id:`claude-opus-4-6`,name:`Claude Opus 4.6`,created_by:`anthropic`,source:`official`,last_updated:`2026-03-23`,family:`claude-opus`,description:`The most intelligent model for building agents and coding`,status:`active`,knowledge_cutoff:`2025-05`,context_window:1e6,max_output_tokens:128e3,performance:5,reasoning:5,speed:3,tagline:`The most intelligent model for building agents and coding`,capabilities:{streaming:!0,vision:!0,tool_call:!0,reasoning:!0},modalities:{input:[`text`,`image`],output:[`text`]},pricing:{input:5,output:25,cache_write:6.25,cached_input:.5,batch_input:2.5,batch_output:12.5},tools:[`function_calling`,`computer_use`,`mcp`],endpoints:[`messages`],extended_thinking:!0,training_data_cutoff:`2025-08`,adaptive_thinking:!0,priority_tier:!0,model_type:`chat`,license:`proprietary`,open_weight:!1,page_url:`https://docs.anthropic.com/en/docs/about-claude/models#claude-opus-4-6`},{id:`claude-sonnet-4-0`,name:`Claude Sonnet 4`,created_by:`anthropic`,source:`official`,last_updated:`2026-03-23`,family:`claude-sonnet`,status:`active`,knowledge_cutoff:`2025-01`,context_window:1e6,max_output_tokens:64e3,performance:4,reasoning:4,speed:4,capabilities:{streaming:!0,vision:!0,tool_call:!0,reasoning:!0},modalities:{input:[`text`,`image`],output:[`text`]},pricing:{input:3,output:15,cache_write:3.75,cached_input:.3,batch_input:1.5,batch_output:7.5},tools:[`function_calling`,`computer_use`,`mcp`],endpoints:[`messages`],extended_thinking:!0,training_data_cutoff:`2025-03`,priority_tier:!0,snapshots:[`claude-sonnet-4-20250514`],model_type:`chat`,license:`proprietary`,open_weight:!1,page_url:`https://docs.anthropic.com/en/docs/about-claude/models#claude-sonnet-4-0`},{id:`claude-sonnet-4-20250514`,name:`Claude Sonnet 4`,created_by:`anthropic`,source:`official`,last_updated:`2026-03-23`,family:`claude-sonnet`,status:`active`,knowledge_cutoff:`2025-01`,context_window:1e6,max_output_tokens:64e3,alias:`claude-sonnet-4-0`,performance:4,reasoning:4,speed:4,capabilities:{streaming:!0,vision:!0,tool_call:!0,reasoning:!0},modalities:{input:[`text`,`image`],output:[`text`]},pricing:{input:3,output:15,cache_write:3.75,cached_input:.3,batch_input:1.5,batch_output:7.5},tools:[`function_calling`,`computer_use`,`mcp`],endpoints:[`messages`],extended_thinking:!0,training_data_cutoff:`2025-03`,priority_tier:!0,model_type:`chat`,license:`proprietary`,open_weight:!1,page_url:`https://docs.anthropic.com/en/docs/about-claude/models#claude-sonnet-4-20250514`},{id:`claude-sonnet-4-5-20250929`,name:`Claude Sonnet 4.5`,created_by:`anthropic`,source:`official`,last_updated:`2026-03-23`,family:`claude-sonnet`,status:`active`,knowledge_cutoff:`2025-01`,context_window:1e6,max_output_tokens:64e3,alias:`claude-sonnet-4-5`,performance:4,reasoning:4,speed:4,capabilities:{streaming:!0,vision:!0,tool_call:!0,reasoning:!0},modalities:{input:[`text`,`image`],output:[`text`]},pricing:{input:3,output:15,cache_write:3.75,cached_input:.3,batch_input:1.5,batch_output:7.5},tools:[`function_calling`,`computer_use`,`mcp`],endpoints:[`messages`],extended_thinking:!0,training_data_cutoff:`2025-07`,priority_tier:!0,model_type:`chat`,license:`proprietary`,open_weight:!1,page_url:`https://docs.anthropic.com/en/docs/about-claude/models#claude-sonnet-4-5-20250929`},{id:`claude-sonnet-4-5`,name:`Claude Sonnet 4.5`,created_by:`anthropic`,source:`official`,last_updated:`2026-03-23`,family:`claude-sonnet`,status:`active`,knowledge_cutoff:`2025-01`,context_window:1e6,max_output_tokens:64e3,performance:4,reasoning:4,speed:4,capabilities:{streaming:!0,vision:!0,tool_call:!0,reasoning:!0},modalities:{input:[`text`,`image`],output:[`text`]},pricing:{input:3,output:15,cache_write:3.75,cached_input:.3,batch_input:1.5,batch_output:7.5},tools:[`function_calling`,`computer_use`,`mcp`],endpoints:[`messages`],extended_thinking:!0,training_data_cutoff:`2025-07`,priority_tier:!0,snapshots:[`claude-sonnet-4-5-20250929`],model_type:`chat`,license:`proprietary`,open_weight:!1,page_url:`https://docs.anthropic.com/en/docs/about-claude/models#claude-sonnet-4-5`},{id:`claude-sonnet-4-6`,name:`Claude Sonnet 4.6`,created_by:`anthropic`,source:`official`,last_updated:`2026-03-23`,family:`claude-sonnet`,description:`The best combination of speed and intelligence`,status:`active`,knowledge_cutoff:`2025-08`,context_window:1e6,max_output_tokens:64e3,performance:4,reasoning:4,speed:4,tagline:`The best combination of speed and intelligence`,capabilities:{streaming:!0,vision:!0,tool_call:!0,reasoning:!0},modalities:{input:[`text`,`image`],output:[`text`]},pricing:{input:3,output:15,cache_write:3.75,cached_input:.3,batch_input:1.5,batch_output:7.5},tools:[`function_calling`,`computer_use`,`mcp`],endpoints:[`messages`],extended_thinking:!0,training_data_cutoff:`2026-01`,adaptive_thinking:!0,priority_tier:!0,model_type:`chat`,license:`proprietary`,open_weight:!1,page_url:`https://docs.anthropic.com/en/docs/about-claude/models#claude-sonnet-4-6`}]},t=e.models.map(t=>({...t,provider:e.id}));exports.models=t,exports.provider=e;