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,698 @@
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;
@@ -0,0 +1,7 @@
1
+ import { f as ProviderWithModels, n as Model } from "../types.cjs";
2
+
3
+ //#region src/providers/anthropic.d.ts
4
+ declare const provider: ProviderWithModels;
5
+ declare const models: Model[];
6
+ //#endregion
7
+ export { models, provider };
@@ -0,0 +1,7 @@
1
+ import { f as ProviderWithModels, n as Model } from "../types.mjs";
2
+
3
+ //#region src/providers/anthropic.d.ts
4
+ declare const provider: ProviderWithModels;
5
+ declare const models: Model[];
6
+ //#endregion
7
+ export { models, provider };