modelpedia 0.0.2 → 0.0.3

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 (64) hide show
  1. package/README.md +135 -0
  2. package/dist/index.cjs +1 -101
  3. package/dist/index.mjs +1 -92
  4. package/dist/providers/alibaba.cjs +4 -835
  5. package/dist/providers/alibaba.mjs +4 -833
  6. package/dist/providers/amazon.cjs +4 -1484
  7. package/dist/providers/amazon.mjs +4 -1482
  8. package/dist/providers/anthropic.cjs +3 -698
  9. package/dist/providers/anthropic.mjs +3 -696
  10. package/dist/providers/azure.cjs +6 -1491
  11. package/dist/providers/azure.mjs +6 -1489
  12. package/dist/providers/baseten.cjs +3 -279
  13. package/dist/providers/baseten.mjs +3 -277
  14. package/dist/providers/cerebras.cjs +4 -145
  15. package/dist/providers/cerebras.mjs +4 -143
  16. package/dist/providers/cloudflare.cjs +4 -826
  17. package/dist/providers/cloudflare.mjs +4 -824
  18. package/dist/providers/cohere.cjs +5 -525
  19. package/dist/providers/cohere.mjs +5 -523
  20. package/dist/providers/cursor.cjs +1 -856
  21. package/dist/providers/cursor.mjs +1 -854
  22. package/dist/providers/deepseek.cjs +3 -64
  23. package/dist/providers/deepseek.mjs +3 -62
  24. package/dist/providers/fireworks.cjs +3 -3794
  25. package/dist/providers/fireworks.mjs +3 -3792
  26. package/dist/providers/google.cjs +6 -972
  27. package/dist/providers/google.mjs +6 -970
  28. package/dist/providers/groq.cjs +3 -353
  29. package/dist/providers/groq.mjs +3 -351
  30. package/dist/providers/huggingface.cjs +3 -1022
  31. package/dist/providers/huggingface.mjs +3 -1020
  32. package/dist/providers/meta.cjs +3 -481
  33. package/dist/providers/meta.mjs +3 -479
  34. package/dist/providers/minimax.cjs +3 -156
  35. package/dist/providers/minimax.mjs +3 -154
  36. package/dist/providers/mistral.cjs +3 -1594
  37. package/dist/providers/mistral.mjs +3 -1592
  38. package/dist/providers/moonshot.cjs +3 -138
  39. package/dist/providers/moonshot.mjs +3 -136
  40. package/dist/providers/nvidia.cjs +3 -2040
  41. package/dist/providers/nvidia.mjs +3 -2038
  42. package/dist/providers/ollama.cjs +3 -326
  43. package/dist/providers/ollama.mjs +3 -324
  44. package/dist/providers/openai.cjs +3 -9079
  45. package/dist/providers/openai.mjs +3 -9077
  46. package/dist/providers/opencode.cjs +3 -367
  47. package/dist/providers/opencode.mjs +3 -365
  48. package/dist/providers/openrouter.cjs +12 -7835
  49. package/dist/providers/openrouter.mjs +12 -7833
  50. package/dist/providers/perplexity.cjs +3 -311
  51. package/dist/providers/perplexity.mjs +3 -309
  52. package/dist/providers/qwen.cjs +3 -835
  53. package/dist/providers/qwen.mjs +3 -833
  54. package/dist/providers/together.cjs +4 -360
  55. package/dist/providers/together.mjs +4 -358
  56. package/dist/providers/vercel.cjs +3 -4037
  57. package/dist/providers/vercel.mjs +3 -4035
  58. package/dist/providers/vertex.cjs +10 -1072
  59. package/dist/providers/vertex.mjs +10 -1070
  60. package/dist/providers/xai.cjs +3 -301
  61. package/dist/providers/xai.mjs +3 -299
  62. package/dist/providers/zai.cjs +3 -243
  63. package/dist/providers/zai.mjs +3 -241
  64. package/package.json +1 -1
@@ -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`,url:`https://anthropic.com`,api_url:`https://api.anthropic.com/v1`,docs_url:`https://docs.anthropic.com`,pricing_url:`https://anthropic.com/pricing`,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-21`,family:`claude-haiku`,capabilities:{streaming:!0,vision:!0,tool_call:!0},modalities:{input:[`text`,`image`],output:[`text`]},pricing:{input:.8,output:4,cached_input:.08,batch_input:.4,batch_output:2,cache_write:1},tools:[`function_calling`],endpoints:[`messages`]},{id:`claude-3-7-sonnet`,name:`Claude Sonnet 3.7`,created_by:`anthropic`,source:`official`,last_updated:`2026-03-21`,family:`claude-sonnet`,capabilities:{streaming:!0,vision:!0,tool_call:!0},modalities:{input:[`text`,`image`],output:[`text`]},pricing:{input:3,output:15,cached_input:.3,batch_input:1.5,batch_output:7.5,cache_write:3.75},tools:[`function_calling`],endpoints:[`messages`]},{id:`claude-3-haiku-20240307`,name:`Claude Haiku 3`,created_by:`anthropic`,source:`official`,last_updated:`2026-03-21`,family:`claude-haiku`,status:`deprecated`,context_window:2e5,max_output_tokens:4e3,speed:4,capabilities:{streaming:!0,vision:!0,tool_call:!0},modalities:{input:[`text`,`image`],output:[`text`]},pricing:{input:.25,output:1.25,cached_input:.03,batch_input:.125,batch_output:.625,cache_write:.3},tools:[`function_calling`],endpoints:[`messages`]},{id:`claude-3-haiku`,name:`Claude Haiku 3`,created_by:`anthropic`,source:`official`,last_updated:`2026-03-21`,family:`claude-haiku`,capabilities:{streaming:!0,vision:!0,tool_call:!0},modalities:{input:[`text`,`image`],output:[`text`]},pricing:{input:.25,output:1.25,cached_input:.03,batch_input:.125,batch_output:.625,cache_write:.3},tools:[`function_calling`],endpoints:[`messages`]},{id:`claude-3-opus`,name:`Claude Opus 3`,created_by:`anthropic`,source:`official`,last_updated:`2026-03-21`,family:`claude-opus`,capabilities:{streaming:!0,vision:!0,tool_call:!0},modalities:{input:[`text`,`image`],output:[`text`]},pricing:{input:15,output:75,cached_input:1.5,batch_input:7.5,batch_output:37.5,cache_write:18.75},tools:[`function_calling`],endpoints:[`messages`]},{id:`claude-haiku-4-5-20251001`,name:`Claude Haiku 4.5`,created_by:`anthropic`,source:`official`,last_updated:`2026-03-21`,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`,speed:5,capabilities:{streaming:!0,vision:!0,tool_call:!0,reasoning:!0},modalities:{input:[`text`,`image`],output:[`text`]},pricing:{input:1,output:5,cached_input:.1,batch_input:.5,batch_output:2.5,cache_write:1.25},tagline:`The fastest model with near-frontier intelligence`,tools:[`function_calling`,`computer_use`,`mcp`],endpoints:[`messages`]},{id:`claude-haiku-4-5`,name:`Claude Haiku 4.5`,created_by:`anthropic`,source:`official`,last_updated:`2026-03-21`,family:`claude-haiku`,description:`The fastest model with near-frontier intelligence`,status:`active`,knowledge_cutoff:`2025-02`,context_window:2e5,max_output_tokens:64e3,speed:5,capabilities:{streaming:!0,vision:!0,tool_call:!0,reasoning:!0},modalities:{input:[`text`,`image`],output:[`text`]},pricing:{input:1,output:5,cached_input:.1,batch_input:.5,batch_output:2.5,cache_write:1.25},snapshots:[`claude-haiku-4-5-20251001`],tagline:`The fastest model with near-frontier intelligence`,tools:[`function_calling`,`computer_use`,`mcp`],endpoints:[`messages`]},{id:`claude-opus-4-0`,name:`Claude Opus 4`,created_by:`anthropic`,source:`official`,last_updated:`2026-03-21`,family:`claude-opus`,status:`active`,knowledge_cutoff:`2025-01`,context_window:2e5,max_output_tokens:32e3,speed:3,capabilities:{streaming:!0,vision:!0,tool_call:!0,reasoning:!0},modalities:{input:[`text`,`image`],output:[`text`]},pricing:{input:15,output:75,cached_input:1.5,batch_input:7.5,batch_output:37.5,cache_write:18.75},snapshots:[`claude-opus-4-20250514`],tools:[`function_calling`,`computer_use`,`mcp`],endpoints:[`messages`]},{id:`claude-opus-4-1-20250805`,name:`Claude Opus 4.1`,created_by:`anthropic`,source:`official`,last_updated:`2026-03-21`,family:`claude-opus`,status:`active`,knowledge_cutoff:`2025-01`,context_window:2e5,max_output_tokens:32e3,alias:`claude-opus-4-1`,speed:3,capabilities:{streaming:!0,vision:!0,tool_call:!0,reasoning:!0},modalities:{input:[`text`,`image`],output:[`text`]},pricing:{input:15,output:75,cached_input:1.5,batch_input:7.5,batch_output:37.5,cache_write:18.75},tools:[`function_calling`,`computer_use`,`mcp`],endpoints:[`messages`]},{id:`claude-opus-4-1`,name:`Claude Opus 4.1`,created_by:`anthropic`,source:`official`,last_updated:`2026-03-21`,family:`claude-opus`,status:`active`,knowledge_cutoff:`2025-01`,context_window:2e5,max_output_tokens:32e3,speed:3,capabilities:{streaming:!0,vision:!0,tool_call:!0,reasoning:!0},modalities:{input:[`text`,`image`],output:[`text`]},pricing:{input:15,output:75,cached_input:1.5,batch_input:7.5,batch_output:37.5,cache_write:18.75},snapshots:[`claude-opus-4-1-20250805`],tools:[`function_calling`,`computer_use`,`mcp`],endpoints:[`messages`]},{id:`claude-opus-4-20250514`,name:`Claude Opus 4`,created_by:`anthropic`,source:`official`,last_updated:`2026-03-21`,family:`claude-opus`,status:`active`,knowledge_cutoff:`2025-01`,context_window:2e5,max_output_tokens:32e3,alias:`claude-opus-4-0`,speed:3,capabilities:{streaming:!0,vision:!0,tool_call:!0,reasoning:!0},modalities:{input:[`text`,`image`],output:[`text`]},pricing:{input:15,output:75,cached_input:1.5,batch_input:7.5,batch_output:37.5,cache_write:18.75},tools:[`function_calling`,`computer_use`,`mcp`],endpoints:[`messages`]},{id:`claude-opus-4-5-20251101`,name:`Claude Opus 4.5`,created_by:`anthropic`,source:`official`,last_updated:`2026-03-21`,family:`claude-opus`,status:`active`,knowledge_cutoff:`2025-05`,context_window:2e5,max_output_tokens:64e3,alias:`claude-opus-4-5`,speed:3,capabilities:{streaming:!0,vision:!0,tool_call:!0,reasoning:!0},modalities:{input:[`text`,`image`],output:[`text`]},pricing:{input:5,output:25,cached_input:.5,batch_input:2.5,batch_output:12.5,cache_write:6.25},tools:[`function_calling`,`computer_use`,`mcp`],endpoints:[`messages`]},{id:`claude-opus-4-5`,name:`Claude Opus 4.5`,created_by:`anthropic`,source:`official`,last_updated:`2026-03-21`,family:`claude-opus`,status:`active`,knowledge_cutoff:`2025-05`,context_window:2e5,max_output_tokens:64e3,speed:3,capabilities:{streaming:!0,vision:!0,tool_call:!0,reasoning:!0},modalities:{input:[`text`,`image`],output:[`text`]},pricing:{input:5,output:25,cached_input:.5,batch_input:2.5,batch_output:12.5,cache_write:6.25},snapshots:[`claude-opus-4-5-20251101`],tools:[`function_calling`,`computer_use`,`mcp`],endpoints:[`messages`]},{id:`claude-opus-4-6`,name:`Claude Opus 4.6`,created_by:`anthropic`,source:`official`,last_updated:`2026-03-21`,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,speed:3,capabilities:{streaming:!0,vision:!0,tool_call:!0,reasoning:!0},modalities:{input:[`text`,`image`],output:[`text`]},pricing:{input:5,output:25,cached_input:.5,batch_input:2.5,batch_output:12.5,cache_write:6.25},tagline:`The most intelligent model for building agents and coding`,tools:[`function_calling`,`computer_use`,`mcp`],endpoints:[`messages`]},{id:`claude-sonnet-4-0`,name:`Claude Sonnet 4`,created_by:`anthropic`,source:`official`,last_updated:`2026-03-21`,family:`claude-sonnet`,status:`active`,knowledge_cutoff:`2025-01`,context_window:1e6,max_output_tokens:64e3,speed:4,capabilities:{streaming:!0,vision:!0,tool_call:!0,reasoning:!0},modalities:{input:[`text`,`image`],output:[`text`]},pricing:{input:3,output:15,cached_input:.3,batch_input:1.5,batch_output:7.5,cache_write:3.75},snapshots:[`claude-sonnet-4-20250514`],tools:[`function_calling`,`computer_use`,`mcp`],endpoints:[`messages`]},{id:`claude-sonnet-4-20250514`,name:`Claude Sonnet 4`,created_by:`anthropic`,source:`official`,last_updated:`2026-03-21`,family:`claude-sonnet`,status:`active`,knowledge_cutoff:`2025-01`,context_window:1e6,max_output_tokens:64e3,alias:`claude-sonnet-4-0`,speed:4,capabilities:{streaming:!0,vision:!0,tool_call:!0,reasoning:!0},modalities:{input:[`text`,`image`],output:[`text`]},pricing:{input:3,output:15,cached_input:.3,batch_input:1.5,batch_output:7.5,cache_write:3.75},tools:[`function_calling`,`computer_use`,`mcp`],endpoints:[`messages`]},{id:`claude-sonnet-4-5-20250929`,name:`Claude Sonnet 4.5`,created_by:`anthropic`,source:`official`,last_updated:`2026-03-21`,family:`claude-sonnet`,status:`active`,knowledge_cutoff:`2025-01`,context_window:1e6,max_output_tokens:64e3,alias:`claude-sonnet-4-5`,speed:4,capabilities:{streaming:!0,vision:!0,tool_call:!0,reasoning:!0},modalities:{input:[`text`,`image`],output:[`text`]},pricing:{input:3,output:15,cached_input:.3,batch_input:1.5,batch_output:7.5,cache_write:3.75},tools:[`function_calling`,`computer_use`,`mcp`],endpoints:[`messages`]},{id:`claude-sonnet-4-5`,name:`Claude Sonnet 4.5`,created_by:`anthropic`,source:`official`,last_updated:`2026-03-21`,family:`claude-sonnet`,status:`active`,knowledge_cutoff:`2025-01`,context_window:1e6,max_output_tokens:64e3,speed:4,capabilities:{streaming:!0,vision:!0,tool_call:!0,reasoning:!0},modalities:{input:[`text`,`image`],output:[`text`]},pricing:{input:3,output:15,cached_input:.3,batch_input:1.5,batch_output:7.5,cache_write:3.75},snapshots:[`claude-sonnet-4-5-20250929`],tools:[`function_calling`,`computer_use`,`mcp`],endpoints:[`messages`]},{id:`claude-sonnet-4-6`,name:`Claude Sonnet 4.6`,created_by:`anthropic`,source:`official`,last_updated:`2026-03-21`,family:`claude-sonnet`,description:`The best combination of speed and intelligence`,status:`active`,knowledge_cutoff:`2025-08`,context_window:1e6,max_output_tokens:64e3,speed:4,capabilities:{streaming:!0,vision:!0,tool_call:!0,reasoning:!0},modalities:{input:[`text`,`image`],output:[`text`]},pricing:{input:3,output:15,cached_input:.3,batch_input:1.5,batch_output:7.5,cache_write:3.75},tagline:`The best combination of speed and intelligence`,tools:[`function_calling`,`computer_use`,`mcp`],endpoints:[`messages`]}]},t=e.models.map(t=>({...t,provider:e.id}));exports.models=t,exports.provider=e;