[Integrations](https://spiral.ai/integrations) › [n8n](https://spiral.ai/integrations/n8n) › [Solar Mini 4](https://spiral.ai/integrations/n8n/solar-mini-4)

# How to Use Solar Mini 4 in n8n

Solar Mini 4 fits repeated text extraction, support classification, and policy checks. Its 512K context window and Korean, English, and Japanese support make it useful for working across long documents and multilingual requests.

|  |  |
| --- | --- |
| Model | Solar Mini 4 |
| Available through | OpenRouter |
| Category | LLM |
| Price | Up to $0.001068 per run at the default inputs. $0.065 per 1M input tokens, $0.26 per 1M output tokens. |
| Returns | text, json |
| Runs | In the background |
| Setup | About 2 minutes, with a Spiral API key |

## Prompts to try with Solar Mini 4 in n8n

- Every morning, use Solar Mini 4 to classify new support requests as billing, technical, account, or unclear. Produce a digest with request IDs and supporting sentences.
- Each weekday, use Solar Mini 4 to extract dates and notice periods from newly received contract text. Report missing details and include the source passage for every extracted value.
- Every afternoon, use Solar Mini 4 to compare pending approval requests with the current policy text. List applicable rules, missing information, and proposed next steps.
- Each morning, use Solar Mini 4 to summarize new Korean, English, and Japanese customer requests in English. Preserve reference numbers and group requests by topic.
- Every Friday, use Solar Mini 4 to compare this week's extracted intake records with their source text. Flag unsupported values and missing required details in a review table.

## How to set up Solar Mini 4 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:

```text
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:

```json
{
  "provider": "fal",
  "model": "fal-ai/flux/schnell",
  "input": { "prompt": "a lighthouse at dawn" },
  "wait": true
}
```

4. **Run Solar Mini 4 in a workflow step**: Give the step an instruction like the ones below and run it on your trigger or schedule. Spiral finds Solar Mini 4, 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.

```bash
npx -y spiral-cli@latest init
```

### Call the Spiral API

1. **Create an API key**: In the console, under API keys.

2. **Run Solar Mini 4**: One request; the result comes back by polling or a webhook.

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

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

Setup guide in the docs: https://spiral.ai/docs/quickstarts/n8n

## Solar Mini 4 tools and prices

- [Upstage: Solar Mini 4](https://spiral.ai/tools/openrouter/upstage/solar-mini4) (OpenRouter): Up to $0.001068 per run at the default inputs. $0.065 per 1M input tokens, $0.26 per 1M output tokens.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| tools |  | — |  |
| top_p | 0 to 1 | — |  |
| reasoning |  | — | Reasoning effort; reasoning tokens count toward max_tokens. |
| max_tokens | 1 to 131072 | — | The most output tokens to generate. |
| temperature | 0 to 2 | — |  |
| tool_choice |  | — |  |

## What can you do with Solar Mini 4 in n8n?

Keep recurring text queues organized with Solar Mini 4. A scheduled agent can classify new requests, extract records, and flag policy questions for review.

### Support request triage

Classify incoming requests into your support categories and include the sentence that supports each label.

### Contract term extraction

Turn contract text into a table of effective dates, renewal terms, and notice periods, with missing details marked explicitly.

### Internal policy checks

Compare a request with a supplied policy and identify the applicable rule, missing information, and proposed next step.

### Structured intake records

Convert free-text submissions into records with fixed keys and types for downstream processing.

### Document comparison

Compare two long texts and list changed obligations with a supporting passage from each version.

### Multilingual support summaries

Summarize Korean, English, and Japanese customer requests in one chosen language while preserving names and reference numbers.

### Extraction quality checks

Compare an extracted record with its source text and flag unsupported values or missing required details.

### Approval queue review

Apply written approval rules to pending requests and prepare a table showing status, supporting evidence, and unresolved questions.

## Overview

- [OpenRouter](https://spiral.ai/providers/openrouter)
- [All n8n guides](https://spiral.ai/integrations/n8n)

## Solar Mini 4 in other agents

- [Amp](https://spiral.ai/integrations/amp/solar-mini-4)
- [ChatGPT](https://spiral.ai/integrations/chatgpt/solar-mini-4)
- [Claude](https://spiral.ai/integrations/claude-desktop/solar-mini-4)
- [Claude Code](https://spiral.ai/integrations/claude-code/solar-mini-4)
- [Cline](https://spiral.ai/integrations/cline/solar-mini-4)
- [Codex](https://spiral.ai/integrations/codex/solar-mini-4)
- [Cursor](https://spiral.ai/integrations/cursor/solar-mini-4)
- [Devin](https://spiral.ai/integrations/devin/solar-mini-4)
- [dots](https://spiral.ai/integrations/dots/solar-mini-4)
- [Factory Droid](https://spiral.ai/integrations/factory-droid/solar-mini-4)
- [Gemini](https://spiral.ai/integrations/gemini/solar-mini-4)
- [Gemini CLI](https://spiral.ai/integrations/gemini-cli/solar-mini-4)
- [Google Antigravity](https://spiral.ai/integrations/antigravity/solar-mini-4)
- [goose](https://spiral.ai/integrations/goose/solar-mini-4)
- [Grok](https://spiral.ai/integrations/grok/solar-mini-4)
- [Grok Build](https://spiral.ai/integrations/grok-build/solar-mini-4)
- [Hermes](https://spiral.ai/integrations/hermes/solar-mini-4)
- [Instinct](https://spiral.ai/integrations/instinct/solar-mini-4)
- [Manus](https://spiral.ai/integrations/manus/solar-mini-4)
- [Muse](https://spiral.ai/integrations/muse/solar-mini-4)
- [Muse Code](https://spiral.ai/integrations/muse-code/solar-mini-4)
- [Notion](https://spiral.ai/integrations/notion/solar-mini-4)
- [OpenClaw](https://spiral.ai/integrations/openclaw/solar-mini-4)
- [opencode](https://spiral.ai/integrations/opencode/solar-mini-4)
- [Perplexity](https://spiral.ai/integrations/perplexity/solar-mini-4)
- [Raycast](https://spiral.ai/integrations/raycast/solar-mini-4)
- [VS Code](https://spiral.ai/integrations/vscode/solar-mini-4)
- [Windsurf](https://spiral.ai/integrations/windsurf/solar-mini-4)
- [Zapier](https://spiral.ai/integrations/zapier/solar-mini-4)

## More n8n guides

- [Skyfall 36B V2](https://spiral.ai/integrations/n8n/skyfall-36b-v2)
- [Solar Pro 4](https://spiral.ai/integrations/n8n/solar-pro-4)
- [Seed 2.1 Turbo](https://spiral.ai/integrations/n8n/seed-2-1-turbo)
- [Sonar](https://spiral.ai/integrations/n8n/sonar)
- [Seed 2.0 Mini](https://spiral.ai/integrations/n8n/seed-2-0-mini)
- [Sonar Pro](https://spiral.ai/integrations/n8n/sonar-pro)

## Questions about Solar Mini 4 in n8n

**Can n8n use Solar Mini 4?**

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

**How much does Solar Mini 4 cost in n8n?**

Up to $0.001068 per run at the default inputs. $0.065 per 1M input tokens, $0.26 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 OpenRouter account to use Solar Mini 4 in n8n?**

You need no OpenRouter account. n8n uses one Spiral API key for every tool, and Spiral runs Solar Mini 4 on its own OpenRouter account.

**How long does it take to set up Solar Mini 4 in n8n?**

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

**Does n8n wait while Solar Mini 4 runs?**

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

**What is Solar Mini 4 good at?**

Start with repeated text tasks: extracting contract terms, classifying customer requests, and checking requests against written policies. Give it the source text and a precise description of the result you need.

**How much text can Solar Mini 4 handle?**

Solar Mini 4 supports a 512K context window and up to 128K output tokens. Reserve space for the answer when preparing long inputs, since input and output share the context window.

**Which languages does Solar Mini 4 support?**

Upstage documents Korean, English, and Japanese input and output, emphasizing Korean fluency. Specify the response language when the source contains more than one language.

**Should I increase reasoning effort for every task?**

Start low and increase it when a task needs several dependent steps. Higher effort does not guarantee better answers, and reasoning consumes part of the output budget.

**Can Solar Mini 4 return a fixed JSON structure?**

Use schema-constrained output when your application needs specific keys and types. JSON mode alone guarantees valid JSON, so validate the structure before using it.

