Cookbook
Recipes to help you build with OpenAI models.
Featured

Trigger a Workspace Agent from the API
ChatGPT

GPT Image Generation Models Prompting Guide
ImagesVision

Generate Transparent Image Assets for Campaigns and Presentations
CodexImages

Macro Evals for Agentic Systems
Evals

Controlled Agentic Commerce with AgentCore Payments
Agents SDKSecurity

Build an Agent Improvement Loop with Traces, Evals, and Codex
Agents SDKCodexEvals
Popular

Using Goals in Codex
Codex

Building workspace agents in ChatGPT to complete repeatable, end-to-end work
ChatGPTSecurity

Migrate from Whisper to GPT-Transcribe and GPT-Live-Transcribe
Audio

Build iterative repair loops with Codex
CodexEvals

Computer Use Agents in Daytona Sandboxes
Agents SDKSecurity

Build Live Translation Apps with gpt-realtime-translate
AudioSpeech
All46
Generate Transparent Image Assets for Campaigns and Presentations
CodexImages
Aug 20, 2026Build a per-run spending controller with the Responses API
Responses
Aug 17, 2026Controlled Agentic Commerce with AgentCore Payments
Agents SDKSecurity
Aug 13, 2026Iterating Development Workflows with Codex
Codex
Aug 3, 2026Migrate from Whisper to GPT-Transcribe and GPT-Live-Transcribe
Audio
Jul 28, 2026AML Analysis with the Agents SDK on Amazon Bedrock
Agents SDKEvalsSecurity
Jul 23, 2026Enabling Long-Term Agent Memory with Oracle AI Agent Memory
Agents SDK
Jul 16, 2026Build a Speaker-Aware Meeting Intelligence Pipeline with Audio Diarization
Audio
Jun 18, 2026Trigger a Workspace Agent from the API
ChatGPT
Jun 18, 2026SchemaFlow: Agentic Database Change Impact Analysis, SQL Generation, and Eval Guardrails
Agents SDKEvals
Jun 5, 2026Moving from OpenAI Evals to Promptfoo
Evals
Jun 3, 2026Getting Started with OpenAI Models on Amazon Bedrock
Responses
May 31, 2026Macro Evals for Agentic Systems
Evals
May 19, 2026Build an Agent Improvement Loop with Traces, Evals, and Codex
Agents SDKCodexEvals
May 12, 2026Evaluating Grounded Spatial Reasoning with GPT-5.5
EvalsImagesReasoningVision
May 11, 2026Build iterative repair loops with Codex
CodexEvals
May 11, 2026Using Goals in Codex
Codex
May 9, 2026Migrate from the Claude Agent SDK to the OpenAI Agents SDK
Agents SDKSecurity
May 7, 2026Build Live Translation Apps with gpt-realtime-translate
AudioSpeech
May 7, 2026Agents SDK Deployment Manager
Agents SDK
May 5, 2026Building Reliable Agents with Memory and Compaction
Agents SDK
May 1, 2026ChatGPT Enterprise Prompting Guide
ChatGPT
Apr 27, 2026Building workspace agents in ChatGPT to complete repeatable, end-to-end work
ChatGPTSecurity
Apr 22, 2026GPT Image Generation Models Prompting Guide
ImagesVision
Apr 21, 2026Computer Use Agents in Daytona Sandboxes
Agents SDKSecurity
Apr 19, 2026Migrate a Legacy Codebase with Sandbox Agents
Agents SDKEvalsSecurity
Apr 7, 2026Getting the Most out of GPT-5.4 for Vision and Document Understanding
ImagesVision
Mar 6, 2026Codex Prompting Guide
CodexResponses
Feb 25, 2026Image Evals for Image Generation and Editing Use Cases
EvalsImagesVision
Jan 29, 2026Realtime Eval Guide
AudioEvalsResponsesSpeech
Jan 25, 2026Build your own content fact checker with gpt-oss-120B, Cerebras, and Parallel
Open ModelsReasoning
Jan 13, 2026Context Engineering for Personalization - State Management with Long-Term Memory Notes
Agents SDK
Jan 5, 2026Prompt Personalities
Jan 5, 2026Modernizing your Codebase with Codex
Codex
Nov 19, 2025User guide for gpt-oss-safeguard
GuardrailsOpen Models
Oct 29, 2025Context Engineering - Short-Term Memory Management with Sessions
Agents SDK
Sep 9, 2025Automating Code Quality and Security Fixes with Codex CLI on GitLab
CodexSecurity
Aug 29, 2025Verifying gpt-oss implementations
Open Models
Aug 11, 2025GPT-5 Prompt Migration and Improvement Using the New Optimizer
ReasoningResponses
Aug 7, 2025Fine-tuning with gpt-oss and Hugging Face Transformers
Open Models
Aug 5, 2025How to handle the raw chain of thought in gpt-oss
Open Models
Aug 5, 2025How to run gpt-oss with Transformers
Open Models
Aug 5, 2025How to run gpt-oss locally with Ollama
Open Models
Aug 5, 2025OpenAI Harmony Response Format
Open Models
Aug 5, 2025Temporal Agents with Knowledge Graphs
FunctionsResponses
Jul 22, 2025How to use the Usage API and Cost API to monitor your OpenAI usage
Jan 14, 2025