Anthropic

Claude Sonnet 4 6 API

Built for 高效编码与代理 tasks, advancing beyond Claude 4.5/4.6 前序版本 in long context, coding, tool use, and complex planning. Compared with flagship models such as GPT, Gemini, and Qwen, it is well suited to reliable agents, codebase maintenance, and deep research workflows.

  • Reasoning
  • Web search
  • Tool use
  • Function calling
  • Structured output
  • Long context
  • Code execution
Use in Consoleclaude-sonnet-4-6

USD

Pricing

default
Standard Rate
Input$3/1M tokensCompletion Price$15/1M tokensCache Read$0.3/1M tokensCache Write$3.75/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-4-6",
    "messages": [
        {
            "role": "user",
            "content": "What can you do?"
        }
    ],
    "max_tokens": 100
}'

Anthropic

Related models

FAQ

Frequently asked questions

What is Claude Sonnet 4 6 best suited for?

Claude Sonnet 4 6 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 4 6 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 4 6?

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 4 6

Use in Console
TokenHot

The frontier intelligence gateway. One API. 127 models. 0.2s latency. Pay only for what you use.

All systems normal · 99.997% uptime

Company

© 2026 TokenHot Inc. — Built for builders.