Follow Discord
Sweep 03 Dec 2026 · 19:13Z Build v2.1.336 553 read Stable v2.1.332 Latest v2.1.336 Next v2.1.336 Feeds RSS JSON llms.txt llms-full.txt Unofficial
HomeDocsSearch
Search the documentation

686 pages for input.

Titles and paths first, then pages whose text carries it. Each row opens that page as this site last read it.

Rate Limits Claude Developer Platform · in the page api/organization/workspaces/rate_limits …ring` The limiter type (for example, `requests_per_minute` or `input_tokens_per_minute_cache_aware`). - `org_limit: number or null` The organization-level value for the same limiter… List Workspace Rate Limits Claude Developer Platform · in the page api/organization/workspaces/rate_limits/list …ring` The limiter type (for example, `requests_per_minute` or `input_tokens_per_minute_cache_aware`). - `org_limit: number or null` The organization-level value for the same limiter… Set Workspace Rate Limits Claude Developer Platform · in the page api/organization/workspaces/rate_limits/update …tems: 16 - `type: WorkspaceRateLimitType` Rate limiter type. `input_tokens_per_minute` counts every input token, cache reads included. `input_tokens_per_minute_cache_aware` does not count cach… rate-limits Claude Developer Platform · in the page api/rate-limits …imits for the Messages API are measured in requests per minute (RPM), input tokens per minute (ITPM), and output tokens per minute (OTPM) for each model class. If you exceed any of the rate limits, yo… service-tiers Claude Developer Platform · in the page api/service-tiers …enarios: * Your organization has sufficient Priority Tier capacity **input** tokens per minute * Your organization has sufficient Priority Tier capacity **output** tokens per minute Anthropic counts… versioning Claude Developer Platform · in the page api/versioning …ou." --- For any given API version, Anthropic preserves: * Existing input parameters * Existing output parameters However, Anthropic may do the following: * Add additional optional inputs * Add ad… Message Batches API Claude Developer Platform · in the page build-with-claude/batch-processing …is charged at 50 percent of the standard API prices. | Model | Batch input | Batch output | | :---- | :---- | :---- | | Claude Fable 5.2 | $4 / MTok | $20 / MTok | | Claude Mythos 5.2 ([limited avail… cache-diagnostics Claude Developer Platform · in the page build-with-claude/cache-diagnostics …ache. Without cache diagnostics, the only signal is `usage.cache_read_input_tokens` dropping to zero, with no indication of what changed. Cache diagnostics closes that gap. Pass the `id` of your prev… citations Claude Developer Platform · in the page build-with-claude/citations …t. ### Token costs * Enabling citations incurs a slight increase in input tokens because of system prompt additions and document chunking. * However, the citations feature is very efficient with out… claude-in-amazon-bedrock Claude Developer Platform · in the page build-with-claude/claude-in-amazon-bedrock …re Claude Managed Agents is available. ### Features not supported * Input sources (URL sources for images and documents, Files API) * Server-side tools (code execution, web search, web fetch, adviso… claude-in-microsoft-foundry Claude Developer Platform · in the page build-with-claude/claude-in-microsoft-foundry …-remaining`, `anthropic-ratelimit-tokens-reset`, `anthropic-ratelimit-input-tokens-limit`, `anthropic-ratelimit-input-tokens-remaining`, `anthropic-ratelimit-input-tokens-reset`, `anthropic-ratelimit-… anthropic-managed Claude Developer Platform · in the page build-with-claude/claude-models-on-google-cloud/anthropic-managed …gher limits. * Under **Peak tokens per minute**, enter your peak **Input** and **Output** tokens (not daily totals). In **Input**, leave out tokens read from the cache. For most models, they don’t… google-managed Claude Developer Platform · in the page build-with-claude/claude-models-on-google-cloud/google-managed …on Google Cloud (Google managed) doesn’t support the following: * **Input sources:** The Files API and URL sources for images and documents * **Server-side tools:** Code execution, web fetch, and ad… claude-on-amazon-bedrock-legacy Claude Developer Platform · in the page build-with-claude/claude-on-amazon-bedrock-legacy …ent.ListFoundationModels(context.TODO(), &bedrock.ListFoundationModelsInput{ ByProvider: &byProvider, }) if err != nil { log.Fatal(err) } for _, summary := range response.ModelSum… claude-platform-on-aws Claude Developer Platform · in the page build-with-claude/claude-platform-on-aws …and access through AWS. Anthropic is the data processor for inference inputs and outputs. AWS processes billing and identity metadata under the marketplace model. Customers using Claude through Claude… sent_count = len(messages sent in the compaction request) Claude Developer Platform · in the page build-with-claude/compaction …it reaches the configured token threshold. The API: 1. Detects when input tokens reach your specified trigger threshold. 2. Generates a summary of the current conversation. 3. Creates a `compaction`… compaction-background Claude Developer Platform · in the page build-with-claude/compaction-background …utor = ThreadPoolExecutor(max_workers=1) # Set this near your real input budget. It is low here so a short conversation compacts. COMPACT_AT_TOKENS = 2500 SYSTEM = "You help design a recipe app… compaction-keep-recent-turns Claude Developer Platform · in the page build-with-claude/compaction-keep-recent-turns …eParam client = anthropic.Anthropic() # Set this near your real input budget. It is low here so a short conversation compacts. COMPACT_AT_TOKENS = 2500 SYSTEM = "You help design a recipe app… compaction-on-demand Claude Developer Platform · in the page build-with-claude/compaction-on-demand …BCkQY..." } ], "stop_reason": "compaction", "usage": { "input_tokens": 0, "output_tokens": 0, "iterations": [{ "type": "compaction", "input_tokens": 144, "output_tokens": 276 }]… compaction-thinking-blocks Claude Developer Platform · in the page build-with-claude/compaction-thinking-blocks …behavior` set to `"error"`. 4. Read the result. A 200 response whose `input_transformations` array is empty means no thinking block failed the prefix check or was dropped. A [400 error](https://platfo… compaction-threshold Claude Developer Platform · in the page build-with-claude/compaction-threshold …: Opt in with a `compact_20260112` edit; compaction starts at 150,000 input tokens by default. * **Managed Agents**: Always on. It compacts the session’s conversation history to fit the context window… context-editing Claude Developer Platform · in the page build-with-claude/context-editing …sults and tool calls (the tool use parameters) by setting `clear_tool_inputs` to `true`. ### Thinking block clearing The `clear_thinking_20251015` strategy manages `thinking` blocks from earlier ass… context-windows Claude Developer Platform · in the page build-with-claude/context-windows …s the conversation history plus the new output Claude generates. * **Input-output flow:** Each turn consists of: * **Input phase:** Contains all previous conversation history plus the current user… effort-per-message Claude Developer Platform · in the page build-with-claude/effort-per-message …s when the new level starts: * Directly after a `user` turn with new input: Claude’s reply to that turn uses the new level. * In any other position, such as between an `assistant` turn and the next `… This will automatically use the environment variable VOYAGE_API_KEY. Claude Developer Platform · in the page build-with-claude/embeddings …chunking` to `true`. Otherwise, the total number of tokens across all inputs can’t exceed 32,000. Voyage AI also offers rerankers, which take a query and a list of documents and return them ranked by… extended-thinking Claude Developer Platform · in the page build-with-claude/extended-thinking …t request - establishing cache First response usage: { cache_creation_input_tokens: 1370, cache_read_input_tokens: 0, input_tokens: 17, output_tokens: 700 } Second request - same thinking parameters… fallback-credit Claude Developer Platform · in the page build-with-claude/fallback-credit …what the same request would report without the token, `cache_creation_input_tokens` is lower, and `cache_read_input_tokens` is higher by the same amount. A shift of zero means the token was honored bu… fast-mode Claude Developer Platform · in the page build-with-claude/fast-mode …status: | Header | Description | | ----- | ----- | | `anthropic-fast-input-tokens-limit` | Maximum fast mode input tokens per minute | | `anthropic-fast-input-tokens-remaining` | Remaining fast mode… files Claude Developer Platform · in the page build-with-claude/files …com/docs/en/agents-and-tools/tool-use/code-execution-tool) to provide inputs (for example, datasets and documents) and then download outputs (for example, charts). You can [explore the API reference d… handling-stop-reasons Claude Developer Platform · in the page build-with-claude/handling-stop-reasons …", "stop_sequence": null, "stop_details": null, "usage": { "input_tokens": 100, "output_tokens": 50 } } ``` ## Stop reason values ### end\_turn The most common stop reason. Indicate… mid-conversation-effort-example Claude Developer Platform · in the page build-with-claude/mid-conversation-effort-example …s off, " "revert to the opt-in rule above." ), "input_schema": { "type": "object", "properties": { "subtasks": { "type": "arra… mid-conversation-system-messages Claude Developer Platform · in the page build-with-claude/mid-conversation-system-messages …"description": "Get the current weather for a location.", "input_schema": { "type": "object", "properties": { "location": {"type": "string", "descripti… multilingual-support Claude Developer Platform · in the page build-with-claude/multilingual-support …can detect the target language automatically, explicitly stating the input and output languages you want improves reliability. For enhanced fluency, you can prompt Claude to use “idiomatic speech as… overview Claude Developer Platform · in the page build-with-claude/overview …PI](https://platform.claude.com/docs/en/api/models/list) returns `max_input_tokens`, `max_tokens`, and a `capabilities` object for every available model. </Tip> | Feature | Description | | :---- | :-… pdf-support Claude Developer Platform · in the page build-with-claude/pdf-support …include..." } ], "stop_reason": "end_turn", "usage": { "input_tokens": 45000, "output_tokens": 300 } } ``` #### Option 2: Base64-encoded PDF document Send the PDF as base64-encod… preserved-thinking Claude Developer Platform · in the page build-with-claude/preserved-thinking …` to choose what happens to a block that fails it. The field and the `input_transformations` array require the `thinking-binding-controls-2026-08-01` [beta header](https://platform.claude.com/docs/en/… change-tools-or-instructions Claude Developer Platform · in the page build-with-claude/preserved-thinking/change-tools-or-instructions …use", "id": "toolu_01", "name": "run_tests", "input": { "path": "tests/" } } ] }, { "role": "user", "content": [ { "type": "tool_result", "tool_use_… fix-bound-to-a-different-conversation Claude Developer Platform · in the page build-with-claude/preserved-thinking/fix-bound-to-a-different-conversation …ffect output quality and latency. The next request succeeds, and its `input_transformations` array lists each block the API dropped. If your requests don’t set the `thinking` parameter, adding it… prefix-checks Claude Developer Platform · in the page build-with-claude/preserved-thinking/prefix-checks …the failing blocks reach the model. Claude reads them like any other input, you’re billed for them, and Claude works from reasoning about content that has since changed. On those models, you can [ch… Request 2 caches its request content (not the response) Claude Developer Platform · in the page build-with-claude/prompt-caching …he price per million tokens for each supported model: | Model | Base input tokens | 5m cache writes | 1h cache writes | Cache hits and refreshes | Output tokens | | :---- | :---- | :---- | :---- | :-… claude-prompting-best-practices Claude Developer Platform · in the page build-with-claude/prompt-engineering/claude-prompting-best-practices …ges, verification on coding tasks, tool-call handling, complex visual inputs, and safeguard refusals. | | Claude Sonnet 5 | [Prompting Claude Sonnet 5](https://platform.claude.com/docs/en/build-with-c… prompting-claude-fable-5 Claude Developer Platform · in the page build-with-claude/prompt-engineering/prompting-claude-fable-5 …de and framework guarantees. Only validate at system boundaries (user input, external APIs). Don't use feature flags or backwards-compatibility shims when you can just change the code. ``` ## Strong… Delivering work Claude Developer Platform · in the page build-with-claude/prompt-engineering/prompting-claude-fable-5-1 …e array, but once cleared the model doesn’t see them and they cost no input tokens. Deleting or rewriting them is an edit to earlier turns: it invalidates the thinking blocks that came after them (see… Finishing work Claude Developer Platform · in the page build-with-claude/prompt-engineering/prompting-claude-fable-5-2 …y rarely merited, as in when the task can't move forward without user input, or where the blocker is deliberate and should not be worked past. This does not override the need for confirmation on risky… prompting-claude-haiku-5-5 Claude Developer Platform · in the page build-with-claude/prompt-engineering/prompting-claude-haiku-5-5 …r put user text inside a `tool_result` block. * Deliver mid-turn user input as a user turn. Append the user’s words as a text block after the last `tool_result` in the same user message. * Keep harnes… prompting-claude-opus-4-8 Claude Developer Platform · in the page build-with-claude/prompt-engineering/prompting-claude-opus-4-8 …container. Use 4px corner radius consistently across cards, buttons, inputs, and media frames. Margins should feel generous, with enough empty space around each section so the page breathes. Typogra… prompting-claude-opus-5-5 Claude Developer Platform · in the page build-with-claude/prompt-engineering/prompting-claude-opus-5-5 …multiagent tasks, safeguard refusals, frontend design, complex visual inputs, multiapp workflows, and pasted text in user messages." --- This guide covers the prompting patterns specific to Claude Op… prompting-claude-sonnet-5 Claude Developer Platform · in the page build-with-claude/prompt-engineering/prompting-claude-sonnet-5 …container. Use 4px corner radius consistently across cards, buttons, inputs, and media frames. Margins should feel generous, with enough empty space around each section so the page breathes. Typogra… prompting-claude-sonnet-5-5 Claude Developer Platform · in the page build-with-claude/prompt-engineering/prompting-claude-sonnet-5-5 …tool use, mid-turn messages, coding verification, tool calls, visual inputs, and refusals." --- This guide covers the prompting patterns specific to Claude Sonnet 5.5. For the model’s API changes, s… refusals-and-fallback Claude Developer Platform · in the page build-with-claude/refusals-and-fallback …declined because it could enable cyber harm." }, "usage": { "input_tokens": 412, "output_tokens": 0 } } ``` The `stop_details` object explains the decline: * **`category`:** names the…
Feedback