openai logo
openai

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....

概要

モデル仕様

コンテキスト
400,000 tokens
最大出力
128,000 tokens
アーキテクチャ
text+image->text
トークナイザー
GPT
知識カットオフ
情報なし
モデレーション
いいえ
OPENROUTER

料金の詳細

OpenRouterと同期した料金です。トークン料金は100万トークン単位です。

入力
$1.75
100万トークンあたり
出力
$14
100万トークンあたり
キャッシュ読込
$0.175
100万トークンあたり
API

モデル設定

推論

推論の必須設定
はい
既定パラメータ
medium
機能とモダリティ
xhigh, high, medium, low
API

クイックスタート

ローカルにOPENROUTER_API_KEYを設定してください。Pythonにはrequestsが必要です。JavaScriptはNode.jsで実行し、キーはサーバー側で管理してください。

APIドキュメント

curl --fail-with-body https://openrouter.ai/api/v1/chat/completions \
  -H "Authorization: Bearer $OPENROUTER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model":"openai/gpt-5.2-codex","messages":[{"role":"user","content":"Hello!"}]}'
機能とモダリティ

入力出力

入力
textimage
出力
text
推論

いいえ · xhigh · high · medium · low

API

対応APIパラメータ

include_reasoningmax_completion_tokensreasoningreasoning_effortresponse_formatseedstructured_outputstool_choicetools
利用可能なプロバイダー

1 プロバイダー

確認日: 2026年9月7日

OpenRouterでプロバイダーを見る

可用性、遅延、スループット、ルーティングは常時変化します。最新情報は出典ページで確認してください。

OpenRouter

Azure

情報なし
コンテキスト
400K
最大出力
128K
入力
$1.75
出力
$14
キャッシュ読込
$0.175
キャッシュ書込
情報なし
openai

4 モデル

すべてのモデル
openai logoopenai

OpenAI: GPT-6 Luna Pro

GPT-6 Luna Pro is the same underlying model as GPT-6 Luna, served with reasoning.mode set to pro for higher-quality responses on complex tasks. Learn more in OpenAI's docs: https://developers.openai.com/api/docs/guides/reasoning#reasoning-mode

コンテキスト
1.1M
入力
file · image · text
出力
text
入力: $0.1出力: $0.5100万トークンあたり
モデル詳細を見る
openai logoopenai

OpenAI: GPT-6 Luna Pro (batch)

GPT-6 Luna Pro is the same underlying model as GPT-6 Luna, served with reasoning.mode set to pro for higher-quality responses on complex tasks. Learn more in OpenAI's docs: https://developers.openai.com/api/docs/guides/reasoning#reasoning-mode

コンテキスト
1.1M
入力
file · image · text
出力
text
入力: $0.05出力: $0.25100万トークンあたり
モデル詳細を見る
openai logoopenai

OpenAI: GPT-6 Luna

GPT-6 Luna is the fast, cost-efficient model in OpenAI's GPT-6 series, positioned below GPT-6 Sol. It is suited for high-volume and latency-sensitive workloads such as chat, classification, and lightweight agentic...

コンテキスト
1.1M
入力
file · image · text
出力
text
入力: $0.1出力: $0.5100万トークンあたり
モデル詳細を見る
openai logoopenai

OpenAI: GPT-6 Luna (batch)

GPT-6 Luna is the fast, cost-efficient model in OpenAI's GPT-6 series, positioned below GPT-6 Sol. It is suited for high-volume and latency-sensitive workloads such as chat, classification, and lightweight agentic...

コンテキスト
1.1M
入力
file · image · text
出力
text
入力: $0.05出力: $0.25100万トークンあたり
モデル詳細を見る