llm.rb 15.5.0 → 16.0.0.pre.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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +88 -1
- data/README.md +21 -30
- data/data/alibaba.json +1123 -949
- data/data/anthropic.json +296 -242
- data/data/bedrock.json +4178 -3807
- data/data/deepinfra.json +1529 -1358
- data/data/deepseek.json +15 -11
- data/data/google.json +787 -763
- data/data/mistral.json +476 -496
- data/data/moonshot.json +53 -50
- data/data/openai.json +1294 -1165
- data/data/openrouter.json +8722 -8546
- data/data/xai.json +207 -202
- data/data/zai.json +271 -264
- data/docs/deepdive/features/builtin_tools.md +3 -1
- data/docs/deepdive/features/console.md +7 -0
- data/docs/deepdive/fundamentals/schema.md +46 -0
- data/docs/deepdive/fundamentals/tools.md +68 -0
- data/docs/deepdive/protocols/a2a.md +91 -0
- data/docs/deepdive/protocols/mcp.md +50 -0
- data/docs/deepdive/reference/model_registry.md +1 -1
- data/lib/llm/console/input.rb +15 -5
- data/lib/llm/function/async/reactor.rb +10 -0
- data/lib/llm/function/async/task.rb +63 -11
- data/lib/llm/function/fork/job.rb +31 -8
- data/lib/llm/function/ractor/job.rb +59 -20
- data/lib/llm/function/ractor/mailbox.rb +39 -3
- data/lib/llm/function/ractor/task.rb +26 -9
- data/lib/llm/function/window.rb +77 -0
- data/lib/llm/function.rb +2 -1
- data/lib/llm/providers/deepseek/request_adapter/completion.rb +43 -2
- data/lib/llm/tool/param.rb +8 -8
- data/lib/llm/tools/exec.rb +2 -0
- data/lib/llm/version.rb +1 -1
- data/llm.gemspec +4 -4
- metadata +7 -6
data/data/anthropic.json
CHANGED
|
@@ -7,11 +7,53 @@
|
|
|
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
|
-
"description": "Claude
|
|
14
|
-
"family": "claude-
|
|
10
|
+
"claude-haiku-4-5": {
|
|
11
|
+
"id": "claude-haiku-4-5",
|
|
12
|
+
"name": "Claude Haiku 4.5 (latest)",
|
|
13
|
+
"description": "Fast Claude lane for lightweight agents, office tasks, and responsive chat",
|
|
14
|
+
"family": "claude-haiku",
|
|
15
|
+
"attachment": true,
|
|
16
|
+
"reasoning": true,
|
|
17
|
+
"reasoning_options": [
|
|
18
|
+
{
|
|
19
|
+
"type": "budget_tokens",
|
|
20
|
+
"min": 1024
|
|
21
|
+
}
|
|
22
|
+
],
|
|
23
|
+
"tool_call": true,
|
|
24
|
+
"structured_output": true,
|
|
25
|
+
"temperature": true,
|
|
26
|
+
"knowledge": "2025-02-28",
|
|
27
|
+
"release_date": "2025-10-15",
|
|
28
|
+
"last_updated": "2025-10-15",
|
|
29
|
+
"modalities": {
|
|
30
|
+
"input": [
|
|
31
|
+
"text",
|
|
32
|
+
"image",
|
|
33
|
+
"pdf"
|
|
34
|
+
],
|
|
35
|
+
"output": [
|
|
36
|
+
"text"
|
|
37
|
+
]
|
|
38
|
+
},
|
|
39
|
+
"open_weights": false,
|
|
40
|
+
"limit": {
|
|
41
|
+
"context": 200000,
|
|
42
|
+
"output": 64000
|
|
43
|
+
},
|
|
44
|
+
"cost": {
|
|
45
|
+
"input": 1,
|
|
46
|
+
"output": 5,
|
|
47
|
+
"cache_read": 0.1,
|
|
48
|
+
"cache_write": 1.25
|
|
49
|
+
},
|
|
50
|
+
"canonical_model_id": "anthropic/claude-haiku-4-5"
|
|
51
|
+
},
|
|
52
|
+
"claude-opus-4-5": {
|
|
53
|
+
"id": "claude-opus-4-5",
|
|
54
|
+
"name": "Claude Opus 4.5 (latest)",
|
|
55
|
+
"description": "Flagship Claude model for deep reasoning, coding, and long-horizon agents",
|
|
56
|
+
"family": "claude-opus",
|
|
15
57
|
"attachment": true,
|
|
16
58
|
"reasoning": true,
|
|
17
59
|
"reasoning_options": [
|
|
@@ -20,8 +62,7 @@
|
|
|
20
62
|
"values": [
|
|
21
63
|
"low",
|
|
22
64
|
"medium",
|
|
23
|
-
"high"
|
|
24
|
-
"max"
|
|
65
|
+
"high"
|
|
25
66
|
]
|
|
26
67
|
},
|
|
27
68
|
{
|
|
@@ -32,9 +73,51 @@
|
|
|
32
73
|
"tool_call": true,
|
|
33
74
|
"structured_output": true,
|
|
34
75
|
"temperature": true,
|
|
35
|
-
"knowledge": "2025-
|
|
36
|
-
"release_date": "
|
|
37
|
-
"last_updated": "
|
|
76
|
+
"knowledge": "2025-05",
|
|
77
|
+
"release_date": "2025-11-24",
|
|
78
|
+
"last_updated": "2025-11-24",
|
|
79
|
+
"modalities": {
|
|
80
|
+
"input": [
|
|
81
|
+
"text",
|
|
82
|
+
"image",
|
|
83
|
+
"pdf"
|
|
84
|
+
],
|
|
85
|
+
"output": [
|
|
86
|
+
"text"
|
|
87
|
+
]
|
|
88
|
+
},
|
|
89
|
+
"open_weights": false,
|
|
90
|
+
"limit": {
|
|
91
|
+
"context": 200000,
|
|
92
|
+
"output": 64000
|
|
93
|
+
},
|
|
94
|
+
"cost": {
|
|
95
|
+
"input": 5,
|
|
96
|
+
"output": 25,
|
|
97
|
+
"cache_read": 0.5,
|
|
98
|
+
"cache_write": 6.25
|
|
99
|
+
},
|
|
100
|
+
"canonical_model_id": "anthropic/claude-opus-4-5"
|
|
101
|
+
},
|
|
102
|
+
"claude-sonnet-4-5": {
|
|
103
|
+
"id": "claude-sonnet-4-5",
|
|
104
|
+
"name": "Claude Sonnet 4.5 (latest)",
|
|
105
|
+
"description": "Balanced Claude model for coding, analysis, agent workflows, and cost control",
|
|
106
|
+
"family": "claude-sonnet",
|
|
107
|
+
"attachment": true,
|
|
108
|
+
"reasoning": true,
|
|
109
|
+
"reasoning_options": [
|
|
110
|
+
{
|
|
111
|
+
"type": "budget_tokens",
|
|
112
|
+
"min": 1024
|
|
113
|
+
}
|
|
114
|
+
],
|
|
115
|
+
"tool_call": true,
|
|
116
|
+
"structured_output": true,
|
|
117
|
+
"temperature": true,
|
|
118
|
+
"knowledge": "2025-07-31",
|
|
119
|
+
"release_date": "2025-09-29",
|
|
120
|
+
"last_updated": "2025-09-29",
|
|
38
121
|
"modalities": {
|
|
39
122
|
"input": [
|
|
40
123
|
"text",
|
|
@@ -48,14 +131,15 @@
|
|
|
48
131
|
"open_weights": false,
|
|
49
132
|
"limit": {
|
|
50
133
|
"context": 1000000,
|
|
51
|
-
"output":
|
|
134
|
+
"output": 64000
|
|
52
135
|
},
|
|
53
136
|
"cost": {
|
|
54
137
|
"input": 3,
|
|
55
138
|
"output": 15,
|
|
56
139
|
"cache_read": 0.3,
|
|
57
140
|
"cache_write": 3.75
|
|
58
|
-
}
|
|
141
|
+
},
|
|
142
|
+
"canonical_model_id": "anthropic/claude-sonnet-4-5"
|
|
59
143
|
},
|
|
60
144
|
"claude-opus-5-5": {
|
|
61
145
|
"id": "claude-opus-5-5",
|
|
@@ -122,13 +206,14 @@
|
|
|
122
206
|
"output": 20,
|
|
123
207
|
"cache_read": 0.2,
|
|
124
208
|
"cache_write": 5
|
|
125
|
-
}
|
|
209
|
+
},
|
|
210
|
+
"canonical_model_id": "anthropic/claude-opus-5-5"
|
|
126
211
|
},
|
|
127
|
-
"claude-
|
|
128
|
-
"id": "claude-
|
|
129
|
-
"name": "Claude
|
|
130
|
-
"description": "
|
|
131
|
-
"family": "claude-
|
|
212
|
+
"claude-fable-5-1": {
|
|
213
|
+
"id": "claude-fable-5-1",
|
|
214
|
+
"name": "Claude Fable 5.1",
|
|
215
|
+
"description": "Claude model for demanding reasoning and long-horizon agentic work",
|
|
216
|
+
"family": "claude-fable",
|
|
132
217
|
"attachment": true,
|
|
133
218
|
"reasoning": true,
|
|
134
219
|
"reasoning_options": [
|
|
@@ -146,9 +231,9 @@
|
|
|
146
231
|
"tool_call": true,
|
|
147
232
|
"structured_output": true,
|
|
148
233
|
"temperature": false,
|
|
149
|
-
"knowledge": "2026-
|
|
150
|
-
"release_date": "2026-
|
|
151
|
-
"last_updated": "2026-
|
|
234
|
+
"knowledge": "2026-06",
|
|
235
|
+
"release_date": "2026-09-01",
|
|
236
|
+
"last_updated": "2026-09-01",
|
|
152
237
|
"modalities": {
|
|
153
238
|
"input": [
|
|
154
239
|
"text",
|
|
@@ -164,36 +249,17 @@
|
|
|
164
249
|
"context": 1000000,
|
|
165
250
|
"output": 128000
|
|
166
251
|
},
|
|
167
|
-
"experimental": {
|
|
168
|
-
"modes": {
|
|
169
|
-
"fast": {
|
|
170
|
-
"cost": {
|
|
171
|
-
"input": 10,
|
|
172
|
-
"output": 50,
|
|
173
|
-
"cache_read": 1,
|
|
174
|
-
"cache_write": 12.5
|
|
175
|
-
},
|
|
176
|
-
"provider": {
|
|
177
|
-
"body": {
|
|
178
|
-
"speed": "fast"
|
|
179
|
-
},
|
|
180
|
-
"headers": {
|
|
181
|
-
"anthropic-beta": "fast-mode-2026-02-01"
|
|
182
|
-
}
|
|
183
|
-
}
|
|
184
|
-
}
|
|
185
|
-
}
|
|
186
|
-
},
|
|
187
252
|
"cost": {
|
|
188
|
-
"input":
|
|
189
|
-
"output":
|
|
190
|
-
"cache_read": 0.
|
|
191
|
-
"cache_write":
|
|
192
|
-
}
|
|
253
|
+
"input": 10,
|
|
254
|
+
"output": 50,
|
|
255
|
+
"cache_read": 0.25,
|
|
256
|
+
"cache_write": 12.5
|
|
257
|
+
},
|
|
258
|
+
"canonical_model_id": "anthropic/claude-fable-5-1"
|
|
193
259
|
},
|
|
194
|
-
"claude-opus-4-5": {
|
|
195
|
-
"id": "claude-opus-4-5",
|
|
196
|
-
"name": "Claude Opus 4.5
|
|
260
|
+
"claude-opus-4-5-20251101": {
|
|
261
|
+
"id": "claude-opus-4-5-20251101",
|
|
262
|
+
"name": "Claude Opus 4.5",
|
|
197
263
|
"description": "Flagship Claude model for deep reasoning, coding, and long-horizon agents",
|
|
198
264
|
"family": "claude-opus",
|
|
199
265
|
"attachment": true,
|
|
@@ -217,7 +283,7 @@
|
|
|
217
283
|
"temperature": true,
|
|
218
284
|
"knowledge": "2025-05",
|
|
219
285
|
"release_date": "2025-11-24",
|
|
220
|
-
"last_updated": "2025-11-
|
|
286
|
+
"last_updated": "2025-11-01",
|
|
221
287
|
"modalities": {
|
|
222
288
|
"input": [
|
|
223
289
|
"text",
|
|
@@ -240,11 +306,11 @@
|
|
|
240
306
|
"cache_write": 6.25
|
|
241
307
|
}
|
|
242
308
|
},
|
|
243
|
-
"claude-
|
|
244
|
-
"id": "claude-
|
|
245
|
-
"name": "Claude
|
|
246
|
-
"description": "Claude model for
|
|
247
|
-
"family": "claude-
|
|
309
|
+
"claude-opus-5": {
|
|
310
|
+
"id": "claude-opus-5",
|
|
311
|
+
"name": "Claude Opus 5",
|
|
312
|
+
"description": "Strongest Claude Opus model for coding, agents, and professional work",
|
|
313
|
+
"family": "claude-opus",
|
|
248
314
|
"attachment": true,
|
|
249
315
|
"reasoning": true,
|
|
250
316
|
"reasoning_options": [
|
|
@@ -262,9 +328,9 @@
|
|
|
262
328
|
"tool_call": true,
|
|
263
329
|
"structured_output": true,
|
|
264
330
|
"temperature": false,
|
|
265
|
-
"knowledge": "2026-
|
|
266
|
-
"release_date": "2026-
|
|
267
|
-
"last_updated": "2026-
|
|
331
|
+
"knowledge": "2026-05",
|
|
332
|
+
"release_date": "2026-07-24",
|
|
333
|
+
"last_updated": "2026-07-24",
|
|
268
334
|
"modalities": {
|
|
269
335
|
"input": [
|
|
270
336
|
"text",
|
|
@@ -280,18 +346,39 @@
|
|
|
280
346
|
"context": 1000000,
|
|
281
347
|
"output": 128000
|
|
282
348
|
},
|
|
349
|
+
"experimental": {
|
|
350
|
+
"modes": {
|
|
351
|
+
"fast": {
|
|
352
|
+
"cost": {
|
|
353
|
+
"input": 10,
|
|
354
|
+
"output": 50,
|
|
355
|
+
"cache_read": 1,
|
|
356
|
+
"cache_write": 12.5
|
|
357
|
+
},
|
|
358
|
+
"provider": {
|
|
359
|
+
"body": {
|
|
360
|
+
"speed": "fast"
|
|
361
|
+
},
|
|
362
|
+
"headers": {
|
|
363
|
+
"anthropic-beta": "fast-mode-2026-02-01"
|
|
364
|
+
}
|
|
365
|
+
}
|
|
366
|
+
}
|
|
367
|
+
}
|
|
368
|
+
},
|
|
283
369
|
"cost": {
|
|
284
|
-
"input":
|
|
285
|
-
"output":
|
|
286
|
-
"cache_read": 0.
|
|
287
|
-
"cache_write":
|
|
288
|
-
}
|
|
370
|
+
"input": 5,
|
|
371
|
+
"output": 25,
|
|
372
|
+
"cache_read": 0.5,
|
|
373
|
+
"cache_write": 6.25
|
|
374
|
+
},
|
|
375
|
+
"canonical_model_id": "anthropic/claude-opus-5"
|
|
289
376
|
},
|
|
290
|
-
"claude-
|
|
291
|
-
"id": "claude-
|
|
292
|
-
"name": "Claude
|
|
293
|
-
"description": "
|
|
294
|
-
"family": "claude-
|
|
377
|
+
"claude-fable-5": {
|
|
378
|
+
"id": "claude-fable-5",
|
|
379
|
+
"name": "Claude Fable 5",
|
|
380
|
+
"description": "Claude model for creative writing, analysis, and controlled agent workflows",
|
|
381
|
+
"family": "claude-fable",
|
|
295
382
|
"attachment": true,
|
|
296
383
|
"reasoning": true,
|
|
297
384
|
"reasoning_options": [
|
|
@@ -301,61 +388,16 @@
|
|
|
301
388
|
"low",
|
|
302
389
|
"medium",
|
|
303
390
|
"high",
|
|
391
|
+
"xhigh",
|
|
304
392
|
"max"
|
|
305
393
|
]
|
|
306
|
-
},
|
|
307
|
-
{
|
|
308
|
-
"type": "budget_tokens",
|
|
309
|
-
"min": 1024
|
|
310
394
|
}
|
|
311
395
|
],
|
|
312
|
-
"tool_call": true,
|
|
313
|
-
"structured_output": true,
|
|
314
|
-
"temperature":
|
|
315
|
-
"
|
|
316
|
-
"
|
|
317
|
-
"last_updated": "2026-03-13",
|
|
318
|
-
"modalities": {
|
|
319
|
-
"input": [
|
|
320
|
-
"text",
|
|
321
|
-
"image",
|
|
322
|
-
"pdf"
|
|
323
|
-
],
|
|
324
|
-
"output": [
|
|
325
|
-
"text"
|
|
326
|
-
]
|
|
327
|
-
},
|
|
328
|
-
"open_weights": false,
|
|
329
|
-
"limit": {
|
|
330
|
-
"context": 1000000,
|
|
331
|
-
"output": 128000
|
|
332
|
-
},
|
|
333
|
-
"cost": {
|
|
334
|
-
"input": 5,
|
|
335
|
-
"output": 25,
|
|
336
|
-
"cache_read": 0.5,
|
|
337
|
-
"cache_write": 6.25
|
|
338
|
-
}
|
|
339
|
-
},
|
|
340
|
-
"claude-sonnet-4-5-20250929": {
|
|
341
|
-
"id": "claude-sonnet-4-5-20250929",
|
|
342
|
-
"name": "Claude Sonnet 4.5",
|
|
343
|
-
"description": "Balanced Claude model for coding, analysis, agent workflows, and cost control",
|
|
344
|
-
"family": "claude-sonnet",
|
|
345
|
-
"attachment": true,
|
|
346
|
-
"reasoning": true,
|
|
347
|
-
"reasoning_options": [
|
|
348
|
-
{
|
|
349
|
-
"type": "budget_tokens",
|
|
350
|
-
"min": 1024
|
|
351
|
-
}
|
|
352
|
-
],
|
|
353
|
-
"tool_call": true,
|
|
354
|
-
"structured_output": true,
|
|
355
|
-
"temperature": true,
|
|
356
|
-
"knowledge": "2025-07-31",
|
|
357
|
-
"release_date": "2025-09-29",
|
|
358
|
-
"last_updated": "2025-09-29",
|
|
396
|
+
"tool_call": true,
|
|
397
|
+
"structured_output": true,
|
|
398
|
+
"temperature": false,
|
|
399
|
+
"release_date": "2026-06-07",
|
|
400
|
+
"last_updated": "2026-06-09",
|
|
359
401
|
"modalities": {
|
|
360
402
|
"input": [
|
|
361
403
|
"text",
|
|
@@ -369,19 +411,19 @@
|
|
|
369
411
|
"open_weights": false,
|
|
370
412
|
"limit": {
|
|
371
413
|
"context": 1000000,
|
|
372
|
-
"output":
|
|
414
|
+
"output": 128000
|
|
373
415
|
},
|
|
374
416
|
"cost": {
|
|
375
|
-
"input":
|
|
376
|
-
"output":
|
|
377
|
-
"cache_read":
|
|
378
|
-
"cache_write":
|
|
417
|
+
"input": 10,
|
|
418
|
+
"output": 50,
|
|
419
|
+
"cache_read": 1,
|
|
420
|
+
"cache_write": 12.5
|
|
379
421
|
}
|
|
380
422
|
},
|
|
381
|
-
"claude-opus-4-
|
|
382
|
-
"id": "claude-opus-4-
|
|
383
|
-
"name": "Claude Opus 4.
|
|
384
|
-
"description": "
|
|
423
|
+
"claude-opus-4-8": {
|
|
424
|
+
"id": "claude-opus-4-8",
|
|
425
|
+
"name": "Claude Opus 4.8",
|
|
426
|
+
"description": "Top Claude Opus tier for the hardest reasoning, coding, and long-horizon agents",
|
|
385
427
|
"family": "claude-opus",
|
|
386
428
|
"attachment": true,
|
|
387
429
|
"reasoning": true,
|
|
@@ -400,9 +442,9 @@
|
|
|
400
442
|
"tool_call": true,
|
|
401
443
|
"structured_output": true,
|
|
402
444
|
"temperature": false,
|
|
403
|
-
"knowledge": "2026-01
|
|
404
|
-
"release_date": "2026-
|
|
405
|
-
"last_updated": "2026-
|
|
445
|
+
"knowledge": "2026-01",
|
|
446
|
+
"release_date": "2026-05-28",
|
|
447
|
+
"last_updated": "2026-05-28",
|
|
406
448
|
"modalities": {
|
|
407
449
|
"input": [
|
|
408
450
|
"text",
|
|
@@ -418,6 +460,26 @@
|
|
|
418
460
|
"context": 1000000,
|
|
419
461
|
"output": 128000
|
|
420
462
|
},
|
|
463
|
+
"experimental": {
|
|
464
|
+
"modes": {
|
|
465
|
+
"fast": {
|
|
466
|
+
"cost": {
|
|
467
|
+
"input": 10,
|
|
468
|
+
"output": 50,
|
|
469
|
+
"cache_read": 1,
|
|
470
|
+
"cache_write": 12.5
|
|
471
|
+
},
|
|
472
|
+
"provider": {
|
|
473
|
+
"body": {
|
|
474
|
+
"speed": "fast"
|
|
475
|
+
},
|
|
476
|
+
"headers": {
|
|
477
|
+
"anthropic-beta": "fast-mode-2026-02-01"
|
|
478
|
+
}
|
|
479
|
+
}
|
|
480
|
+
}
|
|
481
|
+
}
|
|
482
|
+
},
|
|
421
483
|
"cost": {
|
|
422
484
|
"input": 5,
|
|
423
485
|
"output": 25,
|
|
@@ -425,11 +487,11 @@
|
|
|
425
487
|
"cache_write": 6.25
|
|
426
488
|
}
|
|
427
489
|
},
|
|
428
|
-
"claude-
|
|
429
|
-
"id": "claude-
|
|
430
|
-
"name": "Claude
|
|
431
|
-
"description": "
|
|
432
|
-
"family": "claude-
|
|
490
|
+
"claude-sonnet-4-5-20250929": {
|
|
491
|
+
"id": "claude-sonnet-4-5-20250929",
|
|
492
|
+
"name": "Claude Sonnet 4.5",
|
|
493
|
+
"description": "Balanced Claude model for coding, analysis, agent workflows, and cost control",
|
|
494
|
+
"family": "claude-sonnet",
|
|
433
495
|
"attachment": true,
|
|
434
496
|
"reasoning": true,
|
|
435
497
|
"reasoning_options": [
|
|
@@ -441,9 +503,9 @@
|
|
|
441
503
|
"tool_call": true,
|
|
442
504
|
"structured_output": true,
|
|
443
505
|
"temperature": true,
|
|
444
|
-
"knowledge": "2025-
|
|
445
|
-
"release_date": "2025-
|
|
446
|
-
"last_updated": "2025-
|
|
506
|
+
"knowledge": "2025-07-31",
|
|
507
|
+
"release_date": "2025-09-29",
|
|
508
|
+
"last_updated": "2025-09-29",
|
|
447
509
|
"modalities": {
|
|
448
510
|
"input": [
|
|
449
511
|
"text",
|
|
@@ -456,24 +518,27 @@
|
|
|
456
518
|
},
|
|
457
519
|
"open_weights": false,
|
|
458
520
|
"limit": {
|
|
459
|
-
"context":
|
|
521
|
+
"context": 1000000,
|
|
460
522
|
"output": 64000
|
|
461
523
|
},
|
|
462
524
|
"cost": {
|
|
463
|
-
"input":
|
|
464
|
-
"output":
|
|
465
|
-
"cache_read": 0.
|
|
466
|
-
"cache_write":
|
|
525
|
+
"input": 3,
|
|
526
|
+
"output": 15,
|
|
527
|
+
"cache_read": 0.3,
|
|
528
|
+
"cache_write": 3.75
|
|
467
529
|
}
|
|
468
530
|
},
|
|
469
|
-
"claude-
|
|
470
|
-
"id": "claude-
|
|
471
|
-
"name": "Claude
|
|
472
|
-
"description": "Claude model for
|
|
473
|
-
"family": "claude-
|
|
531
|
+
"claude-sonnet-5": {
|
|
532
|
+
"id": "claude-sonnet-5",
|
|
533
|
+
"name": "Claude Sonnet 5",
|
|
534
|
+
"description": "Everyday Claude agent model for coding, planning, browsing, and general work",
|
|
535
|
+
"family": "claude-sonnet",
|
|
474
536
|
"attachment": true,
|
|
475
537
|
"reasoning": true,
|
|
476
538
|
"reasoning_options": [
|
|
539
|
+
{
|
|
540
|
+
"type": "toggle"
|
|
541
|
+
},
|
|
477
542
|
{
|
|
478
543
|
"type": "effort",
|
|
479
544
|
"values": [
|
|
@@ -488,8 +553,9 @@
|
|
|
488
553
|
"tool_call": true,
|
|
489
554
|
"structured_output": true,
|
|
490
555
|
"temperature": false,
|
|
491
|
-
"
|
|
492
|
-
"
|
|
556
|
+
"knowledge": "2026-01-31",
|
|
557
|
+
"release_date": "2026-06-29",
|
|
558
|
+
"last_updated": "2026-06-30",
|
|
493
559
|
"modalities": {
|
|
494
560
|
"input": [
|
|
495
561
|
"text",
|
|
@@ -506,20 +572,29 @@
|
|
|
506
572
|
"output": 128000
|
|
507
573
|
},
|
|
508
574
|
"cost": {
|
|
509
|
-
"input":
|
|
510
|
-
"output":
|
|
511
|
-
"cache_read":
|
|
512
|
-
"cache_write":
|
|
575
|
+
"input": 2,
|
|
576
|
+
"output": 10,
|
|
577
|
+
"cache_read": 0.2,
|
|
578
|
+
"cache_write": 2.5
|
|
513
579
|
}
|
|
514
580
|
},
|
|
515
|
-
"claude-
|
|
516
|
-
"id": "claude-
|
|
517
|
-
"name": "Claude
|
|
518
|
-
"description": "
|
|
519
|
-
"family": "claude-
|
|
581
|
+
"claude-opus-4-6": {
|
|
582
|
+
"id": "claude-opus-4-6",
|
|
583
|
+
"name": "Claude Opus 4.6",
|
|
584
|
+
"description": "High-end Claude for difficult coding, planning, and slower expert reasoning",
|
|
585
|
+
"family": "claude-opus",
|
|
520
586
|
"attachment": true,
|
|
521
587
|
"reasoning": true,
|
|
522
588
|
"reasoning_options": [
|
|
589
|
+
{
|
|
590
|
+
"type": "effort",
|
|
591
|
+
"values": [
|
|
592
|
+
"low",
|
|
593
|
+
"medium",
|
|
594
|
+
"high",
|
|
595
|
+
"max"
|
|
596
|
+
]
|
|
597
|
+
},
|
|
523
598
|
{
|
|
524
599
|
"type": "budget_tokens",
|
|
525
600
|
"min": 1024
|
|
@@ -528,9 +603,9 @@
|
|
|
528
603
|
"tool_call": true,
|
|
529
604
|
"structured_output": true,
|
|
530
605
|
"temperature": true,
|
|
531
|
-
"knowledge": "2025-
|
|
532
|
-
"release_date": "
|
|
533
|
-
"last_updated": "
|
|
606
|
+
"knowledge": "2025-05-31",
|
|
607
|
+
"release_date": "2026-02-04",
|
|
608
|
+
"last_updated": "2026-03-13",
|
|
534
609
|
"modalities": {
|
|
535
610
|
"input": [
|
|
536
611
|
"text",
|
|
@@ -543,21 +618,21 @@
|
|
|
543
618
|
},
|
|
544
619
|
"open_weights": false,
|
|
545
620
|
"limit": {
|
|
546
|
-
"context":
|
|
547
|
-
"output":
|
|
621
|
+
"context": 1000000,
|
|
622
|
+
"output": 128000
|
|
548
623
|
},
|
|
549
624
|
"cost": {
|
|
550
|
-
"input":
|
|
551
|
-
"output":
|
|
552
|
-
"cache_read": 0.
|
|
553
|
-
"cache_write":
|
|
625
|
+
"input": 5,
|
|
626
|
+
"output": 25,
|
|
627
|
+
"cache_read": 0.5,
|
|
628
|
+
"cache_write": 6.25
|
|
554
629
|
}
|
|
555
630
|
},
|
|
556
|
-
"claude-
|
|
557
|
-
"id": "claude-
|
|
558
|
-
"name": "Claude
|
|
559
|
-
"description": "
|
|
560
|
-
"family": "claude-
|
|
631
|
+
"claude-haiku-4-5-20251001": {
|
|
632
|
+
"id": "claude-haiku-4-5-20251001",
|
|
633
|
+
"name": "Claude Haiku 4.5",
|
|
634
|
+
"description": "Fast Claude model for responsive assistance, classification, and lightweight agents",
|
|
635
|
+
"family": "claude-haiku",
|
|
561
636
|
"attachment": true,
|
|
562
637
|
"reasoning": true,
|
|
563
638
|
"reasoning_options": [
|
|
@@ -569,9 +644,9 @@
|
|
|
569
644
|
"tool_call": true,
|
|
570
645
|
"structured_output": true,
|
|
571
646
|
"temperature": true,
|
|
572
|
-
"knowledge": "2025-
|
|
573
|
-
"release_date": "2025-
|
|
574
|
-
"last_updated": "2025-
|
|
647
|
+
"knowledge": "2025-02-28",
|
|
648
|
+
"release_date": "2025-10-15",
|
|
649
|
+
"last_updated": "2025-10-15",
|
|
575
650
|
"modalities": {
|
|
576
651
|
"input": [
|
|
577
652
|
"text",
|
|
@@ -584,21 +659,21 @@
|
|
|
584
659
|
},
|
|
585
660
|
"open_weights": false,
|
|
586
661
|
"limit": {
|
|
587
|
-
"context":
|
|
662
|
+
"context": 200000,
|
|
588
663
|
"output": 64000
|
|
589
664
|
},
|
|
590
665
|
"cost": {
|
|
591
|
-
"input":
|
|
592
|
-
"output":
|
|
593
|
-
"cache_read": 0.
|
|
594
|
-
"cache_write":
|
|
666
|
+
"input": 1,
|
|
667
|
+
"output": 5,
|
|
668
|
+
"cache_read": 0.1,
|
|
669
|
+
"cache_write": 1.25
|
|
595
670
|
}
|
|
596
671
|
},
|
|
597
|
-
"claude-
|
|
598
|
-
"id": "claude-
|
|
599
|
-
"name": "Claude
|
|
600
|
-
"description": "
|
|
601
|
-
"family": "claude-
|
|
672
|
+
"claude-sonnet-4-6": {
|
|
673
|
+
"id": "claude-sonnet-4-6",
|
|
674
|
+
"name": "Claude Sonnet 4.6",
|
|
675
|
+
"description": "Claude workhorse for coding agents, careful analysis, and production cost control",
|
|
676
|
+
"family": "claude-sonnet",
|
|
602
677
|
"attachment": true,
|
|
603
678
|
"reasoning": true,
|
|
604
679
|
"reasoning_options": [
|
|
@@ -608,17 +683,20 @@
|
|
|
608
683
|
"low",
|
|
609
684
|
"medium",
|
|
610
685
|
"high",
|
|
611
|
-
"xhigh",
|
|
612
686
|
"max"
|
|
613
687
|
]
|
|
688
|
+
},
|
|
689
|
+
{
|
|
690
|
+
"type": "budget_tokens",
|
|
691
|
+
"min": 1024
|
|
614
692
|
}
|
|
615
693
|
],
|
|
616
694
|
"tool_call": true,
|
|
617
695
|
"structured_output": true,
|
|
618
|
-
"temperature":
|
|
619
|
-
"knowledge": "
|
|
620
|
-
"release_date": "2026-
|
|
621
|
-
"last_updated": "2026-
|
|
696
|
+
"temperature": true,
|
|
697
|
+
"knowledge": "2025-08-31",
|
|
698
|
+
"release_date": "2026-02-17",
|
|
699
|
+
"last_updated": "2026-03-13",
|
|
622
700
|
"modalities": {
|
|
623
701
|
"input": [
|
|
624
702
|
"text",
|
|
@@ -634,44 +712,21 @@
|
|
|
634
712
|
"context": 1000000,
|
|
635
713
|
"output": 128000
|
|
636
714
|
},
|
|
637
|
-
"experimental": {
|
|
638
|
-
"modes": {
|
|
639
|
-
"fast": {
|
|
640
|
-
"cost": {
|
|
641
|
-
"input": 10,
|
|
642
|
-
"output": 50,
|
|
643
|
-
"cache_read": 1,
|
|
644
|
-
"cache_write": 12.5
|
|
645
|
-
},
|
|
646
|
-
"provider": {
|
|
647
|
-
"body": {
|
|
648
|
-
"speed": "fast"
|
|
649
|
-
},
|
|
650
|
-
"headers": {
|
|
651
|
-
"anthropic-beta": "fast-mode-2026-02-01"
|
|
652
|
-
}
|
|
653
|
-
}
|
|
654
|
-
}
|
|
655
|
-
}
|
|
656
|
-
},
|
|
657
715
|
"cost": {
|
|
658
|
-
"input":
|
|
659
|
-
"output":
|
|
660
|
-
"cache_read": 0.
|
|
661
|
-
"cache_write":
|
|
716
|
+
"input": 3,
|
|
717
|
+
"output": 15,
|
|
718
|
+
"cache_read": 0.3,
|
|
719
|
+
"cache_write": 3.75
|
|
662
720
|
}
|
|
663
721
|
},
|
|
664
|
-
"claude-sonnet-5": {
|
|
665
|
-
"id": "claude-sonnet-5",
|
|
666
|
-
"name": "Claude Sonnet 5",
|
|
667
|
-
"description": "
|
|
722
|
+
"claude-sonnet-5-5": {
|
|
723
|
+
"id": "claude-sonnet-5-5",
|
|
724
|
+
"name": "Claude Sonnet 5.5",
|
|
725
|
+
"description": "Fast Claude model for everyday coding, agents, and knowledge work",
|
|
668
726
|
"family": "claude-sonnet",
|
|
669
727
|
"attachment": true,
|
|
670
728
|
"reasoning": true,
|
|
671
729
|
"reasoning_options": [
|
|
672
|
-
{
|
|
673
|
-
"type": "toggle"
|
|
674
|
-
},
|
|
675
730
|
{
|
|
676
731
|
"type": "effort",
|
|
677
732
|
"values": [
|
|
@@ -686,9 +741,9 @@
|
|
|
686
741
|
"tool_call": true,
|
|
687
742
|
"structured_output": true,
|
|
688
743
|
"temperature": false,
|
|
689
|
-
"knowledge": "2026-
|
|
690
|
-
"release_date": "2026-
|
|
691
|
-
"last_updated": "2026-
|
|
744
|
+
"knowledge": "2026-06",
|
|
745
|
+
"release_date": "2026-09-28",
|
|
746
|
+
"last_updated": "2026-09-28",
|
|
692
747
|
"modalities": {
|
|
693
748
|
"input": [
|
|
694
749
|
"text",
|
|
@@ -709,12 +764,13 @@
|
|
|
709
764
|
"output": 10,
|
|
710
765
|
"cache_read": 0.2,
|
|
711
766
|
"cache_write": 2.5
|
|
712
|
-
}
|
|
767
|
+
},
|
|
768
|
+
"canonical_model_id": "anthropic/claude-sonnet-5-5"
|
|
713
769
|
},
|
|
714
|
-
"claude-opus-4-
|
|
715
|
-
"id": "claude-opus-4-
|
|
716
|
-
"name": "Claude Opus 4.
|
|
717
|
-
"description": "
|
|
770
|
+
"claude-opus-4-7": {
|
|
771
|
+
"id": "claude-opus-4-7",
|
|
772
|
+
"name": "Claude Opus 4.7",
|
|
773
|
+
"description": "Stronger Opus tier for advanced software work and high-stakes reasoning",
|
|
718
774
|
"family": "claude-opus",
|
|
719
775
|
"attachment": true,
|
|
720
776
|
"reasoning": true,
|
|
@@ -724,20 +780,18 @@
|
|
|
724
780
|
"values": [
|
|
725
781
|
"low",
|
|
726
782
|
"medium",
|
|
727
|
-
"high"
|
|
783
|
+
"high",
|
|
784
|
+
"xhigh",
|
|
785
|
+
"max"
|
|
728
786
|
]
|
|
729
|
-
},
|
|
730
|
-
{
|
|
731
|
-
"type": "budget_tokens",
|
|
732
|
-
"min": 1024
|
|
733
787
|
}
|
|
734
788
|
],
|
|
735
789
|
"tool_call": true,
|
|
736
790
|
"structured_output": true,
|
|
737
|
-
"temperature":
|
|
738
|
-
"knowledge": "
|
|
739
|
-
"release_date": "
|
|
740
|
-
"last_updated": "
|
|
791
|
+
"temperature": false,
|
|
792
|
+
"knowledge": "2026-01-31",
|
|
793
|
+
"release_date": "2026-04-14",
|
|
794
|
+
"last_updated": "2026-04-16",
|
|
741
795
|
"modalities": {
|
|
742
796
|
"input": [
|
|
743
797
|
"text",
|
|
@@ -750,8 +804,8 @@
|
|
|
750
804
|
},
|
|
751
805
|
"open_weights": false,
|
|
752
806
|
"limit": {
|
|
753
|
-
"context":
|
|
754
|
-
"output":
|
|
807
|
+
"context": 1000000,
|
|
808
|
+
"output": 128000
|
|
755
809
|
},
|
|
756
810
|
"cost": {
|
|
757
811
|
"input": 5,
|