泽算使用文档

对话模型

接口

POST /v1/chat/completions

参数

参数 类型 说明
model string 模型名,见下方列表
messages array 对话消息,支持 system / user / assistant
temperature number 0–2,默认由模型决定
max_tokens integer 最大输出 token 数
stream boolean 是否流式返回
tools array 函数调用定义,兼容 OpenAI

常用模型

模型 说明
deepseek-flash 通用对话,快、便宜
deepseek-v4-pro 复杂推理与长文本

完整模型列表以 GET /v1/models 返回为准。