Openrouter.ai (base url amended from openai) - n8n cloud version 1.75.2 - available models not displayed even through credentials are validated

Describe the problem/error/question

Openrouter.ai (base url amended from openai) - n8n cloud version 1.75.2 (Intel 2019 MBP macOS v15.1.1) - available models not displayed even through credentials are validated and openrouter and openai accounts are funded

What is the error message (if any)?

No models are selectable even through valid credentials for open router, there is credit on the open router and open ai accounts, the base url has been updated. Red triangle warning but no explicit error message

Please share your workflow

attached - {
“nodes”: [
{
“parameters”: {
“options”: {}
},
“type”: “@n8n/n8n-nodes-langchain.chatTrigger”,
“typeVersion”: 1.1,
“position”: [
-1500,
-480
],
“id”: “7a7b448f-2e11-4a42-8d26-8c6af7373de5”,
“name”: “When chat message received”,
“webhookId”: “f99e0aa7-a973-4ddf-bd78-d180d5d1d347”
},
{
“parameters”: {
“options”: {}
},
“type”: “@n8n/n8n-nodes-langchain.agent”,
“typeVersion”: 1.7,
“position”: [
-1160,
-480
],
“id”: “084d11f1-33a5-4859-bedc-bc9971b973c1”,
“name”: “AI Agent”
},
{
“parameters”: {
“options”: {}
},
“type”: “@n8n/n8n-nodes-langchain.lmChatOpenAi”,
“typeVersion”: 1.1,
“position”: [
-1360,
-180
],
“id”: “5a5e0eb3-c40b-4efe-878d-200fa4b230ef”,
“name”: “OpenRouterAI Chat Model”,
“credentials”: {
“openAiApi”: {
“id”: “AyFRIanqqdHzQrx7”,
“name”: “OpenRouterAI”
}
}
}
],
“connections”: {
“When chat message received”: {
“main”: [
[
{
“node”: “AI Agent”,
“type”: “main”,
“index”: 0
}
]
]
},
“OpenRouterAI Chat Model”: {
“ai_languageModel”: [
[
{
“node”: “AI Agent”,
“type”: “ai_languageModel”,
“index”: 0
}
]
]
}
},
“pinData”: {},
“meta”: {
“templateCredsSetupCompleted”: true,
“instanceId”: “3e4a29bbb2fd0284348c491c896dfbd9cff16475521f41523fa4e26fccef4004”
}
}```
(Select the nodes on your canvas and use the keyboard shortcuts CMD+C/CTRL+C and CMD+V/CTRL+V to copy and paste the workflow.)


## Share the output returned by the last node
<!-- If you need help with data transformations, please also share your expected output. -->

## Information on your n8n setup
- **n8n version:** 1.75.2
- **Database (default: SQLite):** Yes
- **n8n EXECUTIONS_PROCESS setting (default: own, main):** Yes
- **Running n8n via (Docker, npm, n8n cloud, desktop app):** cloud
- **Operating system:** macOS 15.1.1

You have to set the model manually as an expression, like “deepseek/deepseek-chat”

1 Like

Thank you - a bit disappointing that this is not well integrated but appreciate the response

From version 1.77 a dedicated OpenRouter node has been added. It has a dropdown so you can easily switch between models. It is really great. It should be available soon.

GieW9JuWAB4dLR2

2 Likes

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.