ComfyUI Node

OpenAI LLM

A ComfyUI node in text/generation with 8 inputs and 1 output.

By Aryan185·Created about a year ago·Updated 2 months ago· 14
OpenAI LLM
  • image
  • response
prompt
model
temperature1.00
reasoning_effort
api_key
max_output_tokens16384
system_instruction
Categorytext/generation

Inputs (8)

NameTypeDefaultDescription
promptSTRING
modelCOMBO11 options: gpt-5.4, gpt-5.4-pro, gpt-4.1, gpt-4.1-mini, gpt-5, gpt-5.2, +5
temperatureFLOAT1.000–2
reasoning_effortCOMBO3 options: low, medium, high
api_keySTRINGDirectly put OpenAI API key or .env variable name (OPENAI_API_KEY)
max_output_tokensINT163841–32768
system_instructionoptSTRING
imageoptIMAGE

Outputs (1)

NameTypeDescription
responseSTRING