Openai 4.1 not showing up as an option in ai agent

Describe the problem/error/question

I have 2 n8n workspaces. in one, i have the ability to select 4.1 to use in my workflows.

in my other, i’m unable to see it as an optoin. what could be the issue? both are updated to the most recent version of n8n.

What is the error message (if any)?

Please share your workflow

(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

Information on your n8n setup

  • n8n version: 1.93.0

  • Database (default: SQLite):

  • n8n EXECUTIONS_PROCESS setting (default: own, main):

  • Running n8n via (Docker, npm, n8n cloud, desktop app):

  • Operating system:

1 Like

maybe try re-auth ure key? or refresh it by adding a new one in that instance that’s not picking it up?

Maybe it just needs to pull the data again in that step? Have you tired this?

i tried. nothing happens. i also hardcoded the model id and got this error:

{
“errorMessage”: “Forbidden - perhaps check your credentials?”,
“errorDescription”: “Project proj_elK1MuwcdFW5Y8wqQEZz0PRr does not have access to model gpt-4.1-2025-04-14”,
“errorDetails”: {},
“n8nDetails”: {
“time”: “5/22/2025, 9:19:50 AM”,
“n8nVersion”: “1.93.0 (Self Hosted)”,
“binaryDataMode”: “default”,
“cause”: {
“status”: 403,
“headers”: {
“alt-svc”: “h3=":443"; ma=86400”,
“cf-cache-status”: “DYNAMIC”,
“cf-ray”: “943ae4102e5c9e68-SJC”,
“connection”: “keep-alive”,
“content-encoding”: “gzip”,
“content-type”: “application/json; charset=utf-8”,
“date”: “Thu, 22 May 2025 08:19:50 GMT”,
“server”: “cloudflare”,
“set-cookie”: “__cf_bm=r7bNF_NvLL3Fo9fjZfs6jBeDEAQ2BZxUMwNXjs.0_AI-1747901990-1.0.1.1-gSYUoM1nIXwQr60BaVePdGBkukTWiq_BvgdemFdCPzFGAOkceS0g0BGx2OyrkJf0NVJqwCtHdHVWCWkDycw6kgsScHcTaI57NoxKFgUGLFY; path=/; expires=Thu, 22-May-25 08:49:50 GMT; domain=.api.openai.com; HttpOnly; Secure; SameSite=None, _cfuvid=O5_Fe2QgaVSNhlQUKUsmf98hxEVKZ4jCC.prfpfJwEE-1747901990791-0.0.1.1-604800000; path=/; domain=.api.openai.com; HttpOnly; Secure; SameSite=None”,
“strict-transport-security”: “max-age=31536000; includeSubDomains; preload”,
“transfer-encoding”: “chunked”,
“vary”: “Origin”,
“x-content-type-options”: “nosniff”,
“x-request-id”: “req_4473227cf794e133185fdd042b2e3372”
},
“request_id”: “req_4473227cf794e133185fdd042b2e3372”,
“error”: {
“message”: “Project proj_elK1MuwcdFW5Y8wqQEZz0PRr does not have access to model gpt-4.1-2025-04-14”,
“type”: “invalid_request_error”,
“param”: null,
“code”: “model_not_found”
},
“code”: “model_not_found”,
“param”: null,
“type”: “invalid_request_error”,
“attemptNumber”: 1,
“retriesLeft”: 2
}
}
}

i figured it out. my client’s team only allowed certain models in the openai api workspace settings. had nothing to do with n8n!

Nice yes it states " message”: “Project proj_elK1MuwcdFW5Y8wqQEZz0PRr does not have access to model gpt-4.1-2025-04-14 ”," glad it’s all resolved :slight_smile: Have a great day.