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.
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 Use this exampleFor Sonnet 4.5 extraction, describe the output fields and validate the answer; this endpoint does not expose response_format.
- 2000
- 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 Use this exampleA Sonnet 4.5 tool loop needs your application to execute calls and return results with the matching tool_call_id.
- 4000
- 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 this exampleUse Sonnet 4.5 for a bounded analysis: provide the source material and specify exactly which decision the answer should support.
- 6000
This example starts at Input $2.70 / Output $13.50 per 1 million tokens. The Playground updates the estimate when you change the settings.
