claude-sonnet-5 API

APImart directory import; basic capabilities only.

anthropic/claude-sonnet-5 · Anthropic · Text

Availability and pricing

Published contract · ready

$1.92 per 1 million input tokens; $9.6 per 1 million output tokens

Prices shown use the public default price group. Your account price and the request quote determine the amount reserved and charged.

Published verification: 2026-10-05T20:32:08.970Z

Pricing revision: rev_143340ba-21eb-425b-861f-0d5354cb9d57

Supported inputs and limits

messages

max Input Tokens
8192
max Output Tokens
1024
default Output Tokens
256
tools
Not enabled
multimodal Input
Not enabled
reasoning
Not enabled
cache
Not enabled
conversation
Enabled
structured Output
Not enabled
compact
Not enabled
streaming
Enabled
{
  "kind": "messages",
  "modes": [
    "chat"
  ],
  "qualities": [
    "standard"
  ],
  "units": [
    1
  ],
  "aspects": [],
  "resolutions": [],
  "maxReferences": 0,
  "maxInputTokens": 8192,
  "maxOutputTokens": 1024,
  "defaultOutputTokens": 256,
  "protocols": [
    "messages"
  ]
}

Limitations

  • Draft only until live verification and actual cost reconciliation pass. The single cache-write component uses the highest published TTL rate; TTL-specific pricing is not advertised. Tools, vision, explicit reasoning, structured output and compaction are disabled pending dedicated live evidence.

API request example

Use your own API key. This is a request body; asynchronous tasks also require checking their status and output.

POST /v1/messages
{
  "model": "anthropic/claude-sonnet-5",
  "max_tokens": 256,
  "messages": [
    {
      "role": "user",
      "content": "Hello"
    }
  ]
}
Open API examples

Try this model

Sign in and check your available credits before sending a request.

Open Playground Compare models API documentation