Aibubu
Aibubu を開く ↗

Claude Sonnet 4.6

Claude Sonnet 4.6 のテキスト生成向け API リファレンス。コンテキストウィンドウ、リクエストフィールド、トークン料金、OpenAI 互換の例を扱います。

POST/v1/chat/completions

API の料金を見る

claude-sonnet-4.6 is a currently public China-region text model for balanced quality and speed.

Actual parameters must follow the schema.fields returned by GET /v1/models.

Quick Facts

ItemValue
Model IDclaude-sonnet-4.6
TypeText
RegionAll
Best Forbalanced quality and speed

Recommended Request Shape

Use /v1/chat/completions or /v1/responses for text models, not the media generation endpoints.

{"model":"claude-sonnet-4.6","input":"Write a launch announcement","stream":false}

Field Reference

FieldTypeRequiredDescription
modelstringYesMust be claude-sonnet-4.6
inputstringYesUser input content
streambooleanSchema-dependentWhether to stream
max_output_tokensintegerSchema-dependentMaximum output tokens

Current Public Price

ChargeCredits / 1M tokens
Input50.4
Output252
Cache read/write0 / 0

Parameters and pricing

  • Do not send reasoning, temperature, or other fields unless the model schema declares them.
  • Use /v1/quote as the final pricing authority.

Smallest Example

{"model":"claude-sonnet-4.6","input":"Write a launch announcement"}

Related Pages