How can I change the LLM model used by the n8n Assistant?

I’m finding the default model in the n8n Assistant quite frustrating to work with. It often keeps spinning and reasoning for a long time without making meaningful progress.

Is there a way to select a different LLM, such as Claude Opus 5.5, to improve its workflow-building and debugging capabilities?

Or do I need to connect Claude to n8n through MCP to use a more capable model?

I’d appreciate any recommendations on the best setup for getting reliable results when building and troubleshooting workflows in n8n.

Hey @SimonKnudsen ,
Not on n8n Cloud, and your screenshot is the Cloud version of that page. On Cloud, n8n manages the Assistant’s model and won’t accept a change. On self-hosted, an admin gets a model row right under “Enable n8n Assistant” to pick the provider and model with their own API key (or sets N8N_INSTANCE_AI_MODEL=anthropic/claude-opus-5-5), and that row isn’t on yours.

So yes, MCP is how you get Opus on Cloud. Turn it on in Settings > Instance-level MCP, then use Connect a client and pick Claude Code or Claude.ai for the setup steps. Claude then builds and edits the workflows itself, so it runs on your Claude plan rather than your Assistant credits. For workflows you already built in the editor, switch on Available in MCP in the workflow’s settings so Claude can see them.

For reliable results, n8n’s docs recommend a coding agent like Claude Code over a chat client for this, and n8n’s official skills plugin (n8n-io/skills) teaches it n8n’s conventions for expressions and node config.

Hi @SimonKnudsen, are you on n8n Cloud or self-hosted, and which n8n version?

If you’re self-hosted, check this page from an owner/admin account first. The model selector can also be hidden by permissions or a managed Assistant connection.

For the self-hosted environment-variable example above, N8N_INSTANCE_AI_MODEL=anthropic/claude-opus-5-5 needs a matching Anthropic API key, such as through N8N_INSTANCE_AI_MODEL_API_KEY. Restart n8n after changing the environment variables.

With MCP, you choose the model in Claude and build/edit the workflows from there. It doesn’t change the model used by the built-in n8n Assistant.