智脑API服务平台
智脑API服务平台
  • 模型广场
  • API 文档
智脑API服务平台

让企业用 AI,像用水电一样简单

更多链接
模型广场控制台API Keys用量查询文档
© 2026 智脑API服务平台. 保留所有权利。|ICP备案号|隐私政策|服务条款

openai/gpt-5.2-codex

在线对话

发布时间

-

模型系列

输入模态

输出模态

上下文窗口

400,000

最大输出长度

128,000

输入价格

¥0 / 1M tokens

输出价格

¥0 / 1M tokens

GPT‑5.2-Codex 基于 GPT‑5.2⁠,并针对 Codex 智能体编码进行了深度优化,具体改进包括:通过上下文压缩 (compaction) 提升长程任务执行能力、在大规模代码变更(如重构与迁移)中具备更出色的性能、在 Windows 环境下实现更优表现,以及在网络安全方面显著增强。

openai/gpt-5.2-codex的供应商

智脑 API 根据调度策略向最合适的供应商发起请求,并自动回退至可用性最高的供应商。

七
七牛云
国内

首字延迟

60.56s

吞吐量

272.60tps

可用性

100.00%

供应商模型名

qiniu/gpt-5.2-codex

支持的参数

include_reasoning
max_tokens
reasoning
response_format
seed
structured_outputs
tool_choice
tools

近期可用性

3月4日 11 PM100.00%
暂无数据暂无数据暂无数据3月2日 8 AM: 100.00%3月2日 9 AM: 100.00%3月2日 10 AM: 100.00%3月2日 10 AM: 100.00%3月2日 11 AM: 100.00%3月2日 11 AM: 100.00%3月2日 12 PM: 100.00%3月2日 12 PM: 100.00%3月2日 1 PM: 100.00%3月2日 2 PM: 100.00%3月2日 2 PM: 100.00%3月2日 3 PM: 100.00%3月2日 3 PM: 90.91%3月2日 4 PM: 100.00%3月2日 4 PM: 96.15%3月2日 5 PM: 100.00%3月2日 5 PM: 100.00%3月2日 6 PM: 100.00%3月2日 8 PM: 100.00%3月2日 8 PM: 100.00%3月2日 9 PM: 100.00%3月2日 10 PM: 100.00%3月2日 10 PM: 100.00%3月2日 11 PM: 100.00%3月3日 10 AM: 100.00%3月3日 10 AM: 100.00%3月3日 12 PM: 100.00%3月3日 12 PM: 100.00%3月3日 3 PM: 100.00%3月3日 3 PM: 100.00%3月3日 4 PM: 100.00%3月3日 4 PM: 100.00%3月3日 5 PM: 20.00%3月3日 5 PM: 暂无数据3月3日 7 PM: 90.91%3月3日 8 PM: 100.00%3月3日 8 PM: 100.00%3月3日 9 PM: 100.00%3月3日 9 PM: 100.00%3月3日 10 PM: 100.00%3月3日 10 PM: 100.00%3月3日 11 PM: 100.00%3月4日 9 AM: 100.00%3月4日 10 AM: 100.00%3月4日 10 AM: 100.00%3月4日 11 AM: 100.00%3月4日 11 AM: 50.00%3月4日 1 PM: 100.00%3月4日 2 PM: 50.00%3月4日 3 PM: 100.00%3月4日 3 PM: 100.00%3月4日 4 PM: 100.00%3月4日 4 PM: 87.50%3月4日 5 PM: 100.00%3月4日 5 PM: 100.00%3月4日 6 PM: 100.00%3月4日 6 PM: 100.00%3月4日 6 PM: 100.00%3月4日 7 PM: 100.00%3月4日 7 PM: 94.74%3月4日 8 PM: 100.00%3月4日 8 PM: 100.00%3月4日 8 PM: 100.00%3月4日 9 PM: 100.00%3月4日 9 PM: 100.00%3月4日 10 PM: 100.00%3月4日 10 PM: 100.00%3月4日 11 PM: 100.00%3月4日 11 PM: 100.00%

推理

-

支持的响应格式

OpenAI Chat Completions
OpenAI Responses
Anthropic Messages
Google VertexAI

请求日志收集

-

可用于蒸馏

-

上下文长度

128,000

最大输出

128,000

输入价格

¥0 / 1M tokens

输出价格

¥0 / 1M tokens

openai/gpt-5.2-codex的性能

在智脑 API 上对比不同供应商的表现

吞吐量

272.60 tok/s

首字延迟

60.56 s

openai/gpt-5.2-codex的可用性

openai/gpt-5.2-codex的各供应商可用性

openai/gpt-5.2-codex示例代码与 API

获取 API Key

智脑 API 为您统一各供应商的请求与响应格式

import OpenAI from "openai";

const client = new OpenAI({
  baseURL: "https://api.360.cn/v1",
  apiKey: process.env.ZHINAO_API_KEY,
});

const response = await client.chat.completions.create({
  model: "openai/gpt-5.2-codex",
  messages: [
    { role: "user", content: "Hello, how are you?" }
  ],
  temperature: 0.7,
  max_tokens: 1000,
});

console.log(response.choices[0].message.content);