openai/openai-cookbook

▲ 31 stars today★ 76,194⑂ 12,894

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,194 stars and 12,894 forks with 301 open issues, and was last pushed on 2026-09-23 (repository created 2022-03-11).

Project Overview

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

GitHub Repository Details

Repository openai/openai-cookbook · default branch main · size 974056 KB · watchers 1,019 · 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,194Stars
12,894Forks
301Open issues
Jupyter NotebookLanguage

GitHub Popularity

GitHub stars76,194
Forks12,894
Open issues301
Primary languageJupyter Notebook
LicenseMIT
Stars gained today31
Created2022-03-11
Last pushed2026-09-23

Trending History

Daily boardrank #93 · ▲ 31 stars

Related GitHub Projects

1

microsoft / ML-For-Beginners

Jupyter Notebook★ 90,981⑂ 22,438▲ 71 stars
→
2

anthropics / claude-cookbooks

Jupyter Notebook★ 52,989⑂ 6,366▲ 32 stars
→
3

microsoft / mcp-for-beginners

Jupyter Notebook★ 17,308⑂ 5,620▲ 29 stars
→
4

public-apis / public-apis

Python★ 483,200⑂ 53,377▲ 404 stars
→
5

openclaw / openclaw

TypeScript★ 390,503⑂ 82,156▲ 158 stars
→
6

obra / superpowers

Shell★ 291,593⑂ 26,101▲ 465 stars
→
7

mattpocock / skills

Shell★ 269,639⑂ 22,723▲ 588 stars
→
8

anomalyco / opencode

TypeScript★ 210,042⑂ 27,765▲ 198 stars
→

More Trending Repositories