Anthropic

Claude Sonnet 5 API

A daily-driver Sonnet-tier model aimed at bringing near-frontier agentic, coding, and knowledge-work capability at a lower operating cost. Its default 1M-token context and adaptive thinking fit long documents, codebases, and multi-step tool workflows; for the deepest reasoning or restricted high-risk security work, evaluate higher-tier or specialized models.

  • Reasoning
  • Tool use
  • Structured output
  • Long context
Use in Consoleclaude-sonnet-5

USD

Pricing

default
Standard Rate
Input$2/1M tokensCompletion Price$10/1M tokensCache Read$0.2/1M tokensCache Write$2.5/1M tokens

Public list prices are shown in USD. Final charges may vary by account group and usage tier.

API

Code examples

curl --location --request POST 'https://api.tokenhot.ai/v1/messages' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
    "model": "claude-sonnet-5",
    "messages": [
        {
            "role": "user",
            "content": "What can you do?"
        }
    ],
    "max_tokens": 100
}'

Anthropic

Related models

FAQ

Frequently asked questions

What is Claude Sonnet 5 best suited for?

Claude Sonnet 5 is suited to the input, output, and capability types listed on this page. Test production workloads before choosing it for a critical system.

How is Claude Sonnet 5 priced?

Pricing is shown in the pricing section above. Actual cost depends on usage volume, account group, and the request payload.

How can I call Claude Sonnet 5?

Use the model ID shown above with one of the supported API protocols. Code examples are provided when usage data is available.

Get started

Build with Claude Sonnet 5

Use in Console