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

Using PLANS.md for multi-hour problem solving
Codex

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

Skills in OpenAI API
ResponsesSecurity

Realtime Prompting Guide
AudioResponsesSpeech
All99
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, 2026Sora 2 Prompting Guide
Mar 12, 2026Getting the Most out of GPT-5.4 for Vision and Document Understanding
ImagesVision
Mar 6, 2026Realtime Prompting Guide
AudioResponsesSpeech
Feb 25, 2026Codex Prompting Guide
CodexResponses
Feb 25, 2026Building Governed AI Agents - A Practical Guide to Agentic Scaffolding
EvalsGuardrailsSecurity
Feb 23, 2026Prompt Caching 201
Responses
Feb 18, 2026Skills in OpenAI API
ResponsesSecurity
Feb 10, 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, 2026Gpt-image-1.5 Prompting Guide
ImagesVision
Dec 16, 2025OpenAI Compliance Logs Platform quickstart
ChatGPT
Dec 11, 2025GPT-5.2 Prompting Guide
Dec 11, 2025Transcribing User Audio with a Separate Realtime Request
AudioSpeech
Nov 20, 2025Modernizing your Codebase with Codex
Codex
Nov 19, 2025Build a coding agent with GPT 5.1
Agents SDKSecurity
Nov 13, 2025GPT-5.1 Prompting Guide
Nov 13, 2025Self-Evolving Agents - A Cookbook for Autonomous Agent Retraining
Evals
Nov 4, 2025User guide for gpt-oss-safeguard
GuardrailsOpen Models
Oct 29, 2025Build Code Review with the Codex SDK
CodexSecurity
Oct 21, 2025Build, deploy, and optimize agentic workflows with AgentKit
Evals
Oct 17, 2025Using PLANS.md for multi-hour problem solving
Codex
Oct 7, 2025Building resilient prompts using an evaluation flywheel
Evals
Oct 6, 2025Building Consistent Workflows with Codex CLI & Agents SDK
Agents SDKCodex
Oct 1, 2025Use Codex CLI to automatically fix CI failures
Codex
Sep 30, 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, 2025Fine-tune gpt-oss for better Korean language performance
Open Models
Aug 26, 2025Verifying gpt-oss implementations
Open Models
Aug 11, 2025How to run gpt-oss locally with LM Studio
Open Models
Aug 7, 2025GPT-5 Prompt Migration and Improvement Using the New Optimizer
ReasoningResponses
Aug 7, 2025GPT-5 New Params and Tools
FunctionsReasoning
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 with vLLM
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, 2025Generate images with high input fidelity
Images
Jul 17, 2025Optimize Prompts
Agents SDKCompletionsResponses
Jul 14, 2025Building a Supply-Chain Copilot with OpenAI Agent SDK and Databricks MCP Servers
Agents SDKSecurity
Jul 8, 2025Prompt Migration Guide
CompletionsResponses
Jun 26, 2025Introduction to deep research in the OpenAI API
Responses
Jun 25, 2025Deep Research API with the Agents SDK
Agents SDK
Jun 25, 2025Building a Deep Research MCP Server
Agents SDKResponses
Jun 25, 2025Automate Jira ↔ GitHub with Codex
Codex
Jun 21, 2025Fine-Tuning Techniques - Choosing Between SFT, DPO, and RFT (With a Guide to DPO)
Fine-tuning
Jun 18, 2025MCP-Powered Agentic Voice Framework
Agents SDKFunctionsSpeech
Jun 17, 2025Eval Driven System Design - From Prototype to Production
CompletionsEvalsFunctionsResponses
Jun 2, 2025Multi-Agent Portfolio Collaboration with OpenAI Agents SDK
Agents SDKFunctionsResponses
May 28, 2025Exploring Model Graders for Reinforcement Fine-Tuning
Fine-tuning
May 23, 2025Reinforcement Fine-Tuning for Conversational Reasoning with the OpenAI API
EvalsFine-tuning
May 21, 2025Guide to Using the Responses API's MCP Tool
Security
May 21, 2025Image Understanding with RAG
ImagesResponsesVision
May 16, 2025Better performance from reasoning models using the Responses API
FunctionsResponses
May 11, 2025Context Summarization with Realtime API
AudioSpeech
May 10, 2025Practical Guide for Model Selection for Real‑World Use Cases
FunctionsResponses
May 7, 2025Parallel Agents with the OpenAI Agents SDK
Agents SDK
May 1, 2025Comparing Speech-to-Text Methods with the OpenAI API
Agents SDKAudioSpeech
Apr 29, 2025GPT-4.1 Prompting Guide
Responses
Apr 14, 2025Evaluating Agents with Langfuse
Agents SDKEvals
Mar 31, 2025Multi-Tool Orchestration with RAG approach using OpenAI's Responses API
FunctionsResponses
Mar 28, 2025Build Your Own Code Interpreter - Dynamic Tool Generation and Execution With o3-mini
CompletionsSecurity
Feb 3, 2025How to handle rate limits
CompletionsEmbeddings
Jan 22, 2025How to use the Usage API and Cost API to monitor your OpenAI usage
Jan 14, 2025Embedding Wikipedia articles for search
CompletionsEmbeddings
Nov 26, 2024Vision Fine-tuning on GPT-4o for Visual Question Answering
CompletionsFine-tuningVision
Nov 1, 2024Introduction to Structured Outputs
CompletionsFunctions
Aug 6, 2024Using logprobs
Completions
Dec 20, 2023What makes documentation good
Sep 1, 2023