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/beta/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 BetaModelInfo`
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 271
254271
255272 Maximum value for the `max_tokens` parameter when using this model.
256273
257 - `type: "model"`
258
259 Object type.
260
261 For Models, this is always `"model"`.
262
263 default: model
264
265274- `first_id: string or null`
266275
267276 First ID in the `data` list. Can be used as the `before_id` for the previous page.
from line 397
388397
389398 - `string`
390399
391 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 41 more`
400 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 42 more`
392401
393402 - `"message-batches-2024-09-24"`
394403
from line 445
436445
437446 - `"user-profiles-2026-08-18"`
438447
448 - `"user-profiles-2026-09-04"`
449
439450 - `"advisor-tool-2026-03-01"`
440451
441452 - `"managed-agents-2026-04-01"`
from line 489
478489
479490 - `"mid-conversation-system-clear-at-2026-08-21"`
480491
492- `"anthropic-workspace-id": optional string`
493
481494### Returns
482495
483496- `BetaModelInfo object`
484497
498 - `type: "model"`
499
500 Object type.
501
502 For Models, this is always `"model"`.
503
504 default: model
505
485506 - `id: string`
486507
487508 Unique model identifier.
from line 629
608629
609630 Maximum value for the `max_tokens` parameter when using this model.
610631
611 - `type: "model"`
612
613 Object type.
614
615 For Models, this is always `"model"`.
616
617 default: model
618
619632### Example
620633
621634```bash
from line 892
879892
880893- `BetaModelInfo object`
881894
895 - `type: "model"`
896
897 Object type.
898
899 For Models, this is always `"model"`.
900
901 default: model
902
882903 - `id: string`
883904
884905 Unique model identifier.
from line 1025
10041025 - `max_tokens: number or null`
10051026
10061027 Maximum value for the `max_tokens` parameter when using this model.
1007
1008 - `type: "model"`
1009
1010 Object type.
1011
1012 For Models, this is always `"model"`.
1013
1014 default: model
10151028
10161029### Beta Thinking Capability
10171030