Skip to content
JS
Package

openai

The official TypeScript library for the OpenAI API

v7.23.0, 23 Sept 2026Apache-2.0ESM + CommonJSTypes: Bundled
$ npm install openai

Key numbers

As of 25 Sept 2026
Weekly downloads
27.8m
+344% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
0
Direct, from package.json
Last release
1 day ago
v7.23.0
GitHub stars
-
Open issues / PRs
- / -
Contributors
-
Commits, last 52 weeks
-

Downloads

Last week 2026-09-15 to 2026-09-21
010m20m30m40mSept 2025Mar 2026Sept 2026High 39.9m (25 Aug 2026)Low 5m (23 Dec 2025)
Weekly npm downloads, one point per week, weeks starting 23 Sept 2025 to 15 Sept 2026. The y axis starts at zero.

27,775,078 downloads last week, 135,032,554 in the last month. The 12-month change of +344% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
77377 in total
Latest version
7.23.0, 23 Sept 20261 day ago
First published
9 Jul 2020
Last push to GitHub
-
Repository archived
-
Open issues
-
Open pull requests
-
Commits, last 52 weeks
-
Dependents on npm
12,997

Major versions

  1. v7 first release 7.0.0, 27 Jul 2026
  2. v6 first release 6.0.0, 30 Sept 2025
  3. v5 first release 5.0.0, 29 May 2025
  4. v4 first release 4.0.0, 16 Aug 2023
  5. v3 first release 3.0.0, 7 Jun 2022
  6. v2 first release 2.0.0, 19 Jan 2022
  7. v1 first release 1.0.0, 13 Oct 2021
  8. v0 first release 0.0.0, 9 Jul 2020

Recent releases

VersionPublished
7.23.023 Sept 2026
7.22.022 Sept 2026
7.21.022 Sept 2026
7.20.019 Sept 2026
7.19.018 Sept 2026
7.18.018 Sept 2026
7.17.016 Sept 2026
7.16.016 Sept 2026
7.15.010 Sept 2026
7.14.010 Sept 2026
7.13.09 Sept 2026
7.12.19 Sept 2026
7.10.03 Sept 2026
7.9.02 Sept 2026
Module format
ESM + CommonJSFrom package.json type, main and exports fields
TypeScript types
Bundled
Node.js engine range
>=22.0.0
Runtimes
-
Unpacked size (npm)
19.0 MB
Dependencies (0)
None
Peer dependencies (6)
wszodundici@smithy/hash-node@smithy/signature-v4@aws-sdk/credential-provider-node
npm install openai

CDN

jsDelivr: 19.5m requests in 30 days
  • jsDelivrhttps://cdn.jsdelivr.net/npm/openai@7.23.0/
  • unpkghttps://unpkg.com/openai@7.23.0/
  • esm.shhttps://esm.sh/openai@7.23.0
Sources: npm registry, npm downloads API, jsDelivr. Data fetched 25 Sept 2026.

Indexability: Not indexed (discovery only): GitHub data not fetched yet; no category.