openai
OpenAI Node SDK by OpenAI
The official TypeScript library for the OpenAI API
npm install openai@7.43.0OpenAI Node SDK (openai) is currently at v7.43.0 on NPM (published 2026-10-22), with a 90-day stability score of 78/100 (B) and MEDIUM schema drift risk across 43 releases in the past 90 days. Responses API and realtime event payloads updated; Chat Completions tool_choice strict schema enforcement tightened in v7.x. Production teams should pin npm install openai@7.43.0 rather than using unpinned @latest tags.
Breaking Changes & Tool Schema Drift Analysis
Responses API and realtime event payloads updated; Chat Completions tool_choice strict schema enforcement tightened in v7.x.
client.responses.createclient.chat.completions.createRealtimeClientconst res = await client.chat.completions.create({
model: "gpt-4o",
functions: [{ name: "lookup", parameters: schema }],
function_call: "auto"
});const res = await client.responses.create({
model: "gpt-5",
tools: [{ type: "function", name: "lookup", parameters: schema, strict: true }],
tool_choice: "auto"
});Frequently Asked Questions: openai
What is the latest version of openai on NPM?
As of 2026-10-24, the latest stable version of openai (OpenAI Node SDK by OpenAI) on NPM is v7.43.0, published on 2026-10-22. It has shipped 43 releases in the last 90 days.
Does openai v7.43.0 have breaking changes or MCP schema drift risk?
openai currently carries a MEDIUM schema drift risk rating with a Stability Score of 78/100 (Grade B). Responses API and realtime event payloads updated; Chat Completions tool_choice strict schema enforcement tightened in v7.x.
How do I safely pin openai in production?
Avoid unpinned @latest tags in production agent configs. Pin the exact verified version using `npm install openai@7.43.0` and monitor client.responses.create, client.chat.completions.create, RealtimeClient for parameter or schema changes.
Get Instant Breaking-Change Alerts for openai
We poll NPM and openai/openai-node every 30 minutes. Get an email with the exact diff when openai ships a breaking release beyond v7.43.0.
Recent NPM Releases
Verified release timestamps from live registry metadata.
Related in Agent SDKs
View Hub ->Anthropic TypeScript SDK • Stability C+ (70)
Model Context Protocol TypeScript SDK • Stability B (78)
Vercel AI SDK Core • Stability C+ (70)
Vercel AI SDK OpenAI Provider • Stability B (78)
Vercel AI SDK Anthropic Provider • Stability B (78)
LangChain Core JS • Stability B+ (82)