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.

Excerpts from the project README on GitHub. Copyright and licensing remain with the respective authors.
Claim its page: indexed whatever its rank, translated into six languages, and enriched with what you write yourself.
Get an email alert on its next release or when it starts trending — never miss the moment.
Free · no card · unsubscribe anytimeExamples 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 guideExamples and guides for using the OpenAI API
openai-cookbook is an open-source project. It is released under the MIT license.
Yes. openai-cookbook is free and open source — you can use, modify and self-host it.
openai-cookbook is available under the MIT license.
openai-cookbook is written mainly in Jupyter Notebook.
Add this live badge to your README — your GitHub stars and directory rank, refreshed daily.
[](https://olud.ai/project/openai-openai-cookbook.html)
Measured from GitHub topics shared by both projects, weighted by how rare each topic is.