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

n8n · LLMReleased 2025-08-07

How to Use GPT-5 Mini in n8n

GPT-5 Mini suits focused coding tasks, text extraction, and summaries with clear requirements. It responds faster than GPT-5 and works best when you specify exactly what a successful answer includes.

Prompts to try with GPT-5 Mini in n8n

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

Each morning, use GPT-5 Mini to summarize the updates supplied for that run. Report new decisions, changed deadlines, and unresolved blockers in under 300 words. Include source identifiers and omit repeated information.

GPT-5 Minin8n
Try asking
  • Every hour, use GPT-5 Mini to classify newly supplied support messages as billing, access, product question, or unclear. Include a supporting excerpt for each classification and flag messages that fit multiple categories.

  • At the end of each day, use GPT-5 Mini to extract commitments from the supplied meeting transcripts. Record the action, owner, deadline, and supporting sentence. Write unknown for missing details.

  • Each week, use GPT-5 Mini with high reasoning effort to compare the supplied policy updates with the previous policy text. List changed obligations and conflicting passages. Support each finding with excerpts from both versions.

  • Each afternoon, use GPT-5 Mini to draft replies for the supplied unanswered customer questions using the current policy text. Keep each draft under 120 words and flag questions the policy cannot resolve.

How to set up GPT-5 Mini 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 GPT-5 Mini in a workflow step

    Give the step an instruction like the ones below and run it on your trigger or schedule. Spiral finds GPT-5 Mini, 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 GPT-5 Mini

    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": "openai",
        "model": "openai/gpt-5-mini",
        "input": {
          "messages": [
            {
              "role": "system"
            }
          ]
        }
      }'

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

GPT-5 Mini providers and prices

Spiral runs GPT-5 Mini through OpenAI. Open a card for today's price, with every fee included.

OpenAIDeprecatedLLM
GPT-5 Mini
openai/gpt-5-mini

Settings you can ask for

Ask n8n for any of these in your prompt.

SettingAllowed valuesDefaultDescription
Seeda whole number
Max tokens16 to 128000

The most output tokens to generate.

Parallel tool callson or off

Every API field of GPT-5 Mini is on its tool page: open its card above.

What can you do with GPT-5 Mini in n8n?

Turn recurring batches of messages and updates into consistent review queues with GPT-5 Mini. Define the classification rules, evidence requirements, and conditions for flagging an item.

Extract order details

Turn order messages into consistent records containing order numbers, requested changes, and dates. Require a missing value when the message does not provide a detail.

Sort support requests

Assign incoming messages to clearly defined categories such as billing, access, and product questions. Include a short supporting excerpt for each decision.

Summarize meeting decisions

Extract decisions, owners, deadlines, and unresolved questions from a transcript. Keep proposed actions separate from agreed commitments.

Draft answers from supplied policies

Prepare support reply drafts using the customer's message and current policy text. Flag questions the policy does not answer.

Fix a specific software bug

Investigate a reproducible failure, propose a focused patch, and check it against the expected behavior. Keep the task scoped to the reported issue.

Write regression tests

Turn a bug report and acceptance criteria into tests for the reported failure and relevant edge cases. Review the tests against the intended behavior.

Prepare a daily change digest

Compare supplied updates with the previous digest and report changes, unresolved items, and supporting excerpts. Use explicit rules to exclude repeated information.

Questions about GPT-5 Mini in n8n

Can n8n use GPT-5 Mini?

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

How much does GPT-5 Mini cost in n8n?

Up to $0.010662 per run at the default inputs. $0.325 per 1M input tokens, $0.0325 per 1M cached input tokens, $2.60 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 OpenAI account to use GPT-5 Mini in n8n?

You need no OpenAI account. n8n uses one Spiral API key for every tool, and Spiral runs GPT-5 Mini on its own OpenAI account.

How long does it take to set up GPT-5 Mini in n8n?

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

Does n8n wait while GPT-5 Mini runs?

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

What is GPT-5 Mini best suited for?

Start with well-defined tasks: extract details from text, summarize a discussion against a checklist, or fix a specific coding issue. Give it the source material and a clear description of the result you need.

How much text can GPT-5 Mini handle?

Its context window is 400,000 tokens, and its maximum output is 128,000 tokens. Reasoning also consumes the generation budget, so that output limit does not mean 128,000 tokens of visible text.

Does GPT-5 Mini know about recent events?

Its built-in knowledge cutoff is May 31, 2024. Supply recent source material when dates, policies, or other changing details matter.

How should I prompt GPT-5 Mini?

State the task, separate the source text from your instructions, and specify the required format and length. Remove conflicting requirements and give a clear rule for missing information.

When should I give GPT-5 Mini more reasoning effort?

Test higher effort when a task involves difficult debugging or several dependent decisions. Lower effort is worth testing for straightforward work where less exploration is useful.

Get started

Start using GPT-5 Mini 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