openai

    openai/openai-cookbook

    #216 this week

    Examples and guides for using the OpenAI API

    ai
    chatgpt
    gpt-4
    openai
    openai-api
    Jupyter Notebook
    MIT
    73.2K stars
    12.4K forks
    73.2K watching
    Updated 5/4/2026
    View on GitHub

    Genblaze — open-source SDK for generative multimedia pipelines

    Orchestrate AI video, audio & image providers in Python with provenance built into every output.

    BackblazeLearn more

    Loading star history...

    Health Score

    40

    Activity
    100
    Community
    50
    Maintenance
    0
    Last release999d ago

    Weekly Growth

    +0

    +0.0% this week

    Contributors

    354

    Total contributors

    Open Issues

    143

    Use Cases & Benefits

    About openai-cookbook

    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=<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

    Discover Repositories

    Search across tracked repositories by name or description