OpenAI

GPT 5.2

OpenAI按量收費動態收費
Alias:gpt-5.2

較早一代面向複雜專業工作的旗艦推理模型,支援調整推理強度,可處理跨文字、程式碼與影像的任務。支援文字與影像輸入、文字輸出。上下文為 400,000 個詞元,最多輸出 128,000 個詞元。依實際用量按官方 Standard 費率計費(美元/百萬詞元):輸入 1.75、快取讀取 0.175、輸出 14。

textimagestreamingfunction_callingtoolsstructured_outputjson_modevisionweb_searchcachingreasoningcode_interpretercontext:400000
起始價格
查看完整計費明細
上下文
400K
最大輸入窗口
最大輸出
128K
單次回應最大 token 數
模態
→
知識截止
Aug 2025
發佈於
Dec 2025

Pricing by Supplier

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

供應商2
USD · 每 1M tokens效能 · Last 24 hours
供應商Discount輸入/M輸出/M緩存讀取/M
OpenAI

OpenAI 官方 API

省35%
$1.1375$1.75
$9.1$14
$0.11375$0.175
Azure

直接連線至 Microsoft Azure API,服務穩定可靠

省32.5%
$1.1813$1.75
$9.45$14
$0.118125$0.175
刪除線金額為標準價。效能統計涵蓋最近 24 小時,實際表現隨請求變化。

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

能力 / 支援的模態

串流輸出函數呼叫工具結構化輸出視覺網絡搜尋提示詞緩存推理代碼解釋器
輸入
輸出

廠商與數據私隱

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

效能

基準測試

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

指標來源:Artificial Analysis 2026-09-30·GPT 5.2

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

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

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

About GPT 5.2

較早一代面向複雜專業工作的旗艦推理模型,支援調整推理強度,可處理跨文字、程式碼與影像的任務。支援文字與影像輸入、文字輸出。上下文為 400,000 個詞元,最多輸出 128,000 個詞元。依實際用量按官方 Standard 費率計費(美元/百萬詞元):輸入 1.75、快取讀取 0.175、輸出 14。

查看介紹原文

按任务难度安排分析深度

GPT-5.2 适合需要兼顾专业分析与实际交付的工作。它能阅读文字与图片,生成报告、代码、说明或结构化数据,帮助研发、产品和运营团队把问题拆清楚,再形成可以继续执行的结果。你可以用它梳理复杂需求、解释代码逻辑,也可以让它对照资料评估不同方案。

可调推理强度是它的重要使用方式。简单改写、归类和信息整理,可以优先追求较快响应;需要分析多种约束、检查代码边界或进行复杂推演时,可以提高推理强度。更高强度意味着需要为思考和最终答复留出相应预算,应按任务效果评估是否值得。

它的长上下文有利于同时阅读较多材料,例如一份产品方案、接口说明和几段历史讨论。建议先确定问题范围,再标注材料之间的关系:哪些是现行规则、哪些是旧版本、哪些只是候选意见。这样可以减少把背景信息误当成执行要求的情况。

图片输入可以辅助解释图表、页面截图与流程示意。结合函数调用、结构化输出和调用端配置的检索或计算工具,它可以参与信息查询、报告生成和业务处理。让模型先验证查询条件与工具结果,再写结论,有助于把分析与真实数据连接起来。

团队如何使用

适合把需求转成开发任务吗? 可以要求按用户行为、接口变化、数据变更和验收标准拆解,并标出需求中仍不明确的地方。

能只依赖提供的材料吗? 可以在请求中限制范围,要求所有判断引用输入资料;涉及新信息时,应另外启用检索并明确证据标准。

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]

查看使用指南原文

让方案可以被团队执行

给出目标用户、业务约束与已有资料,要求把分析转成具体交付物。

根据这份会员规则和客服反馈,设计一次到期提醒改造。
先找出规则中的歧义,再给出触发条件、消息内容、频率限制和异常处理。
输出产品验收清单及后端接口改动建议,每项注明依据;未确定的问题单独列出。
不要改变现有会员有效期和退款规则。

复杂排错可提高推理强度,并提供复现步骤与日志。需要稳定数据格式时定义 JSON 字段;工具执行后要求检查结果是否满足查询条件,再进入下一步。

API access

API 介面文件

呼叫示例

請求POST/v1/chat/completions
請求範例
參數
參數類型預設值 / 範圍說明資訊
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
Azure無限制無限制無限制
OpenAI無限制無限制無限制

無限制

Frequently asked questions about gpt-5.2

What is gpt-5.2?

較早一代面向複雜專業工作的旗艦推理模型,支援調整推理強度,可處理跨文字、程式碼與影像的任務。支援文字與影像輸入、文字輸出。上下文為 400,000 個詞元,最多輸出 128,000 個詞元。依實際用量按官方 Standard 費率計費(美元/百萬詞元):輸入 1.75、快取讀取 0.175、輸出 14。

How do I call gpt-5.2?

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

How is gpt-5.2 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 gpt-5.2?

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

What is the maximum output of gpt-5.2?

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

How should I evaluate gpt-5.2 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.