Scroll AI Now

Open source repo

openai-cookbook

Examples and guides for using the OpenAI API

By openai · MIT · Jupyter Notebook · ★ 77,567

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

  1. Open the repo and read the README from the top, then the license file.
  2. It is mostly notebooks, so you can open them in Jupyter or Google Colab and run them cell by cell.
  3. Its project site, cookbook.openai.com, has documentation and sometimes a hosted version you can try before you install anything.
  4. Pin a release or a commit, so an update does not change how it behaves without you noticing.

Why it is on our list

The facts

LicenseMIT
What the license allowsYou can use, change and ship it, including in paid products. Keep the copyright notice.
Main languageJupyter Notebook
Stars77,567
Topicschatgpt, gpt‑4, openai, openai‑api
CreatedMarch 11, 2022
Last checkedDecember 1, 2026

Before you use it

Are you the author?

This repo has its own page on Scroll AI Now.
Show it in your README with the badge below.
It links readers back to this page. How the badge works

Featured on Scroll AI Now

Markdown
[![Featured on Scroll AI Now](https://scrollainow.com/badge/featured.svg)](https://scrollainow.com/repos/openai-openai-cookbook/)
HTML
<a href="https://scrollainow.com/repos/openai-openai-cookbook/"><img src="https://scrollainow.com/badge/featured.svg" alt="Featured on Scroll AI Now" height="28"></a>

Related repos

All curated AI repos · Agent skills

Try it in your browser

Today's AI news, one card per swipe.
Free to start.

Open the web app