对话补全
Anthropic
claude-sonnet-4-5-20250929-thinking
根据对话上下文生成模型回复。
POST
对话补全
授权
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
请求体
application/json
模型 ID
可用选项:
claude-sonnet-4-5-20250929-thinking 示例:
"claude-sonnet-4-5-20250929-thinking"
对话消息列表。
Minimum array length:
1示例:
[{ "role": "user", "content": "你好!" }]最大生成 Token 数。
必填范围:
1 <= x <= 8192采样温度,值越高输出越随机。
必填范围:
0 <= x <= 2示例:
1
核采样阈值。
必填范围:
0 <= x <= 1基于频率惩罚重复 Token。
必填范围:
-2 <= x <= 2惩罚已出现过的 Token。
必填范围:
-2 <= x <= 2开启后通过 SSE 流式返回结果。
触发停止生成的字符序列。

