Skip to main content

Claude Sonnet 4.5 API is a coding and agent model offered here with a 198,000-token input limit and 64,000-token reply limit. This Sonnet 4.5 endpoint has no reasoning_effort field; do not copy that setting from a later Sonnet integration.

Input $2.70Output $13.50per 1 million tokens10% below the publisher's list priceCached input $0.27Cache write $3.30Anthropic official priceInput $3Output $15

Workbench

These examples were written for this endpoint. Replace the prompt and sample media URLs with your own accessible inputs, then check the current quote and model availability before submitting.

  • Input types
    Text
    Output types
    Text
    Input
    $2.70 / 1 million tokens
    Cached input
    $0.27 / 1 million tokens
    Output
    $13.50 / 1 million tokens
    Context
    198K
    Max output
    64K

    $2.70/13.50per 1 million tokens · input / output

    bulk-classification

    For Sonnet 4.5 extraction, describe the output fields and validate the answer; this endpoint does not expose response_format.

    • 2000
    Use this example
  • Input types
    Text
    Output types
    Text
    Input
    $2.70 / 1 million tokens
    Cached input
    $0.27 / 1 million tokens
    Output
    $13.50 / 1 million tokens
    Context
    198K
    Max output
    64K

    $2.70/13.50per 1 million tokens · input / output

    tool-loop

    A Sonnet 4.5 tool loop needs your application to execute calls and return results with the matching tool_call_id.

    • 4000
    Use this example
  • Input types
    Text
    Output types
    Text
    Input
    $2.70 / 1 million tokens
    Cached input
    $0.27 / 1 million tokens
    Output
    $13.50 / 1 million tokens
    Context
    198K
    Max output
    64K

    $2.70/13.50per 1 million tokens · input / output

    mid-length-analysis

    Use Sonnet 4.5 for a bounded analysis: provide the source material and specify exactly which decision the answer should support.

    • 6000
    Use this example

This example starts at Input $2.70 / Output $13.50 per 1 million tokens. The Playground updates the estimate when you change the settings.