Skip to content

Lm Chat Open Router

Node: lmChatOpenRouter · Full type: @n8n/n8n-nodes-langchain.lmChatOpenRouter · Version: 1

Credentials

openRouterApi (alias: @open)

CREDENTIAL @open = openRouterApi "My Lm Chat Open Router"

Parameters

Parameter Type Default Details
model options "openai/gpt-4.1-mini"
options collection {} keys: frequencyPenalty, maxTokens, responseFormat, presencePenalty, temperature, timeout, ...

options children:

Parameter Type Default Details
frequencyPenalty number 0
maxTokens number -1
responseFormat options "text" text, json_object
presencePenalty number 0
temperature number 0.7
timeout number 360000
maxRetries number 2
topP number 1

Example

NODE "lmChatOpenRouter" @open AS "Lm Chat Open Router"