Skip to content

Examples and guides for using the OpenAI API

Codex prompt edits (#2161)

anoop-openaie262ead3e5c2
diff --git a/examples/gpt-5-codex_prompting_guide.ipynb b/examples/gpt-5-codex_prompting_guide.ipynb
index 2be8d319..32ebf9b7 100644
--- a/examples/gpt-5-codex_prompting_guide.ipynb
+++ b/examples/gpt-5-codex_prompting_guide.ipynb
@@ -6,9 +6,10 @@
"metadata": {},
"source": [
"## GPT-5-Codex Prompting Guide\n",
- "Important details about `GPT-5-Codex`:\n",
+ "Important details about `GPT-5-Codex` and this guide:\n",
"- This model is not a drop-in replacement for GPT-5, as it requires significantly different prompting.\n",
"- This model is only supported with the Responses API and does not support the verbosity parameter.\n",
+ "- This guide is meant for API users of `GPT-5-Codex` and creating developer prompts, not for Codex users, if you are a Codex user refer to this [prompting guide](https://developers.openai.com/codex/prompting)\n",
"\n",
"`GPT-5-Codex` is a new version of GPT‑5 further optimized for agentic and interactive coding tasks. GPT‑5-Codex was trained with a focus on real-world software engineering work; it’s equally proficient at quick, interactive sessions and at independently powering through long, complex tasks. The model builds on GPT-5’s strong coding abilities with additional improvements such as:\n",
"- **Improved steerability:** `GPT-5-Codex` delivers higher-quality code on complex engineering tasks like features, tests, debugging, refactors, and reviews without lengthy instructions.\n",
@@ -26,7 +27,7 @@
"4. Make tool descriptions as concise as possible by removing unnecessary details.\n",
"\n",
"\n",
- "### Codex CLI Prompt\n",
+ "## Codex CLI Prompt\n",
"Below is the full Codex CLI developer message, which you can use as the reference implementation for prompting `GPT-5-Codex`. Compared with the GPT-5 developer message, it uses about 40% as many tokens, reinforcing that minimal prompting is ideal for this model.\n",
"\n",
"\n",