Marketplace · guide · Builder & Setup
OpenAI Cookbook
OpenAI Cookbook is a free guide for builder & setup. Examples and guides aimed at the OpenAI API.
Credit: OpenAI
GitHub: openai/openai-cookbook · 76,693 stars as of Oct 19, 2026
Copyright: Copyright (c) 2025 OpenAI
License: MIT · License file
Hosted copy
This file is the upstream README.md as of commit 4bb93ce (Oct 21, 2026). Images in the upstream file are left out of this copy. See them at the source. Credit stays with OpenAI. The license is MIT.
The download and the copy button add a short attribution block at the end: source, copyright, and license.
Download README.md License file
<a href="https://cookbook.openai.com" target="_blank">OpenAI Cookbook Logo</a> <h3></h3> > ✨ Navigate at [cookbook.openai.com](https://cookbook.openai.com) Example code and guides for accomplishing common tasks with the [OpenAI API](https://platform.openai.com/docs/introduction). To run these examples, you'll need an OpenAI account and associated API key ([create a free account here](https://platform.openai.com/signup)). 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=<your 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](https://cookbook.openai.com/related_resources). ## License MIT License
Know a good one? Submit it.
YourAIKit products are workflow tools. They are not legal, tax, or financial advice.