openai/openai-cookbook

▲ 63 stars today★ 76,461⑂ 12,928

Examples and guides for using the OpenAI API

About openai/openai-cookbook

openai/openai-cookbook is an open-source project on GitHub, mainly written in Jupyter Notebook. Examples and guides for using the OpenAI API It currently holds 76,461 stars and 12,928 forks with 318 open issues, and was last pushed on 2026-10-08 (repository created 2022-03-11).

Project Overview

Git Homed tracks it on the Today's Trending board, currently at rank #58 with 63 new stars today.

GitHub Repository Details

Repository openai/openai-cookbook · default branch main · size 977502 KB · watchers 1,014 · source: GitHub REST API and repository README

README

https://github.com/openai/openai-cookbook/blob/HEAD/OpenAI Cookbook Logo

✨ Navigate at cookbook.openai.com

Example code and guides for accomplishing common tasks with the OpenAI API. To run these examples, you'll need an OpenAI account and associated API key (create a free account here). Set an environment variable called OPENAI_API_KEY with your API key. Alternatively, in most IDEs such as Visual Studio Code, you can create an .env file at the root of your repo containing OPENAI_API_KEY=, which will be picked up by the notebooks.

Most code examples are written in Python, though the concepts can be applied in any language.

For other useful tools, guides and courses, check out these related resources from around the web.

License

MIT License

GitHub Stars & Activity

76,461Stars
12,928Forks
318Open issues
Jupyter NotebookLanguage

GitHub Popularity

GitHub stars76,461
Forks12,928
Open issues318
Primary languageJupyter Notebook
LicenseMIT
Stars gained today63
Created2022-03-11
Last pushed2026-10-08

Trending History

Daily boardrank #58 · ▲ 63 stars

Related GitHub Projects

1

jackfrued / Python-100-Days

Jupyter Notebook★ 186,973⑂ 55,747▲ 43 stars
→
2

microsoft / generative-ai-for-beginners

Jupyter Notebook★ 121,052⑂ 63,827▲ 61 stars
→
3

microsoft / ML-For-Beginners

Jupyter Notebook★ 91,362⑂ 22,583▲ 41 stars
→
4

Lordog / dive-into-llms

Jupyter Notebook★ 56,026⑂ 6,696▲ 135 stars
→
5

datawhalechina / happy-llm

Jupyter Notebook★ 34,255⑂ 3,227▲ 30 stars
→
6

xiaolai / the-craft-of-selfteaching

Jupyter Notebook★ 17,623⑂ 17,745▲ 157 stars
→
7

OpenBMB / MiniCPM

Jupyter Notebook★ 11,487⑂ 789▲ 55 stars
→
8

FinanceFlash / unvibecode

Jupyter Notebook★ 225⑂ 70▲ 36 stars
→

More Trending Repositories