OpenAI
A RocketRide LLM node that connects OpenAI GPT models to a pipeline.
What it does
Provides an OpenAI-backed chat LLM for agents and other nodes that need a language model. It can also be wired directly through the questions and answers lanes. The node uses langchain-openai (ChatOpenAI) and the openai SDK, routing reasoning-capable models through the Responses API while other models use Chat Completions.
Lanes
| Lane in | Lane out | Description |
|---|---|---|
questions | answers | Send a question directly, receive a generated answer |
Profiles
Default: GPT-5.2 (openai-5-2).
| Profile | Model | Context | Output |
|---|---|---|---|
openai-5-2 (default) | gpt-5.2 | 400,000 | 128,000 |
gpt-5-6-sol | gpt-5.6-sol | 1,050,000 | 128,000 |
gpt-5-6-terra | gpt-5.6-terra | 1,050,000 | 128,000 |
gpt-5-6-luna | gpt-5.6-luna | 1,050,000 | 128,000 |
gpt-5-5 | gpt-5.5 | 1,050,000 | 128,000 |
View 80 more models
| Profile | Model | Context | Output |
|---|---|---|---|
custom | (user-specified) | 16,384 | editable |
openai-5-4 | gpt-5.4 | 1,050,000 | 128,000 |
openai-5-4-pro | gpt-5.4-pro | 1,050,000 | 128,000 |
openai-5-4-mini | gpt-5.4-mini | 400,000 | 128,000 |
openai-5-4-nano | gpt-5.4-nano | 400,000 | 128,000 |
openai-4o | gpt-4o | 128,000 | 16,384 |
openai-4o-mini | gpt-4o-mini | 128,000 | 16,384 |
openai-5 | gpt-5 | 400,000 | 128,000 |
openai-5-1 | gpt-5.1 | 400,000 | 128,000 |
openai-5-mini | gpt-5-mini | 400,000 | 128,000 |
openai-5-nano | gpt-5-nano | 400,000 | 128,000 |
gpt-3-5-turbo | gpt-3.5-turbo | 16,385 | 4,096 |
gpt-3-5-turbo-16k | gpt-3.5-turbo-16k | 16,385 | 4,096 |
gpt-4 | gpt-4 | 8,191 | 4,096 |
gpt-4-1 | gpt-4.1 | 1,047,576 | 32,768 |
gpt-4-1-mini | gpt-4.1-mini | 1,047,576 | 32,768 |
gpt-4-1-nano | gpt-4.1-nano | 1,047,576 | 32,768 |
gpt-4-turbo | gpt-4-turbo | 128,000 | 4,096 |
gpt-5-1-chat-latest | gpt-5.1-chat-latest | 128,000 | 16,384 |
gpt-5-2-chat-latest | gpt-5.2-chat-latest | 128,000 | 16,384 |
gpt-5-3-chat-latest | gpt-5.3-chat-latest | 128,000 | 16,384 |
gpt-5-chat-latest | gpt-5-chat-latest | 128,000 | 16,384 |
o1 | o1 | 200,000 | 100,000 |
o3 | o3 | 200,000 | 100,000 |
o3-mini | o3-mini | 200,000 | 100,000 |
o4-mini | o4-mini | 200,000 | 100,000 |
gpt-4-turbo-preview | gpt-4-turbo-preview | 128,000 | 4,096 |
gpt-5-1-chat | gpt-5.1-chat | 128,000 | 16,384 |
gpt-5-3-chat (deprecated) | gpt-5.3-chat | 128,000 | 16,384 |
gpt-5-6-luna-pro | gpt-5.6-luna-pro | 1,050,000 | 128,000 |
gpt-5-6-sol-pro | gpt-5.6-sol-pro | 1,050,000 | 128,000 |
gpt-5-6-terra-pro | gpt-5.6-terra-pro | 1,050,000 | 128,000 |
gpt-5-chat | gpt-5-chat | 128,000 | 16,384 |
gpt-chat-latest | gpt-chat-latest | 400,000 | 128,000 |
gpt-latest | gpt-latest | 1,050,000 | 128,000 |
gpt-mini-latest | gpt-mini-latest | 400,000 | 128,000 |
gpt-oss-120b | gpt-oss-120b | 131,072 | 117,964 |
gpt-oss-120b-free (deprecated) | gpt-oss-120b:free | 131,072 | 131,072 |
gpt-oss-20b | gpt-oss-20b | 131,072 | 117,964 |
gpt-oss-20b-free | gpt-oss-20b:free | 131,072 | 32,768 |
gpt-oss-safeguard-20b | gpt-oss-safeguard-20b | 131,072 | 65,536 |
o3-mini-high | o3-mini-high | 200,000 | 100,000 |
o3-pro | o3-pro | 200,000 | 100,000 |
o4-mini-high | o4-mini-high | 200,000 | 100,000 |
gpt-3-5-turbo-batch | gpt-3.5-turbo:batch | 16,385 | 4,096 |
gpt-4-1-batch | gpt-4.1:batch | 1,047,576 | 32,768 |
gpt-4-1-mini-batch | gpt-4.1-mini:batch | 1,047,576 | 32,768 |
gpt-4-1-nano-batch | gpt-4.1-nano:batch | 1,047,576 | 32,768 |
gpt-4-turbo-batch | gpt-4-turbo:batch | 128,000 | 4,096 |
gpt-4o-batch | gpt-4o:batch | 128,000 | 16,384 |
gpt-4o-mini-batch | gpt-4o-mini:batch | 128,000 | 16,384 |
gpt-5-1-batch | gpt-5.1:batch | 400,000 | 128,000 |
gpt-5-2-batch | gpt-5.2:batch | 400,000 | 128,000 |
gpt-5-2-chat | gpt-5.2-chat | 128,000 | 32,000 |
gpt-5-2-pro-batch | gpt-5.2-pro:batch | 400,000 | 128,000 |
gpt-5-4-batch | gpt-5.4:batch | 1,050,000 | 128,000 |
gpt-5-4-mini-batch | gpt-5.4-mini:batch | 400,000 | 128,000 |
gpt-5-4-nano-batch | gpt-5.4-nano:batch | 400,000 | 128,000 |
gpt-5-4-pro-batch | gpt-5.4-pro:batch | 1,050,000 | 128,000 |
gpt-5-5-batch | gpt-5.5:batch | 1,050,000 | 128,000 |
gpt-5-5-pro-batch | gpt-5.5-pro:batch | 1,050,000 | 128,000 |
gpt-5-6-luna-batch | gpt-5.6-luna:batch | 1,050,000 | 128,000 |
gpt-5-6-luna-pro-batch | gpt-5.6-luna-pro:batch | 1,050,000 | 128,000 |
gpt-5-6-sol-batch | gpt-5.6-sol:batch | 1,050,000 | 128,000 |
gpt-5-6-sol-pro-batch | gpt-5.6-sol-pro:batch | 1,050,000 | 128,000 |
gpt-5-6-terra-batch | gpt-5.6-terra:batch | 1,050,000 | 128,000 |
gpt-5-6-terra-pro-batch | gpt-5.6-terra-pro:batch | 1,050,000 | 128,000 |
gpt-5-batch | gpt-5:batch | 400,000 | 128,000 |
gpt-5-mini-batch | gpt-5-mini:batch | 400,000 | 128,000 |
gpt-5-nano-batch | gpt-5-nano:batch | 400,000 | 128,000 |
gpt-5-pro-batch | gpt-5-pro:batch | 400,000 | 128,000 |
gpt-6-astra | gpt-6-astra | 1,050,000 | 128,000 |
gpt-6-astra-batch | gpt-6-astra:batch | 1,050,000 | 128,000 |
gpt-6-astra-pro | gpt-6-astra-pro | 1,050,000 | 128,000 |
gpt-6-astra-pro-batch | gpt-6-astra-pro:batch | 1,050,000 | 128,000 |
gpt-oss-120b-batch | gpt-oss-120b:batch | 131,072 | 117,964 |
gpt-oss-20b-batch | gpt-oss-20b:batch | 131,072 | 117,964 |
o3-batch | o3:batch | 200,000 | 100,000 |
o3-mini-batch | o3-mini:batch | 200,000 | 100,000 |
o4-mini-batch | o4-mini:batch | 200,000 | 100,000 |
Configuration
Choose a profile to pin the OpenAI model and token limits; most users only need to select a profile and provide an API key. Preconfigured profiles keep model details fixed, while custom exposes the model name and context limit for models not listed here.
Custom models
For custom, enter an OpenAI model ID and a positive context limit. The initial context value is 16,384 tokens; set it to the actual model limit so the pipeline can reject oversized prompts before sending them.
Authentication
Set apikey to an OpenAI API key for every profile (including custom). The key is
verified with a live one-word test call during pipeline validation, so a bad key or model
name is reported before the pipeline runs rather than at first invoke.
Notes
Reasoning streaming
For models whose configuration carries capabilities.reasoning, the node builds a raw
openai client alongside the LangChain one and streams answers via the Responses API
with reasoning: {summary: 'auto'}. Reasoning-summary deltas are forwarded over the
thinking SSE lane while the answer streams normally. Non-reasoning models use plain
LangChain streaming with the profile's output limit. temperature is configurable on
every profile (range 0-2, default 0, which is generally more deterministic than
higher values, though OpenAI does not guarantee identical output for identical input);
reasoning models ignore it, because OpenAI's Responses API controls sampling separately.
Validation and errors
Pipeline validation makes a small live call to verify the API key and model name. Models whose names begin with gpt-5 are probed with max_completion_tokens; older models use max_tokens. Rate-limit and connection errors are retryable, while authentication and other API errors fail immediately with a provider-specific message.
Testing
Automated node tests are declared in services.json:
- Mock group: runs the
openai-5-2,openai-5-4,openai-5-4-pro,openai-5-4-mini, andopenai-5-4-nanoprofiles against a mockedlangchain_openai; no real API key needed.ROCKETRIDE_MOCKmust point tonodes/test/mocks. - Real group: skipped unless
ROCKETRIDE_OPENAI_KEYis set; calls the live API with theopenai-4o-miniprofile.
Schema
| Field | Type | Description | Default |
|---|---|---|---|
model | string | Model OpenAI model | |
modelTotalTokens | number | Tokens Total Tokens | |
openai.profile | string | Model LLM model | "openai-5-2" |
temperature | number | Temperature Sampling temperature for non-reasoning models: 0 is generally more deterministic, higher values increase variety. Ignored for reasoning models (o1, o3, GPT-5 reasoning variants, ...), which OpenAI's Responses API controls separately. | 0 |
Dependencies
openailangchain-openailangchain-corelangchain