OpenAI

gpt-5.2-pro

Previous pro model for professional work that produces smarter and more precise responses.

起始价格
输入
$21.00/ 1M
输出
$168.00/ 1M
进入控制台

渠道

每个渠道均使用输入价格最低的档位参与比较,输入同价时比较输出价格。短横线表示 /api/pricing 未提供该费率。选择渠道会更新下方端点与调用示例。

openai/gpt-5.2-pro
输入
$21.00 USD / 1M tokens
输出
$168.00 USD / 1M tokens
缓存读取
- USD / 1M tokens
缓存写入
- USD / 1M tokens

端点

POST/v1/responsesResponses

发起调用

当前渠道 openai/gpt-5.2-pro

1from openai import OpenAI23client = OpenAI(4    base_url="https://www.realrelay.ai/v1",5    api_key="sk-***",6)78response = client.responses.create(9    model="openai/gpt-5.2-pro",10    input="Hello",11    max_output_tokens=1024,12)1314print(response.output_text)
1import OpenAI from "openai";23const client = new OpenAI({4  baseURL: "https://www.realrelay.ai/v1",5  apiKey: process.env.REALRELAY_API_KEY,6});78const response = await client.responses.create({9  model: "openai/gpt-5.2-pro",10  input: "Hello",11  max_output_tokens: 1024,12});1314console.log(response.output_text);
1curl https://www.realrelay.ai/v1/responses \2  -H "Authorization: Bearer $REALRELAY_API_KEY" \3  -H "Content-Type: application/json" \4  -d '{5    "model": "openai/gpt-5.2-pro",6    "input": "Hello",7    "max_output_tokens": 10248  }'

价格与可用性为 2026年10月4日 发布的数据。

能力

推理工具调用视觉
输入
文本图像
输出
文本