Anthropic Claude API
Anthropic Claude-Compatible Messages API
Core capabilities
An extended context window that allows you to process much larger documents, maintain longer conversations, and work with more extensive codebases.
Process large volumes of requests asynchronously for cost savings. Send batches with a large number of queries per batch. Batch API calls costs 50% less than standard API calls.
Ground Claude’s responses in source documents. With Citations, Claude can provide detailed references to the exact sentences and passages it uses to generate responses, leading to more verifiable, trustworthy outputs.
Automatically manage conversation context with configurable strategies. Supports clearing tool results when approaching token limits and managing thinking blocks in extended thinking conversations.
Enhanced reasoning capabilities for complex tasks, providing transparency into Claude’s step-by-step thought process before delivering its final answer.
Process and analyze text and visual content from PDF documents.
Provide Claude with more background knowledge and example outputs to reduce costs and latency.
Token counting enables you to determine the number of tokens in a message before sending it to Claude, helping you make informed decisions about your prompts and usage.
Enable Claude to interact with external tools and APIs to perform a wider variety of tasks. For a list of supported tools, see the Tools table.
Tools
These features enable Claude to interact with external systems, execute code, and perform automated tasks through various tool interfaces.
Execute bash commands and scripts to interact with the system shell and perform command-line operations.
Control computer interfaces by taking screenshots and issuing mouse and keyboard commands.
Stream tool use parameters without buffering/JSON validation, reducing latency for receiving large parameters.
Enable Claude to store and retrieve information across conversations. Build knowledge bases over time, maintain project context, and learn from past interactions.
Create and edit text files with a built-in text editor interface for file manipulation tasks.
Last updated