Anthropic logoAnthropic

    claude-sonnet-5

    Auto-router

    anthropic/claude-sonnet-5

    ChatVisionFilesToolsSystem promptReasoning

    Context

    1M

    Max output

    128K

    Input / 1M

    $3.00

    Output / 1M

    $15.00

    Modality

    Chat

    Cutoff

    Jan 2026

    About this model

    Anthropic's most agentic Sonnet model, closing much of the gap to Opus 4.8 on coding, agentic, and knowledge-work tasks at Sonnet-tier pricing.

    Best suited for

    • Claude Sonnet 5 is Anthropic's most capable Sonnet model yet, built for long-horizon agentic coding, browser and terminal automation, deep research, and everyday knowledge work — at a fraction of Opus-tier cost.

    Built-in tools

    Web searchGtwy web search

    Hosted by the gateway — enable them per request without wiring your own endpoint.

    Capabilities

    Vision

    Accepts images alongside text in the same message.

    Files

    Accepts file attachments — PDFs, transcripts, spreadsheets.

    Tools

    Native function calling, so agents can invoke your endpoints.

    System prompt

    Honours a dedicated system role, separate from the user turn.

    Reasoning

    Emits a separate thinking pass before the answer.

    Supported parameters

    max_tokensMax Tokens Limit

    Specifies the maximum number of text units (tokens) allowed in a response, limiting its length. Max is 128k on the standard Messages API (up to 300k via the Batch API using the output-300k-2026-03-24 beta header).

    tools

    Lists tool definitions or capabilities available to the model.

    tool_choice

    Decides whether to use tools or just the model for generating responses.

    response_type

    Defines the format or type of the generated response.

    reasoning

    Controls the level of reasoning used by the model.

    stream

    Sends the response in real-time as it's being generated.