#66th of 8 in Learning and cookbooks
openai-cookbook
Example notebooks and guides for building with the OpenAI API
Documentation ↗
(opens in a new tab)Website ↗
(opens in a new tab)Repository on GitHub ↗
(opens in a new tab)
- Stars
- 76.6k
- License
- MIT
- Last commit
- Oct 2026
- Language
- Jupyter Notebook
Checked on GitHub.
OpenAI is hiring: 808 open roles
Overview
Collection of runnable Jupyter notebooks and guides showing common tasks with the OpenAI API. Most examples are in Python, and the README says the concepts apply to other languages. Running them requires an OpenAI account and an API key set as OPENAI_API_KEY. The guides are also browsable at cookbook.openai.com.
Who it is for: Developers learning to build with the OpenAI API
Strengths
- Maintained by OpenAI, so examples track the official API
- Runnable notebooks; API key is read from OPENAI_API_KEY or a .env file
- Also browsable as a site at cookbook.openai.com
- MIT license
Weaknesses
- Requires an OpenAI account and API key; examples do not target local models
- Most examples are Python only
- README does not list topics, versions or per-notebook dependencies
- No tagged releases
What it needs
- no GPU
- Needs OpenAI API key, Jupyter
- Models: OpenAI API models
Also in Learning and cookbooks
See all 8| Rank | Project | Score |
|---|---|---|
| 1 | generative-ai-for-beginners21-lesson course on building generative AI apps in Python and TypeScript | 80 out of 100 |
| 2 | ai-engineering-from-scratchHands-on curriculum for building AI systems from math to agents | 75 out of 100 |
| 3 | llms-from-scratchCode for the book on building a GPT-style LLM in PyTorch | 74 out of 100 |
| #4 | hello-agentsChinese-language course on building LLM agents from scratch | 72 out of 100 |
| #5 | ai-agents-for-beginners18-lesson course on building AI agents with Microsoft Agent Framework | 70 out of 100 |