Claude

Claude Sonnet 4.6

Anthropic按量收費
Alias:claude-sonnet-4-6

Claude Sonnet 4.6 適合日常程式開發、文件協作與多步驟助理,可結合文字和影像理解需求,生成程式碼及清楚的工作成果。

textimagestreamingfunction_callingtoolsvisionreasoningcachingcontext:1000000
起始價格
輸入 / 輸出 · 1M
上下文
1M
最大輸入窗口
最大輸出
128K
單次回應最大 token 數
模態
→
知識截止
Aug 2025
發佈於
Feb 2026

Pricing by Supplier

比較同一模型在不同供應商的價格與服務表現。

供應商5
USD · 每 1M tokens效能 · Last 24 hours
供應商Discount輸入/M輸出/M緩存讀取/M緩存寫入 (5m)/M緩存寫入 (1h)/M
Anthropic

Anthropic 官方 API

省10%
$2.7$3
$13.5$15
$0.27$0.3
$3.375$3.75
$5.4$6
CCMax

僅使用 CCMax 帳號池,適合個人 vibe coding

省70%
$0.9$3
$4.5$15
$0.09$0.3
$1.125$3.75
$1.8$6
Claude kiro

Kiro 帳號池,適合個人 vibe coding

省90%
$0.3$3
$1.5$15
$0.03$0.3
$0.375$3.75
$0.6$6
CCMax-ZL

CCmax 微注 · 可蒸

省70%
$0.9$3
$4.5$15
$0.09$0.3
$1.125$3.75
$1.8$6
AmazonBedrock

AWS 官方 API

省40%
$1.8$3
$9$15
$0.18$0.3
$2.25$3.75
$3.6$6
刪除線金額為標準價。效能統計涵蓋最近 24 小時,實際表現隨請求變化。

左右滑動表格,查看完整價格與效能。

能力 / 支援的模態

函數呼叫工具JSON 模式結構化輸出推理視覺提示詞緩存
輸入
輸出

廠商與數據私隱

供應商
Anthropic文件
分詞器
Anthropic Claude tokenizer
許可證
Proprietary (commercial)商業閉源
數據保留42 日預設不會用於上游訓練

效能

基準測試

標準化評測得分。百分比越高越好,並展示排名百分位。

指標來源:Artificial Analysis 2026-09-30·Claude Sonnet 4.6

目前基準快照不包含此模型。

缺少模型或測量值不代表零分。

基準圖表保留來源中的模型選擇和推理設定。缺少模型或測量值不代表零分,基準成本或速度也不是本站的服務承諾。

About Claude Sonnet 4.6

Claude Sonnet 4.6 適合日常程式開發、文件協作與多步驟助理,可結合文字和影像理解需求,生成程式碼及清楚的工作成果。

查看介紹原文

从日常问题到连续工作

Claude Sonnet 4.6 适合作为团队日常使用的编程与知识助手。它能够解释代码、处理文档、起草内容并分析问题,既可回答一个局部疑问,也可在工具配合下持续推进具有明确目标的工作,例如排查页面异常、补齐接口测试或整理项目交接材料。

它接受文本和图片,输出文字。设计截图可以用来说明布局和交互问题,流程图可以辅助理解业务状态,扫描资料中的图文则可用于摘要与问答。需要精确处理数字和表格时,尽量同时提供可复制的原始数据,要求它把结论与材料位置对应起来。

长上下文便于放入多份相关文件,使它能够结合背景理解局部修改。开发任务可以提供组件、接口定义和相关测试,要求先说明影响范围,再给实现建议;文档任务可以附术语表和已有章节,要求保持内容口径与写作风格一致。

它支持自适应思考、函数调用和结构化输出。接入业务工具后,可以查询资料、整理结果并继续完成后续步骤;生成固定字段时,可以把结果交给工单或知识库流程。模型需要从真实工具获得执行反馈,应用也应设置清楚的读写权限和失败处理方式。

怎样融入团队

适合做代码审查吗? 可以按可读性、错误处理、兼容性和测试覆盖检查改动。给出关注重点,并要求指出可触发的问题,比泛泛评价更实用。

能保持团队文档风格吗? 提供一段参考文字、术语和章节结构,让它先提取写作要求,再完成新内容,并核对关键事实。

Use cases and prompting

Starting points for evaluation; supported inputs and options are listed in API access.

Use cases to explore

  • Draft and revise text with explicit audience, tone and format requirements.
  • Summarize supplied documents and compare answers against the original sources.

Practical tips

Separate instructions from source material, describe the desired output and provide an example. Test tool use or structured output only when listed as supported.

Example prompt

Summarize the following document in five bullet points. Separate confirmed facts from open questions, cite the relevant passages and do not invent missing information. Document: [paste your text]

查看使用指南原文

提供一个团队实际要完成的任务

说明受众、已有材料与交付格式。

请把这些开发记录整理成交接文档,面向刚接手的后端工程师。
包含模块职责、请求路径、关键配置、常见故障和验证方法。
保留日志里的真实错误信息与命令,标出尚未解决的问题。
先给目录,再生成正文;避免把讨论中的建议写成已经上线的行为。

写代码时补充运行版本和测试命令;分析截图时指出关注的区域与预期交互。多步骤任务可以约定每次操作后检查返回结果,结束时汇报完成内容和需要继续处理的事项。

API access

API 介面文件

呼叫示例

請求POST/v1/messages
請求範例
參數
參數類型預設值 / 範圍說明資訊
temperature
number
=10 ~ 2
採樣溫度;越低越穩定
top_p
number
=10 ~ 1
核採樣累積概率
max_tokens
integer>= 1回應中最大 token 數
frequency_penalty
number
=0-2 ~ 2
懲罰高頻 token 的重複出現
presence_penalty
number
=0-2 ~ 2
鼓勵引入新話題
stop
array—最多 4 個停止生成的字串
seed
integer—盡量保證可復現的採樣種子
n
integer
=1>= 1
生成的候選條數
stream
boolean
=false
透過 SSE 串流返回 token
response_format
object—強制輸出 JSON 物件或符合 Schema 的結果
tools
array—模型可呼叫的工具 / 函數聲明
tool_choice
string
autononerequired
工具選擇策略或具體工具名
logprobs
boolean
=false
返回每個 token 的對數概率
top_logprobs
integer0 ~ 20每個 token 返回的 top 概率數量
logit_bias
object—按 token 的 logit 偏置映射
user
string—用於風險審計的終端用戶標識

替換 <YOUR_API_KEY> 替換為 API 金鑰頁面中的金鑰。

身份驗證

所有請求必須攜帶 Authorization: Bearer <TOKEN> 請求頭。Anthropic 格式的端點也接受 x-api-key 請求頭。

在「令牌」頁面生成 API Key,可以按模型、分組、IP、速率等維度精細化授權。

支援的參數

Generation parameters
參數類型預設值 / 範圍說明資訊
temperature
number
=10 ~ 2
採樣溫度;越低越穩定
top_p
number
=10 ~ 1
核採樣累積概率
max_tokens
integer>= 1回應中最大 token 數
frequency_penalty
number
=0-2 ~ 2
懲罰高頻 token 的重複出現
presence_penalty
number
=0-2 ~ 2
鼓勵引入新話題
stop
array—最多 4 個停止生成的字串
seed
integer—盡量保證可復現的採樣種子
n
integer
=1>= 1
生成的候選條數
stream
boolean
=false
透過 SSE 串流返回 token
response_format
object—強制輸出 JSON 物件或符合 Schema 的結果
tools
array—模型可呼叫的工具 / 函數聲明
tool_choice
string
autononerequired
工具選擇策略或具體工具名
logprobs
boolean
=false
返回每個 token 的對數概率
top_logprobs
integer0 ~ 20每個 token 返回的 top 概率數量
logit_bias
object—按 token 的 logit 偏置映射
user
string—用於風險審計的終端用戶標識

速率限制

供應商RPMTPMRPD
Claude kiro無限制無限制無限制
Anthropic無限制無限制無限制
CCMax無限制無限制無限制
AmazonBedrock無限制無限制無限制
CCMax-ZL無限制無限制無限制

無限制

Frequently asked questions about claude-sonnet-4-6

What is claude-sonnet-4-6?

Claude Sonnet 4.6 適合日常程式開發、文件協作與多步驟助理,可結合文字和影像理解需求,生成程式碼及清楚的工作成果。

How do I call claude-sonnet-4-6?

Create an API key with access to claude-sonnet-4-6, then use the exact model ID and a supported endpoint from the API access section. Request fields depend on the selected endpoint.

How is claude-sonnet-4-6 priced?

Pricing depends on the selected provider group and the model billing unit. The current input, output, request, or media prices are shown on this page before sign-up.

What is the context window of claude-sonnet-4-6?

The model catalog lists a context window of 1000000 tokens. Check the selected endpoint for request limits.

What is the maximum output of claude-sonnet-4-6?

The model catalog lists a maximum output of 128000 tokens. Your request settings may set a lower limit.

How should I evaluate claude-sonnet-4-6 for my project?

Separate instructions from source material, describe the desired output and provide an example. Test tool use or structured output only when listed as supported.