#1111th of 171 in Learning and cookbooks
openai-cookbook
Runnable notebooks and guides for common tasks with the OpenAI API
Watch puts openai-cookbook on your watch list: its new releases and known problems since your last visit. Kept in this browser, no account.openai-cookbook is on your watch list. Its new releases and problems show there.
- Stars
- 77.6k
- License
- MIT
- Last commit
- Nov 2026
- Language
- Jupyter Notebook
71,521 on 24 Mar 202677,560 on 24 Nov 2026
From GitHub's daily star counts.
Checked on GitHub.
- Techniques to improve reliability (opens in a new tab) (302 points, Jan 2023)
- OpenAI Cookbook (opens in a new tab) (51 points, Jan 2023)
OpenAI is hiring: 877 open roles
Overview
A collection of example code and guides, mostly Python Jupyter notebooks, showing how to accomplish common tasks with the OpenAI API. It is published as a browsable site at cookbook.openai.com. Running the examples requires an OpenAI account and an OPENAI_API_KEY environment variable.
Who it is for: Developers learning to build with the OpenAI API
Strengths
- Maintained by OpenAI, so examples track the official API
- Examples are runnable notebooks, mostly Python, with a searchable website
- MIT license permits reuse of the code
Weaknesses
- Requires a paid-capable OpenAI account and API key to run examples
- Tied to OpenAI's API; local models are not the focus
- No installable package or app, only notebooks and guides
What it needs
- no GPU
- Needs OpenAI API key
- Models: OpenAI API models
Also in Learning and cookbooks
See all 171| Rank | Project | Score |
|---|---|---|
| #9 | machine-learning-for-tradingCode for the book on ML trading strategies, with nine case studies | 79 out of 100 |
| #10 | ai-infra-bookA quantitative book on AI infrastructure design, with calculation tools | 79 out of 100 |
| #12 | llms-from-scratchBook code for building, pretraining and finetuning a GPT-style LLM in PyTorch | 77 out of 100 |
| #13 | awesome-ai-appsCollection of 141 runnable LLM agent and RAG example apps | 77 out of 100 |
| #14 | ml-for-beginners12-week, 26-lesson classic machine learning course using Scikit-learn | 76 out of 100 |