openai/openai-cookbook

▲ 278 stars today★ 77,456⑂ 13,080

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 77,456 stars and 13,080 forks with 369 open issues, and was last pushed on 2026-11-24 (repository created 2022-03-11).

Project Overview

Git Homed tracks it on the Today's Trending board.

GitHub Repository Details

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

README

https://github.com/openai/openai-cookbook/blob/HEAD/OpenAI Cookbook Logo 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

77,456Stars
13,080Forks
369Open issues
Jupyter NotebookLanguage

GitHub Popularity

GitHub stars77,456
Forks13,080
Open issues369
Primary languageJupyter Notebook
LicenseMIT
Stars gained today278
Created2022-03-11
Last pushed2026-11-24

Trending History

Weekly boardrank #95 · ▲ 278 stars

Related GitHub Projects

1

jackfrued / Python-100-Days

Jupyter Notebook★ 188,017⑂ 55,674▲ 29 stars
→
2

Lordog / dive-into-llms

Jupyter Notebook★ 61,267⑂ 7,386▲ 97 stars
→
3

anthropics / claude-cookbooks

Jupyter Notebook★ 55,195⑂ 6,719▲ 42 stars
→
4

lyogavin / airllm

Jupyter Notebook★ 43,388⑂ 4,490▲ 206 stars
→
5

patchy631 / ai-engineering-hub

Jupyter Notebook★ 42,124⑂ 6,728▲ 27 stars
→
6

mattpocock / skills

Shell★ 332,548⑂ 27,957▲ 849 stars
→
7

obra / superpowers

Shell★ 326,194⑂ 28,949▲ 1,003 stars
→
8

affaan-m / ECC

JavaScript★ 310,435⑂ 45,622▲ 675 stars
→

More Trending Repositories