openai/openai-cookbook
openai/openai-cookbook has 76,981 GitHub stars and 13,044 forks. GitHot measured +15 stars in 24 hours. Last checked 2026-11-06 18:43 UTC. Last push 2026-11-02.
Examples and guides for using the OpenAI API
Measured star growth
- in 24h
- +15
- in 7 days
- Update delayed
- in 15 days
- Update delayed
- in 1 month
- Update delayed
Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.
README.md
Original
✨ 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=<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.
License
MIT License
Explore related projects
codecrafters-io/build-your-own-x
Master programming by recreating your favorite technologies from scratch.
560,644 starspublic-apis/public-apis
A collective list of free APIs
496,893 starsmorluto/rea
Reverse engineer anything with agents, from app behavior down to native binaries.
439,727 starsopenclaw/openclaw
The AI that really does things. Any OS. Any Platform. The lobster way. 🦞
394,110 stars