現在利用可能
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....
TextReasoningToolsFilesVision400KCache
入力無料
出力無料
コンテキスト400K
エンドポイントopenai
機能
推論ツール並列ツールビジョンファイルキャッシュ構造化ストリーミングシステムメッセージ
モダリティ
入力
textimage
出力
text
クイック統計
コンテキストウィンドウ400K
最大出力128K
モードresponses
トークナイザーGPT
モデレーションはい
パフォーマンス
パフォーマンスデータを読み込み中...
対応パラメータ
| パラメータ | 常時 | デフォルト |
|---|---|---|
| frequency_penalty | - | (送信しない) |
| include_reasoning | - | |
| max_completion_tokens | - | - |
| max_tokens | - | - |
| reasoning | - | |
| response_format | - | |
| seed | - | |
| structured_outputs | - | |
| temperature | - | (送信しない) |
| tool_choice | - | |
| tools | - | |
| top_p | - | (送信しない) |
§ 01
料金
| 入力料金 | $0.00 · 100万トークン |
| 出力料金 | $0.00 · 100万トークン |
| コンテキストウィンドウ | 400K トークン |
| 対応エンドポイント | openai |
| ベンダー | OpenAI |
§ 02
コードから gpt-5.2-codex を呼び出す
OpenAI 互換の SDK を UnoRouter に向け、モデル名を指定するだけです。YOUR_API_KEY はダッシュボードで取得した実際のキーに置き換えてください。
bash
curl https://api.unorouter.com/v1/chat/completions \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "gpt-5.2-codex",
"messages": [{"role": "user", "content": "Hello!"}]
}'§ 03
よくあるご質問
gpt-5.2-codex の100万トークンあたりの料金はいくらですか?
入力は100万トークンあたり $0.00、出力は100万トークンあたり $0.00 で課金されます。トークン単位の課金で、バッチサイズへの切り上げはありません。
API で gpt-5.2-codex を使うにはどうすればよいですか?
UnoRouter の /v1/chat/completions エンドポイントへ model=gpt-5.2-codex を指定してリクエストを送信してください。OpenAI 互換のクライアントライブラリであれば動作します。認証は標準の Bearer トークンを使用します。
gpt-5.2-codex のコンテキストウィンドウはどれくらいですか?
gpt-5.2-codex は 400K トークンのコンテキストウィンドウに対応しており、プロンプトとモデルの応答で共有されます。
§ 04