llm.rb 4.15.0 → 4.16.0
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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +22 -0
- data/README.md +34 -12
- data/data/anthropic.json +218 -198
- data/data/deepseek.json +1 -1
- data/data/google.json +481 -429
- data/data/openai.json +742 -704
- data/data/xai.json +277 -277
- data/data/zai.json +160 -126
- data/lib/llm/active_record/acts_as_llm.rb +238 -0
- data/lib/llm/active_record.rb +3 -0
- data/lib/llm/provider.rb +16 -1
- data/lib/llm/providers/openai/audio.rb +4 -4
- data/lib/llm/providers/openai/files.rb +6 -6
- data/lib/llm/providers/openai/images.rb +4 -4
- data/lib/llm/providers/openai/models.rb +2 -2
- data/lib/llm/providers/openai/moderations.rb +2 -2
- data/lib/llm/providers/openai/responses.rb +4 -4
- data/lib/llm/providers/openai/vector_stores.rb +12 -12
- data/lib/llm/providers/openai.rb +4 -4
- data/lib/llm/version.rb +1 -1
- metadata +3 -1
data/data/anthropic.json
CHANGED
|
@@ -7,17 +7,17 @@
|
|
|
7
7
|
"name": "Anthropic",
|
|
8
8
|
"doc": "https://docs.anthropic.com/en/docs/about-claude/models",
|
|
9
9
|
"models": {
|
|
10
|
-
"claude-
|
|
11
|
-
"id": "claude-
|
|
12
|
-
"name": "Claude
|
|
13
|
-
"family": "claude-
|
|
10
|
+
"claude-3-sonnet-20240229": {
|
|
11
|
+
"id": "claude-3-sonnet-20240229",
|
|
12
|
+
"name": "Claude Sonnet 3",
|
|
13
|
+
"family": "claude-sonnet",
|
|
14
14
|
"attachment": true,
|
|
15
|
-
"reasoning":
|
|
15
|
+
"reasoning": false,
|
|
16
16
|
"tool_call": true,
|
|
17
17
|
"temperature": true,
|
|
18
|
-
"knowledge": "
|
|
19
|
-
"release_date": "
|
|
20
|
-
"last_updated": "
|
|
18
|
+
"knowledge": "2023-08-31",
|
|
19
|
+
"release_date": "2024-03-04",
|
|
20
|
+
"last_updated": "2024-03-04",
|
|
21
21
|
"modalities": {
|
|
22
22
|
"input": [
|
|
23
23
|
"text",
|
|
@@ -30,27 +30,27 @@
|
|
|
30
30
|
},
|
|
31
31
|
"open_weights": false,
|
|
32
32
|
"cost": {
|
|
33
|
-
"input":
|
|
34
|
-
"output":
|
|
35
|
-
"cache_read": 0.
|
|
36
|
-
"cache_write":
|
|
33
|
+
"input": 3,
|
|
34
|
+
"output": 15,
|
|
35
|
+
"cache_read": 0.3,
|
|
36
|
+
"cache_write": 0.3
|
|
37
37
|
},
|
|
38
38
|
"limit": {
|
|
39
39
|
"context": 200000,
|
|
40
|
-
"output":
|
|
40
|
+
"output": 4096
|
|
41
41
|
}
|
|
42
42
|
},
|
|
43
|
-
"claude-
|
|
44
|
-
"id": "claude-
|
|
45
|
-
"name": "Claude
|
|
46
|
-
"family": "claude-
|
|
43
|
+
"claude-haiku-4-5": {
|
|
44
|
+
"id": "claude-haiku-4-5",
|
|
45
|
+
"name": "Claude Haiku 4.5 (latest)",
|
|
46
|
+
"family": "claude-haiku",
|
|
47
47
|
"attachment": true,
|
|
48
48
|
"reasoning": true,
|
|
49
49
|
"tool_call": true,
|
|
50
50
|
"temperature": true,
|
|
51
|
-
"knowledge": "2025-
|
|
52
|
-
"release_date": "2025-
|
|
53
|
-
"last_updated": "2025-
|
|
51
|
+
"knowledge": "2025-02-28",
|
|
52
|
+
"release_date": "2025-10-15",
|
|
53
|
+
"last_updated": "2025-10-15",
|
|
54
54
|
"modalities": {
|
|
55
55
|
"input": [
|
|
56
56
|
"text",
|
|
@@ -63,27 +63,27 @@
|
|
|
63
63
|
},
|
|
64
64
|
"open_weights": false,
|
|
65
65
|
"cost": {
|
|
66
|
-
"input":
|
|
67
|
-
"output":
|
|
68
|
-
"cache_read": 1
|
|
69
|
-
"cache_write":
|
|
66
|
+
"input": 1,
|
|
67
|
+
"output": 5,
|
|
68
|
+
"cache_read": 0.1,
|
|
69
|
+
"cache_write": 1.25
|
|
70
70
|
},
|
|
71
71
|
"limit": {
|
|
72
72
|
"context": 200000,
|
|
73
|
-
"output":
|
|
73
|
+
"output": 64000
|
|
74
74
|
}
|
|
75
75
|
},
|
|
76
|
-
"claude-opus-4-5": {
|
|
77
|
-
"id": "claude-opus-4-5",
|
|
78
|
-
"name": "Claude Opus 4.5
|
|
76
|
+
"claude-opus-4-5-20251101": {
|
|
77
|
+
"id": "claude-opus-4-5-20251101",
|
|
78
|
+
"name": "Claude Opus 4.5",
|
|
79
79
|
"family": "claude-opus",
|
|
80
80
|
"attachment": true,
|
|
81
81
|
"reasoning": true,
|
|
82
82
|
"tool_call": true,
|
|
83
83
|
"temperature": true,
|
|
84
84
|
"knowledge": "2025-03-31",
|
|
85
|
-
"release_date": "2025-11-
|
|
86
|
-
"last_updated": "2025-11-
|
|
85
|
+
"release_date": "2025-11-01",
|
|
86
|
+
"last_updated": "2025-11-01",
|
|
87
87
|
"modalities": {
|
|
88
88
|
"input": [
|
|
89
89
|
"text",
|
|
@@ -106,17 +106,17 @@
|
|
|
106
106
|
"output": 64000
|
|
107
107
|
}
|
|
108
108
|
},
|
|
109
|
-
"claude-3-
|
|
110
|
-
"id": "claude-3-
|
|
111
|
-
"name": "Claude
|
|
112
|
-
"family": "claude-
|
|
109
|
+
"claude-3-opus-20240229": {
|
|
110
|
+
"id": "claude-3-opus-20240229",
|
|
111
|
+
"name": "Claude Opus 3",
|
|
112
|
+
"family": "claude-opus",
|
|
113
113
|
"attachment": true,
|
|
114
|
-
"reasoning":
|
|
114
|
+
"reasoning": false,
|
|
115
115
|
"tool_call": true,
|
|
116
116
|
"temperature": true,
|
|
117
|
-
"knowledge": "
|
|
118
|
-
"release_date": "
|
|
119
|
-
"last_updated": "
|
|
117
|
+
"knowledge": "2023-08-31",
|
|
118
|
+
"release_date": "2024-02-29",
|
|
119
|
+
"last_updated": "2024-02-29",
|
|
120
120
|
"modalities": {
|
|
121
121
|
"input": [
|
|
122
122
|
"text",
|
|
@@ -129,27 +129,27 @@
|
|
|
129
129
|
},
|
|
130
130
|
"open_weights": false,
|
|
131
131
|
"cost": {
|
|
132
|
-
"input":
|
|
133
|
-
"output":
|
|
134
|
-
"cache_read":
|
|
135
|
-
"cache_write":
|
|
132
|
+
"input": 15,
|
|
133
|
+
"output": 75,
|
|
134
|
+
"cache_read": 1.5,
|
|
135
|
+
"cache_write": 18.75
|
|
136
136
|
},
|
|
137
137
|
"limit": {
|
|
138
138
|
"context": 200000,
|
|
139
|
-
"output":
|
|
139
|
+
"output": 4096
|
|
140
140
|
}
|
|
141
141
|
},
|
|
142
|
-
"claude-
|
|
143
|
-
"id": "claude-
|
|
144
|
-
"name": "Claude
|
|
145
|
-
"family": "claude-
|
|
142
|
+
"claude-3-5-haiku-20241022": {
|
|
143
|
+
"id": "claude-3-5-haiku-20241022",
|
|
144
|
+
"name": "Claude Haiku 3.5",
|
|
145
|
+
"family": "claude-haiku",
|
|
146
146
|
"attachment": true,
|
|
147
|
-
"reasoning":
|
|
147
|
+
"reasoning": false,
|
|
148
148
|
"tool_call": true,
|
|
149
149
|
"temperature": true,
|
|
150
|
-
"knowledge": "
|
|
151
|
-
"release_date": "
|
|
152
|
-
"last_updated": "
|
|
150
|
+
"knowledge": "2024-07-31",
|
|
151
|
+
"release_date": "2024-10-22",
|
|
152
|
+
"last_updated": "2024-10-22",
|
|
153
153
|
"modalities": {
|
|
154
154
|
"input": [
|
|
155
155
|
"text",
|
|
@@ -162,27 +162,27 @@
|
|
|
162
162
|
},
|
|
163
163
|
"open_weights": false,
|
|
164
164
|
"cost": {
|
|
165
|
-
"input":
|
|
166
|
-
"output":
|
|
167
|
-
"cache_read": 0.
|
|
168
|
-
"cache_write":
|
|
165
|
+
"input": 0.8,
|
|
166
|
+
"output": 4,
|
|
167
|
+
"cache_read": 0.08,
|
|
168
|
+
"cache_write": 1
|
|
169
169
|
},
|
|
170
170
|
"limit": {
|
|
171
|
-
"context":
|
|
172
|
-
"output":
|
|
171
|
+
"context": 200000,
|
|
172
|
+
"output": 8192
|
|
173
173
|
}
|
|
174
174
|
},
|
|
175
|
-
"claude-
|
|
176
|
-
"id": "claude-
|
|
177
|
-
"name": "Claude Sonnet
|
|
175
|
+
"claude-3-5-sonnet-20241022": {
|
|
176
|
+
"id": "claude-3-5-sonnet-20241022",
|
|
177
|
+
"name": "Claude Sonnet 3.5 v2",
|
|
178
178
|
"family": "claude-sonnet",
|
|
179
179
|
"attachment": true,
|
|
180
|
-
"reasoning":
|
|
180
|
+
"reasoning": false,
|
|
181
181
|
"tool_call": true,
|
|
182
182
|
"temperature": true,
|
|
183
|
-
"knowledge": "
|
|
184
|
-
"release_date": "
|
|
185
|
-
"last_updated": "
|
|
183
|
+
"knowledge": "2024-04-30",
|
|
184
|
+
"release_date": "2024-10-22",
|
|
185
|
+
"last_updated": "2024-10-22",
|
|
186
186
|
"modalities": {
|
|
187
187
|
"input": [
|
|
188
188
|
"text",
|
|
@@ -202,7 +202,7 @@
|
|
|
202
202
|
},
|
|
203
203
|
"limit": {
|
|
204
204
|
"context": 200000,
|
|
205
|
-
"output":
|
|
205
|
+
"output": 8192
|
|
206
206
|
}
|
|
207
207
|
},
|
|
208
208
|
"claude-sonnet-4-6": {
|
|
@@ -238,43 +238,10 @@
|
|
|
238
238
|
"output": 64000
|
|
239
239
|
}
|
|
240
240
|
},
|
|
241
|
-
"claude-
|
|
242
|
-
"id": "claude-
|
|
243
|
-
"name": "Claude
|
|
244
|
-
"family": "claude-
|
|
245
|
-
"attachment": true,
|
|
246
|
-
"reasoning": false,
|
|
247
|
-
"tool_call": true,
|
|
248
|
-
"temperature": true,
|
|
249
|
-
"knowledge": "2024-07-31",
|
|
250
|
-
"release_date": "2024-10-22",
|
|
251
|
-
"last_updated": "2024-10-22",
|
|
252
|
-
"modalities": {
|
|
253
|
-
"input": [
|
|
254
|
-
"text",
|
|
255
|
-
"image",
|
|
256
|
-
"pdf"
|
|
257
|
-
],
|
|
258
|
-
"output": [
|
|
259
|
-
"text"
|
|
260
|
-
]
|
|
261
|
-
},
|
|
262
|
-
"open_weights": false,
|
|
263
|
-
"cost": {
|
|
264
|
-
"input": 0.8,
|
|
265
|
-
"output": 4,
|
|
266
|
-
"cache_read": 0.08,
|
|
267
|
-
"cache_write": 1
|
|
268
|
-
},
|
|
269
|
-
"limit": {
|
|
270
|
-
"context": 200000,
|
|
271
|
-
"output": 8192
|
|
272
|
-
}
|
|
273
|
-
},
|
|
274
|
-
"claude-sonnet-4-0": {
|
|
275
|
-
"id": "claude-sonnet-4-0",
|
|
276
|
-
"name": "Claude Sonnet 4 (latest)",
|
|
277
|
-
"family": "claude-sonnet",
|
|
241
|
+
"claude-opus-4-0": {
|
|
242
|
+
"id": "claude-opus-4-0",
|
|
243
|
+
"name": "Claude Opus 4 (latest)",
|
|
244
|
+
"family": "claude-opus",
|
|
278
245
|
"attachment": true,
|
|
279
246
|
"reasoning": true,
|
|
280
247
|
"tool_call": true,
|
|
@@ -294,14 +261,14 @@
|
|
|
294
261
|
},
|
|
295
262
|
"open_weights": false,
|
|
296
263
|
"cost": {
|
|
297
|
-
"input":
|
|
298
|
-
"output":
|
|
299
|
-
"cache_read":
|
|
300
|
-
"cache_write":
|
|
264
|
+
"input": 15,
|
|
265
|
+
"output": 75,
|
|
266
|
+
"cache_read": 1.5,
|
|
267
|
+
"cache_write": 18.75
|
|
301
268
|
},
|
|
302
269
|
"limit": {
|
|
303
270
|
"context": 200000,
|
|
304
|
-
"output":
|
|
271
|
+
"output": 32000
|
|
305
272
|
}
|
|
306
273
|
},
|
|
307
274
|
"claude-3-haiku-20240307": {
|
|
@@ -337,17 +304,17 @@
|
|
|
337
304
|
"output": 4096
|
|
338
305
|
}
|
|
339
306
|
},
|
|
340
|
-
"claude-sonnet-4-
|
|
341
|
-
"id": "claude-sonnet-4-
|
|
342
|
-
"name": "Claude Sonnet 4",
|
|
307
|
+
"claude-sonnet-4-5-20250929": {
|
|
308
|
+
"id": "claude-sonnet-4-5-20250929",
|
|
309
|
+
"name": "Claude Sonnet 4.5",
|
|
343
310
|
"family": "claude-sonnet",
|
|
344
311
|
"attachment": true,
|
|
345
312
|
"reasoning": true,
|
|
346
313
|
"tool_call": true,
|
|
347
314
|
"temperature": true,
|
|
348
|
-
"knowledge": "2025-
|
|
349
|
-
"release_date": "2025-
|
|
350
|
-
"last_updated": "2025-
|
|
315
|
+
"knowledge": "2025-07-31",
|
|
316
|
+
"release_date": "2025-09-29",
|
|
317
|
+
"last_updated": "2025-09-29",
|
|
351
318
|
"modalities": {
|
|
352
319
|
"input": [
|
|
353
320
|
"text",
|
|
@@ -370,17 +337,17 @@
|
|
|
370
337
|
"output": 64000
|
|
371
338
|
}
|
|
372
339
|
},
|
|
373
|
-
"claude-
|
|
374
|
-
"id": "claude-
|
|
375
|
-
"name": "Claude
|
|
376
|
-
"family": "claude-
|
|
340
|
+
"claude-3-5-haiku-latest": {
|
|
341
|
+
"id": "claude-3-5-haiku-latest",
|
|
342
|
+
"name": "Claude Haiku 3.5 (latest)",
|
|
343
|
+
"family": "claude-haiku",
|
|
377
344
|
"attachment": true,
|
|
378
|
-
"reasoning":
|
|
345
|
+
"reasoning": false,
|
|
379
346
|
"tool_call": true,
|
|
380
347
|
"temperature": true,
|
|
381
|
-
"knowledge": "
|
|
382
|
-
"release_date": "
|
|
383
|
-
"last_updated": "
|
|
348
|
+
"knowledge": "2024-07-31",
|
|
349
|
+
"release_date": "2024-10-22",
|
|
350
|
+
"last_updated": "2024-10-22",
|
|
384
351
|
"modalities": {
|
|
385
352
|
"input": [
|
|
386
353
|
"text",
|
|
@@ -393,27 +360,27 @@
|
|
|
393
360
|
},
|
|
394
361
|
"open_weights": false,
|
|
395
362
|
"cost": {
|
|
396
|
-
"input":
|
|
397
|
-
"output":
|
|
398
|
-
"cache_read":
|
|
399
|
-
"cache_write":
|
|
363
|
+
"input": 0.8,
|
|
364
|
+
"output": 4,
|
|
365
|
+
"cache_read": 0.08,
|
|
366
|
+
"cache_write": 1
|
|
400
367
|
},
|
|
401
368
|
"limit": {
|
|
402
369
|
"context": 200000,
|
|
403
|
-
"output":
|
|
370
|
+
"output": 8192
|
|
404
371
|
}
|
|
405
372
|
},
|
|
406
|
-
"claude-
|
|
407
|
-
"id": "claude-
|
|
408
|
-
"name": "Claude Opus
|
|
373
|
+
"claude-opus-4-1": {
|
|
374
|
+
"id": "claude-opus-4-1",
|
|
375
|
+
"name": "Claude Opus 4.1 (latest)",
|
|
409
376
|
"family": "claude-opus",
|
|
410
377
|
"attachment": true,
|
|
411
|
-
"reasoning":
|
|
378
|
+
"reasoning": true,
|
|
412
379
|
"tool_call": true,
|
|
413
380
|
"temperature": true,
|
|
414
|
-
"knowledge": "
|
|
415
|
-
"release_date": "
|
|
416
|
-
"last_updated": "
|
|
381
|
+
"knowledge": "2025-03-31",
|
|
382
|
+
"release_date": "2025-08-05",
|
|
383
|
+
"last_updated": "2025-08-05",
|
|
417
384
|
"modalities": {
|
|
418
385
|
"input": [
|
|
419
386
|
"text",
|
|
@@ -433,20 +400,20 @@
|
|
|
433
400
|
},
|
|
434
401
|
"limit": {
|
|
435
402
|
"context": 200000,
|
|
436
|
-
"output":
|
|
403
|
+
"output": 32000
|
|
437
404
|
}
|
|
438
405
|
},
|
|
439
|
-
"claude-
|
|
440
|
-
"id": "claude-
|
|
441
|
-
"name": "Claude
|
|
442
|
-
"family": "claude-
|
|
406
|
+
"claude-sonnet-4-0": {
|
|
407
|
+
"id": "claude-sonnet-4-0",
|
|
408
|
+
"name": "Claude Sonnet 4 (latest)",
|
|
409
|
+
"family": "claude-sonnet",
|
|
443
410
|
"attachment": true,
|
|
444
|
-
"reasoning":
|
|
411
|
+
"reasoning": true,
|
|
445
412
|
"tool_call": true,
|
|
446
413
|
"temperature": true,
|
|
447
|
-
"knowledge": "
|
|
448
|
-
"release_date": "
|
|
449
|
-
"last_updated": "
|
|
414
|
+
"knowledge": "2025-03-31",
|
|
415
|
+
"release_date": "2025-05-22",
|
|
416
|
+
"last_updated": "2025-05-22",
|
|
450
417
|
"modalities": {
|
|
451
418
|
"input": [
|
|
452
419
|
"text",
|
|
@@ -459,14 +426,14 @@
|
|
|
459
426
|
},
|
|
460
427
|
"open_weights": false,
|
|
461
428
|
"cost": {
|
|
462
|
-
"input":
|
|
463
|
-
"output":
|
|
464
|
-
"cache_read": 0.
|
|
465
|
-
"cache_write":
|
|
429
|
+
"input": 3,
|
|
430
|
+
"output": 15,
|
|
431
|
+
"cache_read": 0.3,
|
|
432
|
+
"cache_write": 3.75
|
|
466
433
|
},
|
|
467
434
|
"limit": {
|
|
468
435
|
"context": 200000,
|
|
469
|
-
"output":
|
|
436
|
+
"output": 64000
|
|
470
437
|
}
|
|
471
438
|
},
|
|
472
439
|
"claude-3-5-sonnet-20240620": {
|
|
@@ -502,17 +469,17 @@
|
|
|
502
469
|
"output": 8192
|
|
503
470
|
}
|
|
504
471
|
},
|
|
505
|
-
"claude-opus-4-
|
|
506
|
-
"id": "claude-opus-4-
|
|
507
|
-
"name": "Claude Opus 4.
|
|
472
|
+
"claude-opus-4-5": {
|
|
473
|
+
"id": "claude-opus-4-5",
|
|
474
|
+
"name": "Claude Opus 4.5 (latest)",
|
|
508
475
|
"family": "claude-opus",
|
|
509
476
|
"attachment": true,
|
|
510
477
|
"reasoning": true,
|
|
511
478
|
"tool_call": true,
|
|
512
479
|
"temperature": true,
|
|
513
480
|
"knowledge": "2025-03-31",
|
|
514
|
-
"release_date": "2025-
|
|
515
|
-
"last_updated": "2025-
|
|
481
|
+
"release_date": "2025-11-24",
|
|
482
|
+
"last_updated": "2025-11-24",
|
|
516
483
|
"modalities": {
|
|
517
484
|
"input": [
|
|
518
485
|
"text",
|
|
@@ -525,27 +492,27 @@
|
|
|
525
492
|
},
|
|
526
493
|
"open_weights": false,
|
|
527
494
|
"cost": {
|
|
528
|
-
"input":
|
|
529
|
-
"output":
|
|
530
|
-
"cache_read":
|
|
531
|
-
"cache_write":
|
|
495
|
+
"input": 5,
|
|
496
|
+
"output": 25,
|
|
497
|
+
"cache_read": 0.5,
|
|
498
|
+
"cache_write": 6.25
|
|
532
499
|
},
|
|
533
500
|
"limit": {
|
|
534
501
|
"context": 200000,
|
|
535
|
-
"output":
|
|
502
|
+
"output": 64000
|
|
536
503
|
}
|
|
537
504
|
},
|
|
538
|
-
"claude-opus-4-
|
|
539
|
-
"id": "claude-opus-4-
|
|
540
|
-
"name": "Claude Opus 4
|
|
505
|
+
"claude-opus-4-1-20250805": {
|
|
506
|
+
"id": "claude-opus-4-1-20250805",
|
|
507
|
+
"name": "Claude Opus 4.1",
|
|
541
508
|
"family": "claude-opus",
|
|
542
509
|
"attachment": true,
|
|
543
510
|
"reasoning": true,
|
|
544
511
|
"tool_call": true,
|
|
545
512
|
"temperature": true,
|
|
546
513
|
"knowledge": "2025-03-31",
|
|
547
|
-
"release_date": "2025-05
|
|
548
|
-
"last_updated": "2025-05
|
|
514
|
+
"release_date": "2025-08-05",
|
|
515
|
+
"last_updated": "2025-08-05",
|
|
549
516
|
"modalities": {
|
|
550
517
|
"input": [
|
|
551
518
|
"text",
|
|
@@ -601,17 +568,17 @@
|
|
|
601
568
|
"output": 64000
|
|
602
569
|
}
|
|
603
570
|
},
|
|
604
|
-
"claude-sonnet-4-
|
|
605
|
-
"id": "claude-sonnet-4-
|
|
606
|
-
"name": "Claude Sonnet 4
|
|
571
|
+
"claude-sonnet-4-20250514": {
|
|
572
|
+
"id": "claude-sonnet-4-20250514",
|
|
573
|
+
"name": "Claude Sonnet 4",
|
|
607
574
|
"family": "claude-sonnet",
|
|
608
575
|
"attachment": true,
|
|
609
576
|
"reasoning": true,
|
|
610
577
|
"tool_call": true,
|
|
611
578
|
"temperature": true,
|
|
612
|
-
"knowledge": "2025-
|
|
613
|
-
"release_date": "2025-
|
|
614
|
-
"last_updated": "2025-
|
|
579
|
+
"knowledge": "2025-03-31",
|
|
580
|
+
"release_date": "2025-05-22",
|
|
581
|
+
"last_updated": "2025-05-22",
|
|
615
582
|
"modalities": {
|
|
616
583
|
"input": [
|
|
617
584
|
"text",
|
|
@@ -634,17 +601,17 @@
|
|
|
634
601
|
"output": 64000
|
|
635
602
|
}
|
|
636
603
|
},
|
|
637
|
-
"claude-
|
|
638
|
-
"id": "claude-
|
|
639
|
-
"name": "Claude
|
|
640
|
-
"family": "claude-
|
|
604
|
+
"claude-opus-4-6": {
|
|
605
|
+
"id": "claude-opus-4-6",
|
|
606
|
+
"name": "Claude Opus 4.6",
|
|
607
|
+
"family": "claude-opus",
|
|
641
608
|
"attachment": true,
|
|
642
609
|
"reasoning": true,
|
|
643
610
|
"tool_call": true,
|
|
644
611
|
"temperature": true,
|
|
645
|
-
"knowledge": "2025-
|
|
646
|
-
"release_date": "
|
|
647
|
-
"last_updated": "
|
|
612
|
+
"knowledge": "2025-05",
|
|
613
|
+
"release_date": "2026-02-05",
|
|
614
|
+
"last_updated": "2026-03-13",
|
|
648
615
|
"modalities": {
|
|
649
616
|
"input": [
|
|
650
617
|
"text",
|
|
@@ -657,27 +624,47 @@
|
|
|
657
624
|
},
|
|
658
625
|
"open_weights": false,
|
|
659
626
|
"cost": {
|
|
660
|
-
"input":
|
|
661
|
-
"output":
|
|
662
|
-
"cache_read": 0.
|
|
663
|
-
"cache_write":
|
|
627
|
+
"input": 5,
|
|
628
|
+
"output": 25,
|
|
629
|
+
"cache_read": 0.5,
|
|
630
|
+
"cache_write": 6.25
|
|
664
631
|
},
|
|
665
632
|
"limit": {
|
|
666
|
-
"context":
|
|
667
|
-
"output":
|
|
633
|
+
"context": 1000000,
|
|
634
|
+
"output": 128000
|
|
635
|
+
},
|
|
636
|
+
"experimental": {
|
|
637
|
+
"modes": {
|
|
638
|
+
"fast": {
|
|
639
|
+
"cost": {
|
|
640
|
+
"input": 30,
|
|
641
|
+
"output": 150,
|
|
642
|
+
"cache_read": 3,
|
|
643
|
+
"cache_write": 37.5
|
|
644
|
+
},
|
|
645
|
+
"provider": {
|
|
646
|
+
"body": {
|
|
647
|
+
"speed": "fast"
|
|
648
|
+
},
|
|
649
|
+
"headers": {
|
|
650
|
+
"anthropic-beta": "fast-mode-2026-02-01"
|
|
651
|
+
}
|
|
652
|
+
}
|
|
653
|
+
}
|
|
654
|
+
}
|
|
668
655
|
}
|
|
669
656
|
},
|
|
670
|
-
"claude-3-sonnet-
|
|
671
|
-
"id": "claude-3-sonnet-
|
|
672
|
-
"name": "Claude Sonnet 3",
|
|
657
|
+
"claude-3-7-sonnet-20250219": {
|
|
658
|
+
"id": "claude-3-7-sonnet-20250219",
|
|
659
|
+
"name": "Claude Sonnet 3.7",
|
|
673
660
|
"family": "claude-sonnet",
|
|
674
661
|
"attachment": true,
|
|
675
|
-
"reasoning":
|
|
662
|
+
"reasoning": true,
|
|
676
663
|
"tool_call": true,
|
|
677
664
|
"temperature": true,
|
|
678
|
-
"knowledge": "
|
|
679
|
-
"release_date": "
|
|
680
|
-
"last_updated": "
|
|
665
|
+
"knowledge": "2024-10-31",
|
|
666
|
+
"release_date": "2025-02-19",
|
|
667
|
+
"last_updated": "2025-02-19",
|
|
681
668
|
"modalities": {
|
|
682
669
|
"input": [
|
|
683
670
|
"text",
|
|
@@ -693,24 +680,24 @@
|
|
|
693
680
|
"input": 3,
|
|
694
681
|
"output": 15,
|
|
695
682
|
"cache_read": 0.3,
|
|
696
|
-
"cache_write":
|
|
683
|
+
"cache_write": 3.75
|
|
697
684
|
},
|
|
698
685
|
"limit": {
|
|
699
686
|
"context": 200000,
|
|
700
|
-
"output":
|
|
687
|
+
"output": 64000
|
|
701
688
|
}
|
|
702
689
|
},
|
|
703
|
-
"claude-
|
|
704
|
-
"id": "claude-
|
|
705
|
-
"name": "Claude Sonnet
|
|
690
|
+
"claude-sonnet-4-5": {
|
|
691
|
+
"id": "claude-sonnet-4-5",
|
|
692
|
+
"name": "Claude Sonnet 4.5 (latest)",
|
|
706
693
|
"family": "claude-sonnet",
|
|
707
694
|
"attachment": true,
|
|
708
|
-
"reasoning":
|
|
695
|
+
"reasoning": true,
|
|
709
696
|
"tool_call": true,
|
|
710
697
|
"temperature": true,
|
|
711
|
-
"knowledge": "
|
|
712
|
-
"release_date": "
|
|
713
|
-
"last_updated": "
|
|
698
|
+
"knowledge": "2025-07-31",
|
|
699
|
+
"release_date": "2025-09-29",
|
|
700
|
+
"last_updated": "2025-09-29",
|
|
714
701
|
"modalities": {
|
|
715
702
|
"input": [
|
|
716
703
|
"text",
|
|
@@ -730,7 +717,40 @@
|
|
|
730
717
|
},
|
|
731
718
|
"limit": {
|
|
732
719
|
"context": 200000,
|
|
733
|
-
"output":
|
|
720
|
+
"output": 64000
|
|
721
|
+
}
|
|
722
|
+
},
|
|
723
|
+
"claude-opus-4-20250514": {
|
|
724
|
+
"id": "claude-opus-4-20250514",
|
|
725
|
+
"name": "Claude Opus 4",
|
|
726
|
+
"family": "claude-opus",
|
|
727
|
+
"attachment": true,
|
|
728
|
+
"reasoning": true,
|
|
729
|
+
"tool_call": true,
|
|
730
|
+
"temperature": true,
|
|
731
|
+
"knowledge": "2025-03-31",
|
|
732
|
+
"release_date": "2025-05-22",
|
|
733
|
+
"last_updated": "2025-05-22",
|
|
734
|
+
"modalities": {
|
|
735
|
+
"input": [
|
|
736
|
+
"text",
|
|
737
|
+
"image",
|
|
738
|
+
"pdf"
|
|
739
|
+
],
|
|
740
|
+
"output": [
|
|
741
|
+
"text"
|
|
742
|
+
]
|
|
743
|
+
},
|
|
744
|
+
"open_weights": false,
|
|
745
|
+
"cost": {
|
|
746
|
+
"input": 15,
|
|
747
|
+
"output": 75,
|
|
748
|
+
"cache_read": 1.5,
|
|
749
|
+
"cache_write": 18.75
|
|
750
|
+
},
|
|
751
|
+
"limit": {
|
|
752
|
+
"context": 200000,
|
|
753
|
+
"output": 32000
|
|
734
754
|
}
|
|
735
755
|
}
|
|
736
756
|
}
|