Skip to main content
Deno 2 is finally here 🎉️
Learn more

OpenAI Node API Library - Deno build

This is a build produced from https://github.com/openai/openai-node – please go there to read the source and docs, file issues, etc.

Usage:

import OpenAI from "https://deno.land/x/openai@v4.28.0/mod.ts";

const client = new OpenAI();

Note that in most Deno environments, you can also do this:

import OpenAI from "npm:openai";