OpenAI

OpenAI: GPT-5.2 Codex

Chat
openai/gpt-5.2-codex

GPT-5.2-Codex is an upgraded version of GPT-5.1-Codex optimized for software engineering and coding workflows. It is designed for both interactive development sessions and long, independent execution of complex engineering tasks. The model supports building projects from scratch, feature development, debugging, large-scale refactoring, and code review. Compared to GPT-5.1-Codex, 5.2-Codex is more steerable, adheres closely to developer instructions, and produces cleaner, higher-quality code outputs. Reasoning effort can be adjusted with the reasoning.effort parameter.

512K コンテキストウィンドウ
128K 最大出力トークン
リリース日: 2026-01-14
対応プロトコル:OpenAIopenai
利用可能なプロバイダー:AzureAzure
機能:VisionFunction Calling推論プロンプトキャッシュWeb検索音声入力動画入力PDF入力

料金

タイプ料金
入力トークン$1.75/M
出力トークン$14/M
キャッシュ読込$0.18/M
Web検索$0.01/R

コード例

from openai import OpenAI
client = OpenAI(
base_url="https://api.ofox.ai/v1",
api_key="YOUR_OFOX_API_KEY",
)
response = client.chat.completions.create(
model="openai/gpt-5.2-codex",
messages=[
{"role": "user", "content": "Hello!"}
],
)
print(response.choices[0].message.content)

よくある質問

Ofox.aiでのOpenAI: GPT-5.2 Codexの料金は、入力100万トークンあたり$1.75/M、出力100万トークンあたり$14/Mです。従量課金制、月額料金なし。

Discord

Discordサーバーに参加

Discord