OpenAI Cookbook
cookbook.openai.com · 226,640 words · saved by 5 readers
Open-source examples and guides for building with the OpenAI API.
Cookbook Search the cookbook Search docs Suggested responses create reasoning_effort realtime prompt caching Primary navigation Search docs Suggested responses create reasoning_effort realtime prompt caching Get started Overview Quickstart Models Pricing SDKs and CLI OpenAI SDK Agents SDK OpenAI CLI Latest: GPT-5.5 Prompt guidance Core concepts Text generation Code generation Images and vision Audio and speech Structured output Function calling Responses API Using tools Agents SDK Overview Quickstart Agent definitions Models and providers Running agents Sandbox agents Orchestration Guardrails
saved by
related reading
- The Shape of AI | UX Patterns for Artificial Intelligence Designshapeof.ai
- Prompt generation | OpenAI APIplatform.openai.com
- LangChain: the open agent platform to own your intelligencelangchain.com
- Prompting best practicesdocs.anthropic.com
- OpenAI | Research & Deploymentopenai.com
- GitHub - x1xhlol/system-prompts-and-models-of-ai-tools: FULL Augment Code, Claude Code, Cluely, CodeBuddy, Comet, Cursor, Devin AI, Junie, Kiro, Leap.new, Lovable, Manus, NotionAI, Orchids.app, Perplexity, Poke, Qoder, Replit, Same.dev, Trae, Traycer AI, VSCode Agent, Warp.dev, Windsurf, Xcode, Z.ai Code, Dia & v0. (And other Open Sourced) System Prompts, Internal Tools & AI Modelsgithub.com
- There's An AI For That® — The front page of AItheresanaiforthat.com
- Parsed | Custom, interpretable AI systems that continuously learnparsed.com
- Codex use casesdevelopers.openai.com
- Prompt guidance | OpenAI APIdevelopers.openai.com
- PromptLayer — Prompt Management, Evals & Observabilitypromptlayer.com
- eve – The Agent Framework - Vercelvercel.com