# openai/openai-quickstart-node

Node.js example app from the OpenAI API quickstart tutorial

Repository: https://github.com/openai/openai-quickstart-node
Canonical: https://ross.abutalabs.com/products/openai-quickstart-node
Homepage: https://platform.openai.com/docs/quickstart?context=node
Language: JavaScript
License: MIT
License Family: permissive
Topics: openai, openai-api
Last push: 2025-09-24T16:46:16+00:00

## Health v2 (maintenance only)
Score: 52/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 43, release rhythm 35, longevity 100
- inputs: {"age_days": 1686, "days_push": 343, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2644, forks 1949 (observed 2026-08-28T04:07:06.639557+00:00)

## What it is
A collection of Node.js example scripts demonstrating how to use the OpenAI APIs via the official Node.js SDK. It is the companion code for the OpenAI API quickstart tutorial, organized by API (Chat Completions, Assistants, Fine-tuning, Embeddings, Moderation, Batch Processing, Images).

## Use cases
- learn how to call the OpenAI API from Node.js
- example code for chat completions with function calling
- get started with OpenAI embeddings in JavaScript
- try OpenAI vision image input examples
- sample code for fine-tuning models via the API
- quickstart tutorial for the OpenAI Node.js SDK

## When to choose
- you are new to the OpenAI API and want runnable Node.js examples
- you want copy-paste starting points for chat, embeddings, assistants, or fine-tuning
- you are following OpenAI's official quickstart tutorial

## When to avoid
- you need a production-ready application rather than tutorial examples
- you use a language other than JavaScript/Node.js
- you want a framework or library to import into your project

## Facets
- artifact type: learning-resource
- maturity: active
- function: sdk, developer-tools
- domain: large-language-models, artificial-intelligence, developer-tools, tutorials
- platform: -
- tags: openai-api, example-code, quickstart, nodejs-sdk, chat-completions, embeddings, fine-tuning, sample-app, nodejs, javascript

## Member repositories
- openai/openai-quickstart-node (main) score 52

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:07:06.639557+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T02:19:00.860541+00:00, confidence not recorded.
  - readme: https://github.com/openai/openai-quickstart-node (fetched 2026-08-28T04:07:06.639557+00:00, sha 03800814c5de)
  - homepage: https://platform.openai.com/docs/quickstart?context=node (fetched 2026-08-29T10:02:14.425301+00:00, sha 8f592486a220)
  - site_page: https://developers.openai.com/api/docs (fetched 2026-08-29T10:02:14.435747+00:00, sha d617c5215f2a)
  - site_page: https://developers.openai.com/api/docs/models (fetched 2026-08-29T10:02:14.442799+00:00, sha 863d6abfa5b5)
  - site_page: https://developers.openai.com/api/docs/guides/agents (fetched 2026-08-29T10:02:14.444833+00:00, sha 41a4ac92d6db)
  - site_page: https://developers.openai.com/api/docs/guides/tools (fetched 2026-08-29T10:02:14.447028+00:00, sha 3dbb9651c6d5)
  - site_page: https://developers.openai.com/api/docs/guides/realtime (fetched 2026-08-29T10:02:14.449632+00:00, sha d0c30e183887)
  - site_page: https://developers.openai.com/api/docs/guides/production-best-practices (fetched 2026-08-29T10:02:14.451685+00:00, sha e0ae71fd86d1)
  - site_page: https://developers.openai.com/codex (fetched 2026-08-29T10:02:14.438476+00:00, sha 54ab8ad10fb3)
  - site_page: https://developers.openai.com/learn (fetched 2026-08-29T10:02:14.440749+00:00, sha caed4ecaebe4)
- Data as of 2026-08-30T08:39:29.467469+00:00.
