⌘K

GPT-6.1 Terra

gpt-6.1-terra

GPT-6.1 Terra 是面向视觉推理、精确计算机操作和清晰自然写作的快速高效模型. 支持文本和图片输入、文本输出, 上下文窗口为 1,050,000 token, 最大输入为 922,000 token, 最大输出为 128,000 token. 请求 `https://cloud.vtrix.ai/llm/chat/completions` 时使用模型 ID `gpt-6.1-terra`

接口提示

gpt-6.1-terra 仅在 reasoning_effort 为 none 时支持 temperature 和 top_p

gpt-6.1-terra 的工具调用需要使用 Responses API

认证

authorization string 必需

所有 API 均使用 Bearer Token 鉴权

获取 API Key:

访问 API Key 管理页面 获取 API Key

用法:

将以下 Header 添加到请求中:

Authorization: Bearer YOUR_API_KEY

参数

model string 必需

请求使用的模型 ID

值: gpt-6.1-terra


messages array 必需

消息对象数组

role string 必需

消息角色

可选值:user, assistant, system, developer

content string/array 必需

文本字符串或包含文本和图片内容部分的数组


max_tokens integer

生成的最大 token 数

范围: 1-128000


reasoning_effort string

控制生成响应时使用的推理量

可选值:none, low, medium, high, xhigh, max

默认值:medium


temperature number

采样温度

范围: 0.0-2.0

默认值: 1.0


top_p number

核采样参数

范围: 0.0-1.0

默认值: 1.0


stream boolean

增量流式响应

可选值: true, false

默认值: false


响应格式

id string

完成的唯一标识符


object string

对象类型, 始终为 chat.completion


created integer

创建时间的 Unix 时间戳


model string

用于完成的模型


choices array

完成选择数组

index integer

选择索引

message object

生成的消息

role string

消息角色(始终为 assistant)

content string

生成的文本内容

finish_reason string

完成终止的原因


usage object

token 使用统计

prompt_tokens integer

提示词中的 token 数

completion_tokens integer

完成中的 token 数

total_tokens integer

使用的总 token 数