Spiral gives your agent every tool with one account. Browse the tools →

n8n · LLMReleased 2026-07-24

How to Use Claude Opus 5 in n8n

Claude Opus 5 suits difficult debugging, large refactors, and tasks that span many steps. Compared with Claude Opus 4.8, its coding improvements are most useful for complex changes across multiple files.

Prompts to try with Claude Opus 5 in n8n

Copy an example into n8n, or ask in your own words.

Each morning, use Claude Opus 5 to compare today's account-health data with yesterday's. Report worsening accounts, supporting figures, and suggested follow-up.

Claude Opus 5n8n
Try asking
  • Every Monday, use Claude Opus 5 to compare the supplied weekly reports. Return five changes that affect delivery dates, with supporting passages.

  • Each evening, use Claude Opus 5 to analyze today's error summaries. Cluster likely shared causes and mark uncertain explanations as hypotheses.

  • At month-end, use Claude Opus 5 to review the supplied spreadsheet formulas. Identify inconsistent references and explain the likely effect of each.

  • Every Friday, use Claude Opus 5 to compare the current and previous project updates. Produce a 250-word brief covering changed commitments and unresolved questions.

How to set up Claude Opus 5 in n8n

Pick the way that suits you. Each takes about two minutes.

Use the Spiral skill

  1. Send n8n this message

    Your agent reads Spiral's skill and sets itself up.

    set up https://spiral.ai/SKILL.md
  2. Sign in or paste a key

    Approve Spiral in the browser, or give the agent a key from the console.

Use Spiral's MCP server

  1. Create a key

    Create a key under API keys in the console.

  2. Add an MCP Client node

    In a workflow, add an MCP Client node (or, under an AI Agent node, an MCP Client Tool) and set:

    https://api.spiral.ai/mcp
  3. Pick a tool

    The node lists Spiral's tools. In an MCP Client node pick one, such as run, and give it its arguments:

    {
      "provider": "fal",
      "model": "fal-ai/flux/schnell",
      "input": { "prompt": "a lighthouse at dawn" },
      "wait": true
    }
  4. Run Claude Opus 5 in a workflow step

    Give the step an instruction like the ones below and run it on your trigger or schedule. Spiral finds Claude Opus 5, prices it and runs it each time the step fires.

Use the Spiral CLI

  1. Install and sign in

    Installs the Spiral CLI, signs you in and adds its skill to your coding agents.

    npx -y spiral-cli@latest init

Call the Spiral API

  1. Create an API key

    In the console, under API keys.

  2. Run Claude Opus 5

    One request; the result comes back by polling or a webhook.

    curl https://api.spiral.ai/v1/runs \
      -H "Authorization: Bearer $SPIRAL_API_KEY" \
      -H "Content-Type: application/json" \
      -H "Idempotency-Key: $(uuidgen)" \
      -d '{
        "provider": "anthropic",
        "model": "anthropic/claude-opus-5",
        "input": {
          "messages": [
            {
              "role": "system"
            }
          ]
        }
      }'

Then paste one of the prompts above: n8n finds Claude Opus 5 on Spiral, shows the price and runs it.

Claude Opus 5 providers and prices

Spiral runs Claude Opus 5 through Anthropic. Open a card for today's price, with every fee included.

AnthropicLLM
Claude Opus 5
anthropic/claude-opus-5

Settings you can ask for

Ask n8n for any of these in your prompt.

SettingAllowed valuesDefaultDescription
Max tokens1 to 128000

The most output tokens to generate. On a reasoning model the reasoning tokens count toward it: a cap too low for the effort can end with no answer (finish_reason length).

Reasoning effortlow, medium, high, xhigh, or maxhigh

How much the model reasons.

Parallel tool callson or off

Every API field of Claude Opus 5 is on its tool page: open its card above.

What can you do with Claude Opus 5 in n8n?

Claude Opus 5 can produce recurring comparisons and exception reports from newly supplied information. Define what counts as a change and use the same output structure on each run.

Fix bugs that survive an initial patch

Use Claude Opus 5 to trace a failure to its cause and address related edge cases.

Refactor code across multiple files

Use Claude Opus 5 for coordinated changes across modules while preserving the behavior you specify.

Implement a complete feature

Give Claude Opus 5 the behavior, constraints, and acceptance criteria for a feature spanning several parts of an application.

Compare lengthy reports

Use Claude Opus 5 to compare supplied reports, surface disagreements, and link conclusions to supporting passages.

Develop spreadsheet formulas

Ask Claude Opus 5 to design formulas across related sheets and explain their assumptions.

Review account health

Use Claude Opus 5 to turn account-health data into a prioritized risk summary and suggested next actions.

Questions about Claude Opus 5 in n8n

Can n8n use Claude Opus 5?

Yes. Add Spiral to n8n as an MCP server, and n8n can find and run Claude Opus 5 like any built-in tool.

How much does Claude Opus 5 cost in n8n?

Up to $0.133575 per run at the default inputs. $6.50 per 1M input tokens, $0.65 per 1M cached input tokens, $8.125 per 1M cache write tokens, $13.00 per 1M 1-hour cache write tokens, $32.50 per 1M output tokens; for a prompt above 200,000 tokens, $13.00 per 1M input tokens, $1.30 per 1M cached input tokens, $16.25 per 1M cache write tokens, $26.00 per 1M 1-hour cache write tokens, $48.75 per 1M output tokens. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your n8n plan is separate.

Do I need an Anthropic account to use Claude Opus 5 in n8n?

You need no Anthropic account. n8n uses one Spiral API key for every tool, and Spiral runs Claude Opus 5 on its own Anthropic account.

How long does it take to set up Claude Opus 5 in n8n?

About two minutes: create a key, then add an MCP Client node, then pick a tool.

Does n8n wait while Claude Opus 5 runs?

Claude Opus 5 runs in the background. n8n starts the run, checks on it and gives you the text, json when it's ready.

How much text can Claude Opus 5 handle?

Its context window holds up to 1 million tokens, and its standard maximum output is 128,000 tokens. These are token limits, so avoid treating them as fixed word or page counts.

Which reasoning effort should I use?

Start with high. Test xhigh on difficult coding or extended agent tasks, and compare low or medium on simpler work where your evaluations show acceptable results.

How do I get shorter answers?

Give Claude Opus 5 a concrete length target, such as 150 words or five bullets. Changing reasoning effort does not reliably shorten the visible answer.

How do I keep Claude Opus 5 focused on a small task?

State the exact deliverable and the boundary of the work. For example, ask it to fix one parsing bug while preserving the public interface.

Can Claude Opus 5 give incorrect answers?

Yes. For document analysis, ask for supporting passages and let it say when the supplied material does not establish an answer.

Get started

Start using Claude Opus 5 in n8n

One Spiral account for every tool your agent needs. No subscription; you pay per run.

Paste this into n8n:

Set up n8n

set up https://spiral.ai/SKILL.md
Are you an AI agent? See setup options