Cookbook
Recipes to help you build with OpenAI models.
Featured
Popular
Web Search and States with Responses API
FunctionsResponses
MCP-Powered Agentic Voice Framework
Agents SDKFunctions
Doing RAG on PDFs using File Search in the Responses API
FunctionsResponses
Introduction to Structured Outputs
CompletionsFunctions
GPT-5 prompting guide
ReasoningResponses
Build an Agent Improvement Loop with Traces, Evals, and Codex
Agents SDKCodexEvals
All104
SchemaFlow: 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 SDK
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
ChatGPT
Apr 22, 2026GPT Image Generation Models Prompting Guide
ImagesVision
Apr 21, 2026Computer Use Agents in Daytona Sandboxes
Agents SDK
Apr 19, 2026Migrate a Legacy Codebase with Sandbox Agents
Agents SDKEvals
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
EvalsGuardrails
Feb 23, 2026Prompt Caching 201
LatencyResponses
Feb 18, 2026Skills in OpenAI API
Responses
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
gpt-ossOpen ModelsReasoning
Jan 13, 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 SDK
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
gpt-ossGuardrailsOpen Models
Oct 29, 2025Build Code Review with the Codex SDK
Codex
Oct 21, 2025Build, deploy, and optimize agentic workflows with AgentKit
Evals
Oct 17, 2025Building with Realtime Mini
Oct 11, 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, 2025GPT-5 Troubleshooting Guide
Sep 17, 2025Automating Code Quality and Security Fixes with Codex CLI on GitLab
Codex
Aug 29, 2025Fine-tune gpt-oss for better Korean language performance
gpt-ossOpen Models
Aug 26, 2025Using Evals API on Audio Inputs
AudioEvals
Aug 13, 2025Verifying gpt-oss implementations
gpt-ossOpen Models
Aug 11, 2025How to run gpt-oss locally with LM Studio
gpt-ossOpen Models
Aug 7, 2025GPT-5 Prompt Migration and Improvement Using the New Optimizer
ReasoningResponses
Aug 7, 2025GPT-5 prompting guide
ReasoningResponses
Aug 7, 2025Frontend coding with GPT-5
ReasoningResponses
Aug 7, 2025GPT-5 New Params and Tools
FunctionsReasoning
Aug 7, 2025Fine-tuning with gpt-oss and Hugging Face Transformers
gpt-ossOpen Models
Aug 5, 2025How to handle the raw chain of thought in gpt-oss
gpt-ossOpen Models
Aug 5, 2025How to run gpt-oss with Transformers
gpt-ossOpen Models
Aug 5, 2025How to run gpt-oss with vLLM
gpt-ossOpen Models
Aug 5, 2025How to run gpt-oss locally with Ollama
gpt-ossOpen Models
Aug 5, 2025OpenAI Harmony Response Format
gpt-ossOpenAI harmonyOpen 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 SDK
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 SDKFunctions
Jun 17, 2025Evals API Use-case - Structured Outputs Evaluation
EvalsResponses
Jun 9, 2025Eval Driven System Design - From Prototype to Production
CompletionsEvalsFunctionsResponses
Jun 2, 2025Practical guide to data-intensive apps with the Realtime API
AudioSpeech
May 29, 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
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
AudioSpeechTiktoken
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, 2025Generate images with GPT Image
Images
Apr 23, 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, 2025Multi-Language One-Way Translation with the Realtime API
AudioSpeech
Mar 24, 2025Web Search and States with Responses API
FunctionsResponses
Mar 11, 2025Doing RAG on PDFs using File Search in the Responses API
FunctionsResponses
Mar 11, 2025Build Your Own Code Interpreter - Dynamic Tool Generation and Execution With o3-mini
Completions
Feb 3, 2025How to handle rate limits
CompletionsEmbeddings
Jan 22, 2025How to use the Usage API and Cost API to monitor your OpenAI usage
Cost APIUsage API
Jan 14, 2025Reasoning over Code Quality and Security in GitHub Pull Requests
CompletionsReasoning
Dec 24, 2024Embedding Wikipedia articles for search
CompletionsEmbeddings
Nov 26, 2024Optimizing Retrieval-Augmented Generation using GPT-4o Vision Modality
CompletionsVision
Nov 12, 2024Vision Fine-tuning on GPT-4o for Visual Question Answering
CompletionsFine-tuningVision
Nov 1, 2024GPT Actions library - GitHub
ChatGPT
Oct 23, 2024Introduction to Structured Outputs
CompletionsFunctions
Aug 6, 2024Using logprobs
Completions
Dec 20, 2023OpenAI API Monitoring with Weights & Biases Weave
CompletionsTiktoken
Oct 4, 2023What makes documentation good
Sep 1, 2023Visualizing the embeddings in Kangas
Embeddings
Jul 11, 2023