Get inspired and build

Monitor usage with the Cost API
Cookbook showing how to track API usage and costs.

Distillation for model fine-tuning
Cookbook on using model distillation techniques for fine-tuning.

Eval-driven dev — prototype to launch
Cookbook demonstrating eval-driven development workflows.

Evals API — tools evaluation
Cookbook example demonstrating tool evaluation with the Evals API.

Fine-tuning cookbook
Cookbook on direct preference optimization for fine-tuning.

GPT-5 prompting guide
Cookbook guide on how to maximize GPT-5's performance.

Graders for Reinforcement Fine-Tuning
Cookbook on how to use graders for RFT tasks. showing different approaches to evaluating models with the OpenAI API.

Developing hallucination guardrails
Cookbook for creating guardrails that reduce model hallucinations.

ImageGen cookbook
Cookbook examples for generating images with GPT-Image.

ImageGen with high fidelity cookbook
Cookbook examples for generating images with high fidelity using GPT-Image.

MCP tool cookbook
Cookbook covering MCP tool usage examples.

Portfolio collab with Agents SDK
Cookbook example of agents collaborating to manage a portfolio.

Multi-tool orchestration cookbook
Cookbook showing how to orchestrate multiple tools with Responses API.

o3/o4-mini function calling cookbook
Cookbook for function calling with o3/o4-mini models.

Agent orchestration & handoffs
Cookbook on coordinating multiple agents via routines and handoffs.

Prompt caching 101
Introductory cookbook on implementing prompt caching to reduce token usage.

RAG with PDFs cookbook
Cookbook for retrieval-augmented generation using PDFs.

Realtime translation cookbook
Cookbook for realtime translation using voice API.

Reinforcement fine-tuning — reasoning
Cookbook demonstrating reinforcement fine-tuning to enhance conversational models.

Speech-to-text cookbook
Comparing speech to text methods with the OpenAI API.

Transcription cookbook
Example recipes for transcribing audio using OpenAI APIs.