Skip to content

Examples and guides for using the OpenAI API

add mentions of GPT 5.2 Codex. (#2382)

Vaibhav Srivastavcad62ca31285
diff --git a/examples/gpt-5/codex_prompting_guide.ipynb b/examples/gpt-5/codex_prompting_guide.ipynb
index 4b44f87b..79d100c0 100644
--- a/examples/gpt-5/codex_prompting_guide.ipynb
+++ b/examples/gpt-5/codex_prompting_guide.ipynb
@@ -9,6 +9,8 @@
"\n",
"Codex models advance the frontier of intelligence and efficiency and our recommended agentic coding model. Follow this guide closely to ensure you’re getting the best performance possible from this model. This guide is for anyone using the model directly via the API for maximum customizability; we also have the [Codex SDK](https://developers.openai.com/codex/sdk/) for simpler integrations.\n",
"\n",
+ "In the API, the Codex-tuned model is `gpt-5.2-codex` (see the [model page](https://platform.openai.com/docs/models/gpt-5.2-codex)).\n",
+ "\n",
"Recent improvements to Codex models\n",
"\n",
"* Faster and more token efficient: Uses fewer thinking tokens to accomplish a task. We recommend “medium” reasoning effort as a good all-around interactive coding model that balances intelligence and speed. \n",
diff --git a/examples/gpt-5/gpt-5-1_prompting_guide.ipynb b/examples/gpt-5/gpt-5-1_prompting_guide.ipynb
index 9816494e..1ed36bbc 100644
--- a/examples/gpt-5/gpt-5-1_prompting_guide.ipynb
+++ b/examples/gpt-5/gpt-5-1_prompting_guide.ipynb
@@ -24,7 +24,7 @@
"3. **Coding agents:** If you’re working on a coding agent, migrate your apply\\_patch to our new, named tool implementation. \n",
"4. **Instruction following:** For other behavior issues, GPT-5.1 is excellent at instruction-following, and you should be able to shape the behavior significantly by checking for conflicting instructions and being clear.\n",
"\n",
- "We also released GPT-5.1-codex. This model behaves a bit differently than GPT-5.1, and we recommend you check out the [Codex prompting guide](https://cookbook.openai.com/examples/gpt-5/codex_prompting_guide) for more information.\n",
+ "We also released GPT-5.1-codex. That model behaves a bit differently than GPT-5.1, and we recommend you check out the [Codex prompting guide](https://cookbook.openai.com/examples/gpt-5/codex_prompting_guide) for more information. The current Codex model in the API is `gpt-5.2-codex` (see the [model page](https://platform.openai.com/docs/models/gpt-5.2-codex)).\n",
"\n",
"## Agentic steerability\n",
"\n",