[Integrations](https://spiral.ai/integrations) › [Notion](https://spiral.ai/integrations/notion) › [Moondream 3.1](https://spiral.ai/integrations/notion/moondream-3-1)

# How to Use Moondream 3.1 in Notion

Moondream 3.1 reads images, answers visual questions, and extracts document data. Its 9B total parameters and 2B active parameters support visual reasoning, with particular improvements in crowded scenes.

|  |  |
| --- | --- |
| Model | Moondream 3.1 |
| Available through | OpenRouter |
| Category | LLM |
| Price | Up to $0.013327 per run at the default inputs. $0.39 per 1M input tokens, $3.25 per 1M output tokens. |
| Returns | text, json |
| Runs | In the background |
| Setup | About 2 minutes, no API key |

## Prompts to try with Moondream 3.1 in Notion

- Every morning, use Moondream 3.1 to read newly received receipt images. Extract the merchant name from each and mark unreadable names for review.
- Each afternoon, use Moondream 3.1 to inspect newly received invoice images. Extract one invoice number per image and flag missing or unreadable values.
- Every hour, use Moondream 3.1 on the latest shelf photograph. Ask whether a cardboard carton is visible and record yes, no, or unclear.
- Every ten minutes, use Moondream 3.1 to describe the latest sampled loading-dock frame in one sentence. Include its timestamp in the report.
- At the end of each day, use Moondream 3.1 to inspect new form images. Extract the printed reference number and mark unreadable values for review.

## How to set up Moondream 3.1 in Notion

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

### Use the Spiral skill

1. **Send Notion 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. **Allow custom MCP servers**: A workspace owner opens Settings › Connections, then the Manage tab, and turns on Enable custom MCP servers. Where members may install only approved connections, also add Spiral under Approved connections › Add approved connection › Custom MCP server with the URL below.

2. **Add Spiral to a custom agent**: Open the custom agent (or create one), then Settings › Tools & Access › Add connection › Custom MCP server. Paste this URL, name it Spiral, keep OAuth and click Connect.

```text
https://api.spiral.ai/mcp
```

3. **Sign in to Spiral and approve**: Spiral opens: sign in, pick the organization and click Authorize. No API key. Spiral gives the connection its own key; Notion never sees it, and you can remove it under Settings › Connected apps in the console.

4. **Run Moondream 3.1 in a workflow step**: Give the step an instruction like the ones below and run it on your trigger or schedule. Spiral finds Moondream 3.1, 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 Moondream 3.1**: 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": "moondream/moondream3.1-9b-a2b",
    "input": {
      "messages": [
        {
          "role": "system"
        }
      ]
    }
  }'
```

Then paste one of the prompts above: Notion finds Moondream 3.1 on Spiral, shows the price and runs it.

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

## Moondream 3.1 tools and prices

- [Moondream: Moondream 3.1](https://spiral.ai/tools/openrouter/moondream/moondream3.1-9b-a2b) (OpenRouter): Up to $0.013327 per run at the default inputs. $0.39 per 1M input tokens, $3.25 per 1M output tokens.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| top_p | 0 to 1 | — |  |
| reasoning |  | — | Reasoning effort; reasoning tokens count toward max_tokens. |
| max_tokens | 1 to 4096 | — | The most output tokens to generate. |
| temperature | 0 to 2 | — |  |
| reasoning_effort |  | — | OpenAI's reasoning effort (minimal, low, medium, high, xhigh). |

## What can you do with Moondream 3.1 in Notion?

Review incoming document images and sampled camera frames with Moondream 3.1. Keep each recurring check focused so its results are easy to compare and review.

### Receipt extraction

Read a receipt image and extract its merchant name into a structured record.

### Invoice review

Ask a focused question about an invoice image, such as which invoice number is shown.

### Form transcription

Extract a requested value from a form image for review or further processing.

### Shelf inspection

Ask targeted visual questions about a crowded shelf photograph.

### Parts-bin review

Inspect a bin photograph for a named visible object or condition.

### Video frame summaries

Turn selected still frames into short descriptions of the visible activity.

## Overview

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

## Moondream 3.1 in other agents

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

## More Notion guides

- [Moondream 3 Preview](https://spiral.ai/integrations/notion/moondream-3-preview)
- [Morph V3 Fast](https://spiral.ai/integrations/notion/morph-v3-fast)
- [Mixtral 8x22B Instruct](https://spiral.ai/integrations/notion/mixtral-8x22b-instruct)
- [Morph V3 Fast Batch](https://spiral.ai/integrations/notion/morph-v3-fast-batch)
- [Mistral Small 4](https://spiral.ai/integrations/notion/mistral-small-4)
- [Morph V3 Large](https://spiral.ai/integrations/notion/morph-v3-large)

## Questions about Moondream 3.1 in Notion

**Can Notion use Moondream 3.1?**

Yes. Add Spiral to Notion as an MCP server, and Notion can find and run Moondream 3.1 like any built-in tool.

**How much does Moondream 3.1 cost in Notion?**

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

**Do I need an OpenRouter account to use Moondream 3.1 in Notion?**

No. Spiral runs Moondream 3.1 on its own OpenRouter account. You sign in to Spiral once and never paste a key.

**How long does it take to set up Moondream 3.1 in Notion?**

About two minutes: allow custom MCP servers, then add Spiral to a custom agent, then sign in to Spiral and approve.

**Does Notion wait while Moondream 3.1 runs?**

Moondream 3.1 runs in the background. Notion starts the run, checks on it and gives you the text, json when it's ready.

**What is Moondream 3.1 useful for?**

Use it for visual questions, document extraction, and understanding crowded scenes such as shelves or bins of parts. Evaluate it on representative images before relying on its answers.

**Can Moondream 3.1 read receipts and invoices?**

Yes. Ask for the specific information you need, such as the merchant name, and request JSON when the result needs further processing.

**How should I write a visual question?**

Ask one specific question at a time. State the expected answer format, and explicitly request detail when you need a longer explanation.

**When should I enable reasoning?**

Use reasoning for questions that require several steps or careful visual interpretation. It generates additional analysis, so allow enough output space for both the analysis and the answer.

**Does Moondream 3.1 support structured answers?**

Yes. Include the JSON keys you want in the prompt so the answer has a defined structure.

