Where is the model id in n8n?
In the Model field of the OpenAI Chat Model node, or the Model field of an OpenAI node text operation. The chat model page says the list is loaded from your OpenAI account.
An n8n OpenAI model deprecated error is the model selected on the OpenAI Chat Model node, or on an OpenAI node text operation. The chat model node loads models from the account and uses Chat Completions until you turn on Use Responses API. Swap the selected model for the official replacement in the table.
Last reviewed . Publisher: SunsetDiff.
The OpenAI Chat Model page has a Model parameter: select the model used to generate the completion. It says n8n dynamically loads models from OpenAI, and you only see the models available to your account. That page does not name a default model id.
The OpenAI node text operations page also has a Model field, on Generate a Chat Completion and on Generate a Model Response. For Generate a Chat Completion it says that if you are not sure which model to use, try gpt-4o for higher intelligence or gpt-4o-mini for speed and cost. Those are suggestions on the page, not a stored default in the parameter table.
The credential is the OpenAI API key on the credential, not the model id. This page does not show a key.
Sources: n8n OpenAI Chat Model , n8n OpenAI text operations , checked October 25, 2026.
Select a specific model in the Model field. That is the pin. To swap a shutdown, select the official replacement from the table instead of the retiring id.
The chat model page does not document a fallback list or a router alias. The text operations suggestion of gpt-4o is not a promise that the short id has no dated snapshot behind it. Read the alias sentence under the table.
Sources: n8n OpenAI Chat Model , n8n OpenAI text operations , checked October 25, 2026.
The OpenAI Chat Model page says the node defaults to the Chat Completions API. Turn on Use Responses API to generate output with the Responses API. Built-in tools on that page, Web Search, File Search, and Code Interpreter, require the toggle, and the page says they work with the AI Agent node.
The OpenAI node page says OpenAI node V2 is available from n8n 1.117.0. It supports the Responses API. It renames Message a Model to Generate a Chat Completion, for the Chat Completions API, and adds Generate a Model Response, for the Responses API.
OpenAI's Using GPT-6 guide says GPT-6 Astra and GPT-6.1 Sol tool calling requires the Responses API. Leaving the chat model node on the default Chat Completions path is the wrong endpoint for those tools. The error pages describe the failure. n8n's pages do not name gpt-6-astra or gpt-6.1-sol.
Sources: n8n OpenAI Chat Model , n8n OpenAI node , Using GPT-6 , checked October 25, 2026.
gpt-4.1-2025-04-14, gpt-4.1-mini-2025-04-14, gpt-4o-2024-08-06, gpt-4o-2024-11-20, and gpt-4o-mini-2024-07-18 shut down on 2027-01-14. The official replacement on these rows is gpt-6-luna.
gpt-4.1, gpt-4.1-mini, gpt-4o, and gpt-4o-mini have no shutdown date on their own records. A request that sends the short id is not the dated snapshot row. Open the model page before you treat the short id as shut down.
Rows are upcoming OpenAI chat models in the gpt-4o, gpt-4.1, gpt-4-turbo, gpt-4, and gpt-3.5-turbo families. Audio, realtime, transcribe, and search ids are not in this table. The same id on another platform is in the other-platforms column. The full calendar is upcoming shutdowns. Provider wording for the shutdown day is on what happens on shutdown day.
| Shutdown | Provider | Model | Replacement | Other platforms |
|---|---|---|---|---|
| 2027-01-14 source, checked 2026-10-26 | OpenAI | GPT-4.1 (gpt-4.1-2025-04-14) gpt-4.1-2025-04-14 | gpt-6-luna Switch guide: gpt-6-luna | Azure OpenAI: shuts down on 2027-10-14 |
| 2027-01-14 source, checked 2026-10-26 | OpenAI | GPT-4.1 mini (gpt-4.1-mini-2025-04-14) gpt-4.1-mini-2025-04-14 | gpt-6-luna Switch guide: gpt-6-luna | Azure OpenAI: shuts down on 2027-10-14 |
| 2027-01-14 source, checked 2026-10-26 | OpenAI | GPT-4o (gpt-4o-2024-08-06) gpt-4o-2024-08-06 | gpt-6-luna Switch guide: gpt-6-luna | Azure OpenAI: shuts down on 2027-10-01 |
| 2027-01-14 source, checked 2026-10-26 | OpenAI | GPT-4o (gpt-4o-2024-11-20) gpt-4o-2024-11-20 | gpt-6-luna Switch guide: gpt-6-luna | Azure OpenAI: shuts down on 2027-04-14 |
| 2027-01-14 source, checked 2026-10-26 | OpenAI | GPT-4o mini (gpt-4o-mini-2024-07-18) gpt-4o-mini-2024-07-18 | gpt-6-luna Switch guide: gpt-6-luna | Azure OpenAI: shuts down on 2027-10-01 |
These checks read SunsetDiff. They do not call the model provider.
In the Model field of the OpenAI Chat Model node, or the Model field of an OpenAI node text operation. The chat model page says the list is loaded from your OpenAI account.
No. The chat model page says the node uses Chat Completions unless you turn on Use Responses API. Generate a Model Response, on OpenAI node V2, is the Responses operation.
From SunsetDiff model records for upcoming OpenAI chat ids in the gpt-4o, gpt-4.1, gpt-4-turbo, gpt-4, and gpt-3.5-turbo families. The sentence above the table is built from those records when the site is built. Each row links the provider source stored on that record.
Open lookup JSON and replace gpt-4o with your id. Or call check_model on the MCP server. Or use a status badge. No API key.