Open source repo
openai-cookbook
Examples and guides for using the OpenAI API
View on GitHubProject siteMore repos in the app
What it is
openai‑cookbook is an open source tool for building with large language models, published on GitHub by openai and written mainly in Jupyter Notebook. Its maintainers file it under chatgpt, gpt‑4, openai, openai‑api.
In its own words on GitHub: “Examples and guides for using the OpenAI API.”
Who it is for
Developers and technical teams building products on top of large language models.
How to start
- Open the repo and read the README from the top, then the license file.
- It is mostly notebooks, so you can open them in Jupyter or Google Colab and run them cell by cell.
- Its project site, cookbook.openai.com, has documentation and sometimes a hosted version you can try before you install anything.
- Pin a release or a commit, so an update does not change how it behaves without you noticing.
Why it is on our list
- It has a permissive MIT license, so you can use it at work.
- It is actively maintained: the last change was 7 days ago, as of December 1, 2026.
- It has its own site with documentation.
- It is widely used, with 77,567 stars on GitHub.
The facts
| License | MIT |
| What the license allows | You can use, change and ship it, including in paid products. Keep the copyright notice. |
| Main language | Jupyter Notebook |
| Stars | 77,567 |
| Topics | chatgpt, gpt‑4, openai, openai‑api |
| Created | March 11, 2022 |
| Last checked | December 1, 2026 |
Before you use it
- Read the README and the license file in the repo.
- Look at recent issues to see how fast problems get fixed.
- Pin a version instead of always pulling the latest.
- Never paste API keys or customer data into a tool you have not checked.
- Run AI agents in a sandbox or a test project first.
Related repos
magpie
Pool every plan you pay for, Claude, ChatGPT, Copilot, GLM Coding Plan, Kimi Code and more, and use them in any agent: Claude Code, Codex, Claude Desktop… When one...
repomix
Repomix is a powerful tool that packs your entire repository into a single, AI‑friendly file.
kilocode
Kilo is the all‑in‑one agentic engineering platform. Build, ship, and iterate faster with the most popular open source coding agent.
Try it in your browser
Today's AI news, one card per swipe.
Free to start.