arkennemasis Replicate LLM (OpenAI GPT-5)
GPT-5 family in the graph, text and vision, paid per call
- image_1
- image_2
- image_3
- image_4
- text
An LLM node in a ComfyUI graph is a tool, not a component of the model - it writes your structured prompts, drafts story plans, captions images, and feeds text to the rest of the workflow. This node is the arkennemasis pack's hosted option: an OpenAI GPT-5 family model served on Replicate, with text and vision (up to four image inputs). It's pay-as-you-go per call, so the honest framing is exactly the one the KB gives for this whole category: reach for it when you want genuine large-chat quality and you don't need local or uncensored - anything the API filters, this node can't help with.
What you get
Two required inputs: model and prompt. The model dropdown is the full GPT-5 family - openai/gpt-5, -mini, -nano, -pro, -structured, plus 5.1, 5.2, 5.4 and the 5.6-luna/terra/sol variants. The single output is text (STRING).
The optional inputs carry the interesting parts:
system_prompt- type it here, or wire in the pack's System Instructions node.image_1throughimage_4- vision inputs, each accepting a batch. This is what makes the node a VLM: wire a reference image in and the model reads it.reasoning_effort(default/minimal/low/medium/high) andverbosity(default/low/medium/high) - both left ondefaultare not sent, so the model's own defaults apply. That sentinel pattern runs through the pack.max_completion_tokens- 0 = model default.api_token- Replicate key; blank falls back toREPLICATE_API_TOKENenv var or a.envfile (pack folder or ComfyUI root).timeout_seconds- 0 = wait indefinitely.force_rerun- re-call the API even if inputs are unchanged.run_mode-one at a time(default) serialises every arkennemasis API node in the graph via an asyncio lock;all at onceruns them concurrently up tomax_concurrent(default 2, 0 = uncapped). The default exists because ComfyUI runs async nodes concurrently, and Replicate drops to a burst of 1 under $5 credit - parallel calls then reliably 429.
Behind the scenes it polls the prediction off the UI thread, so ComfyUI stays responsive and Cancel works, and it retries the failure modes that deserve retrying - 429s with backoff, 5xx, dropped connections - while never retrying a moderation refusal or an auth failure.
The workflow shape
The pack's canonical flow: System Instructions → this node (system_prompt) with your text and any reference images → its text output feeds the Image Gen node's prompt. It's also the natural story-agent node for the video pipeline - the Story Brief node's output wires straight into prompt.
Install
ReplicateOpenAILLM is one of the 61 nodes in the comfyui-arkennemasis pack, in arkennemasis/LLM:
cd ComfyUI/custom_nodes
git clone https://github.com/Hishamahmer/comfyui-arkennemasis
pip install -r comfyui-arkennemasis/requirements.txt # then restart ComfyUI
Then get a token at https://replicate.com/account/api-tokens and either paste it into the node, set REPLICATE_API_TOKEN, or add it to a .env in ComfyUI's root (kept outside the repo so re-cloning never touches it). Or use ComfyUI Manager → Install via Git URL with the repo URL.
The one thing to remember: every call bills your Replicate account. If you already pay for ChatGPT, the pack's Codex LLM path is the same idea without per-call billing - worth checking before you spend.
Inputs (15)
| Name | Type | Default | Description |
|---|---|---|---|
| model | COMBO | 11 options: openai/gpt-5, openai/gpt-5-mini, openai/gpt-5-nano, openai/gpt-5-pro, openai/gpt-5-structured, openai/gpt-5.1, +5 | |
| prompt | STRING | — | |
| system_promptopt | STRING | System instructions. Type here, or wire in a 'System Instructions' node. | |
| image_1opt | IMAGE | Optional image for vision. Can be a batch. | |
| image_2opt | IMAGE | — | |
| image_3opt | IMAGE | — | |
| image_4opt | IMAGE | — | |
| reasoning_effortopt | COMBO | 5 options: default, minimal, low, medium, high | |
| verbosityopt | COMBO | 4 options: default, low, medium, high | |
| max_completion_tokensopt | INT | 00–128000 | 0 = model default. |
| api_tokenopt | STRING | Replicate API token (optional). Blank = use REPLICATE_API_TOKEN from the environment or a .env file. | |
| timeout_secondsopt | INT | 00–86400 | Max seconds to wait for the model. 0 = wait indefinitely. |
| force_rerunopt | BOOLEAN | false | Re-call the API even if inputs are unchanged. |
| run_modeopt | COMBO | ComfyUI runs async nodes concurrently. 'one at a time' serialises every arkennemasis API node in the graph — use it when the provider throttles bursts (Replicate allows a burst of 1 under $5 credit). 'all at once' is faster when your rate limit allows it. | |
| max_concurrentopt | INT | 20–32 | Only used when run_mode is 'all at once': how many arkennemasis API calls may be in flight together. 0 = no cap. 2 is a safe default for a 24-shot batch. |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| text | STRING | — |