The whole hunk
from line 1, old and new numbered
/
lines
from line 1
1---
2title: Models
3url: https://platform.claude.com/docs/en/api/models
4---
5
16# Models
27
38## List Models
from line 39
3439
3540 - `string`
3641
37 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 41 more`
42 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 42 more`
3843
3944 - `"message-batches-2024-09-24"`
4045
from line 87
8287
8388 - `"user-profiles-2026-08-18"`
8489
90 - `"user-profiles-2026-09-04"`
91
8592 - `"advisor-tool-2026-03-01"`
8693
8794 - `"managed-agents-2026-04-01"`
from line 131
124131
125132 - `"mid-conversation-system-clear-at-2026-08-21"`
126133
134- `"anthropic-workspace-id": optional string`
135
127136### Returns
128137
129138- `data: array of ModelInfo`
130139
140 - `type: "model"`
141
142 Object type.
143
144 For Models, this is always `"model"`.
145
146 default: model
147
131148 - `id: string`
132149
133150 Unique model identifier.
from line 267
250267
251268 Maximum value for the `max_tokens` parameter when using this model.
252269
253 - `type: "model"`
254
255 Object type.
256
257 For Models, this is always `"model"`.
258
259 default: model
260
261270- `first_id: string or null`
262271
263272 First ID in the `data` list. Can be used as the `before_id` for the previous page.
from line 390
381390
382391 - `string`
383392
384 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 41 more`
393 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 42 more`
385394
386395 - `"message-batches-2024-09-24"`
387396
from line 438
429438
430439 - `"user-profiles-2026-08-18"`
431440
441 - `"user-profiles-2026-09-04"`
442
432443 - `"advisor-tool-2026-03-01"`
433444
434445 - `"managed-agents-2026-04-01"`
from line 482
471482
472483 - `"mid-conversation-system-clear-at-2026-08-21"`
473484
485- `"anthropic-workspace-id": optional string`
486
474487### Returns
475488
476489- `ModelInfo object`
477490
491 - `type: "model"`
492
493 Object type.
494
495 For Models, this is always `"model"`.
496
497 default: model
498
478499 - `id: string`
479500
480501 Unique model identifier.
from line 618
597618
598619 Maximum value for the `max_tokens` parameter when using this model.
599620
600 - `type: "model"`
601
602 Object type.
603
604 For Models, this is always `"model"`.
605
606 default: model
607
608621### Example
609622
610623```bash
from line 878
865878
866879- `ModelInfo object`
867880
881 - `type: "model"`
882
883 Object type.
884
885 For Models, this is always `"model"`.
886
887 default: model
888
868889 - `id: string`
869890
870891 Unique model identifier.
from line 1007
9861007 - `max_tokens: number or null`
9871008
9881009 Maximum value for the `max_tokens` parameter when using this model.
989
990 - `type: "model"`
991
992 Object type.
993
994 For Models, this is always `"model"`.
995
996 default: model
9971010
9981011### Thinking Capability
9991012