CL
Anthropic: Claude Sonnet 5
Textclaude-sonnet-5
Claude Sonnet 5: the next-gen Sonnet — strong coding and writing at a lower price.
Throughput212 tok/s
24hnow
Latency0.88 s
24hnow
Specifications
Authoranthropic
ModalityText
Context200K tokens
Input$1.69/M tokens$2.00/M tokens
Output$8.50/M tokens$10.00/M tokens
Savings−15%
Capabilitiesreasoning, tool calling, image input
Quick start
Same OpenAI-compatible endpoint — just swap base_url and key.
API
OpenAI-compatible chat completions endpoint, with SSE streaming.
POST
/v1/chat/completionsBody parameters
Structured fields (tools, response_format, stop and more) are in the full parameter reference.
Response
Example
Errors