[Integrations](https://spiral.ai/integrations) › [Hermes](https://spiral.ai/integrations/hermes) › [Hermes 4 405B](https://spiral.ai/integrations/hermes/hermes-4-405b)

# How to Use Hermes 4 405B in Hermes

Hermes 4 405B suits math, code analysis, structured JSON, and character-driven writing. It scores higher than Hermes 4 70B on Nous Research's AIME 2025 and LiveCodeBench tests with reasoning enabled.

|  |  |
| --- | --- |
| Model | Hermes 4 405B |
| Available through | OpenRouter |
| Category | LLM |
| Price | Up to $0.01602 per run at the default inputs. $1.30 per 1M input tokens, $3.90 per 1M output tokens. |
| Returns | text, json |
| Runs | In the background |
| Setup | About 2 minutes, no API key |

## Prompts to try with Hermes 4 405B in Hermes

- Every weekday, use Hermes 4 405B to summarize the support messages supplied to this run. Group repeated issues, include a supporting excerpt for each, and keep the report under 500 words.
- Each Monday, use Hermes 4 405B to turn the supplied meeting notes into JSON with decisions, owners, and deadlines. Use null for missing information and retain the source excerpt for each decision.
- Every Friday, use Hermes 4 405B to compare this week's supplied status updates with the supplied goals. List completed work, blockers, and unanswered questions without inventing progress.
- Each morning, use Hermes 4 405B to check the supplied JSON records against the supplied schema. Return proposed repairs separately from records that need human clarification.
- Each month, use Hermes 4 405B to draft a 700-word newsletter from the supplied approved notes. Follow the supplied voice guide and flag claims that lack supporting material.

## How to set up Hermes 4 405B in Hermes

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

### Use the Spiral skill

1. **Send Hermes 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. **Add the server and sign in**: Hermes opens your browser: sign in to Spiral and click Authorize. No API key. When Hermes asks Enable all tools? \[Y/n/select], answer Y: n cancels without saving the server, and select hides the tools you leave out.

```bash
hermes mcp add spiral \
  --url https://api.spiral.ai/mcp \
  --auth oauth \
  --connect-timeout 300
```

2. **Check it**: In a chat that was already open, run `/reload-mcp`.

```bash
hermes mcp list
hermes mcp test spiral
```

### 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 Hermes 4 405B**: 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": "nousresearch/hermes-4-405b",
    "input": {
      "messages": [
        {
          "role": "system"
        }
      ]
    }
  }'
```

Then paste one of the prompts above: Hermes finds Hermes 4 405B on Spiral, shows the price and runs it.

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

## Hermes 4 405B tools and prices

- [Nous: Hermes 4 405B](https://spiral.ai/tools/openrouter/nousresearch/hermes-4-405b) (OpenRouter): Up to $0.01602 per run at the default inputs. $1.30 per 1M input tokens, $3.90 per 1M output tokens.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| seed |  | — |  |
| stop |  | — |  |
| top_k | 0 to … | — |  |
| top_p | 0 to 1 | — |  |
| logprobs |  | — |  |
| reasoning |  | — | Reasoning effort; reasoning tokens count toward max_tokens. |

## What can you do with Hermes 4 405B in Hermes?

Turn recurring batches of supplied text into reviewable summaries, extracted records, and draft reports with Hermes 4. Keep each scheduled task focused on a defined input and output.

### Review an algorithm

Provide a function, its intended behavior, and failing examples. Ask for likely defects, a proposed correction, and tests that distinguish the corrected behavior.

### Check a calculation

Supply the quantities, units, assumptions, and proposed result. Request an independent calculation with a short explanation and a list of missing information.

### Extract records from text

Turn supplied support messages or meeting notes into JSON matching a defined schema. Specify required keys and use null for information the source does not contain.

### Repair malformed JSON

Provide a broken JSON object and its intended schema. Request corrected JSON plus a separate account of any ambiguous values that require review.

### Draft character dialogue

Define each character's motives, knowledge, and speaking style. Request a scene that advances a specific conflict while keeping the voices distinct.

### Develop a long-form draft

Supply an outline, audience, source material, and target length. Draft one section at a time, then review continuity and repeated points.

### Explain a science concept

Ask for an explanation at a named reading level, followed by worked examples and practice questions. Supply reference material when factual precision matters.

### Compare written proposals

Provide the proposals and evaluation criteria. Request a comparison that separates stated evidence, assumptions, and unanswered questions.

## Overview

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

## Hermes 4 405B in other agents

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

## More Hermes guides

- [Grok Latest](https://spiral.ai/integrations/hermes/grok-latest)
- [Hy-MT2-1.8B](https://spiral.ai/integrations/hermes/hy-mt2-1-8b)
- [Grok 4.7](https://spiral.ai/integrations/hermes/grok-4-7)
- [Hy-MT2-30B-A3B](https://spiral.ai/integrations/hermes/hy-mt2-30b-a3b)
- [Grok 4.6](https://spiral.ai/integrations/hermes/grok-4-6)
- [Hy-MT2-7B](https://spiral.ai/integrations/hermes/hy-mt2-7b)

## Questions about Hermes 4 405B in Hermes

**Can Hermes use Hermes 4 405B?**

Yes. Add Spiral to Hermes as an MCP server, and Hermes can find and run Hermes 4 405B like any built-in tool.

**How much does Hermes 4 405B cost in Hermes?**

Up to $0.01602 per run at the default inputs. $1.30 per 1M input tokens, $3.90 per 1M output tokens. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your Hermes plan is separate.

**Do I need an OpenRouter account to use Hermes 4 405B in Hermes?**

No. Spiral runs Hermes 4 405B on its own OpenRouter account. You sign in to Spiral once and never paste a key.

**How long does it take to set up Hermes 4 405B in Hermes?**

About two minutes: add the server and sign in, then check it.

**Does Hermes wait while Hermes 4 405B runs?**

Hermes 4 405B runs in the background. Hermes starts the run, checks on it and gives you the text, json when it's ready.

**What is Hermes 4 good at?**

Nous highlights math, science, instruction following, structured JSON, roleplay, and long-form writing. Useful starting tasks include explaining a calculation, extracting records into a schema, and drafting dialogue with a defined character voice.

**When should I use reasoning?**

Use reasoning for difficult math and code problems. In Nous Research's tests, Hermes 4 405B scored 78.1 on AIME 2025 with reasoning enabled, compared with 10.6 without it.

**Can Hermes 4 produce structured JSON?**

Yes. It was trained to follow JSON schemas and repair malformed objects. Supply the schema, define how missing values should appear, and validate the result before using it.

**What sampling settings should I start with?**

Nous recommends temperature 0.6, top_p 0.95, and top_k 20. Use these as a baseline when comparing prompts on the same tasks.

**How much text can Hermes 4 405B handle?**

Its published configuration specifies 131,072 token positions. That is configured context capacity, not a guarantee that it will write a response that long.

