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