Home Projects openai-cookbook
openai-cookbook
Jupyter Notebook

openai-cookbook

Examples and guides for using the OpenAI API

by openai · GitHub
Top 1% most starred in the catalogue
Stars
Forks
License
Created
Last commit
Category
chatgptgpt-4openaiMITJupyter Notebook
View on GitHub
In plain words

A collection of working code recipes for LLM tasks — embeddings, RAG, function calling, evaluation. Written for the OpenAI API, but the patterns apply to any OpenAI-compatible endpoint, including your local models.

From the README

Excerpts from the project README on GitHub. Copyright and licensing remain with the respective authors.

You maintain this project?

Claim its page: indexed whatever its rank, translated into six languages, and enriched with what you write yourself.

Claim this page →
openai-cookbook — GitHub preview card
📈 Star history
75k74k
2026-06-272026-08-31
📈 Track openai-cookbook

Get an email alert on its next release or when it starts trending — never miss the moment.

Free · no card · unsubscribe anytime
Get email alerts →
📄 About

Examples and guides for using the OpenAI API

openai-cookbook has 74.7k stars on GitHub. It has been forked 12.7k times. openai-cookbook is written mainly in Jupyter Notebook. It has been in active development since 2022. openai-cookbook is available under the MIT license. Its main topics are chatgpt, gpt-4, openai, openai-api.

Read the full guide
Frequently asked questions

What is openai-cookbook?

Examples and guides for using the OpenAI API

Is openai-cookbook open source?

openai-cookbook is an open-source project. It is released under the MIT license.

Is openai-cookbook free?

Yes. openai-cookbook is free and open source — you can use, modify and self-host it.

What license does openai-cookbook use?

openai-cookbook is available under the MIT license.

What language is openai-cookbook written in?

openai-cookbook is written mainly in Jupyter Notebook.

🏅 Maintainer of this project?
olud.ai badge — openai-cookbook

Add this live badge to your README — your GitHub stars and directory rank, refreshed daily.

[![olud.ai](https://olud.ai/badge.php?tool=openai-openai-cookbook)](https://olud.ai/project/openai-openai-cookbook.html)
More badge options →
🧬 Shares DNA with🧬 View the DNA map →

Measured from GitHub topics shared by both projects, weighted by how rare each topic is.