[Integrations](https://spiral.ai/integrations) › [Gemini CLI](https://spiral.ai/integrations/gemini-cli) › [Perceptron Mk1.5](https://spiral.ai/integrations/gemini-cli/perceptron-mk1-5)

# How to Use Perceptron Mk1.5 in Gemini CLI

Perceptron Mk1.5 turns images and recordings into descriptions, extracted text, and spatial or timed annotations. Compared with Perceptron Mk1, it adds native audio support and video object tracking.

|  |  |
| --- | --- |
| Model | Perceptron Mk1.5 |
| Available through | OpenRouter |
| Category | LLM |
| Price | Up to $0.007995 per run at the default inputs. $0.195 per 1M input tokens, $1.95 per 1M output tokens. |
| Returns | text, json |
| Runs | In the background |
| Setup | About 2 minutes, no API key |

## Prompts to try with Perceptron Mk1.5 in Gemini CLI

- Use Perceptron Mk1.5 to transcribe the scanned pages in this project's test assets into Markdown. Preserve reading order and mark unreadable spans.
- Use Perceptron Mk1.5 to count visible cartons in the project's warehouse photo. List the evidence for each count and exclude pallets.
- Use Perceptron Mk1.5 to find every door-opening event in the project's sample video. Produce separate start and end times in seconds.
- Use Perceptron Mk1.5 to analyze the project's basketball clip. Track only visible ball positions with timestamps, leaving gaps during occlusion.
- Use Perceptron Mk1.5 to draft captions for this project's image assets. Describe visible objects and layout without inferring intentions.

## How to set up Perceptron Mk1.5 in Gemini CLI

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

### Use Spiral's MCP server

1. **Add the server**: Or add it to `~/.gemini/settings.json` yourself:

```bash
gemini mcp add --scope user --transport http spiral https://api.spiral.ai/mcp
```

2. **Sign in**: Start `gemini` and run:

```text
/mcp auth spiral
```

3. **Check it**: In Gemini CLI, run `/mcp`. From your shell:

```bash
gemini mcp list
```

### Use the Spiral skill

1. **Send Gemini CLI 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 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 Perceptron Mk1.5**: 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": "perceptron/perceptron-mk1.5",
    "input": {
      "messages": [
        {
          "role": "system"
        }
      ]
    }
  }'
```

Then paste one of the prompts above: Gemini CLI finds Perceptron Mk1.5 on Spiral, shows the price and runs it.

Setup guide in the docs: https://spiral.ai/docs/quickstarts/gemini-cli

## Perceptron Mk1.5 tools and prices

- [Perceptron: Perceptron Mk1.5](https://spiral.ai/tools/openrouter/perceptron/perceptron-mk1.5) (OpenRouter): Up to $0.007995 per run at the default inputs. $0.195 per 1M input tokens, $1.95 per 1M output tokens.

## Settings you can ask for

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

## What can you do with Perceptron Mk1.5 in Gemini CLI?

Turn project images and recordings into reviewable text, counts, and event timelines. Use Perceptron Mk1.5 to draft evidence that your code can validate and display.

### Turn document images into editable text

Transcribe scanned pages in reading order, preserving headings and tables. Mark unreadable text instead of filling it in.

### Count visible inventory

Count a named object category in a shelf photo. Define exclusions and request a location for each counted object so the result can be reviewed.

### Find repeated actions in video

Locate each door opening or other clearly described event. Return separate start and end times for review.

### Review a ball's movement

Follow a clearly identified ball through a sports clip. Request observed positions with timestamps and leave gaps when it disappears.

### Describe image collections

Draft captions covering visible objects, their arrangement, and the setting. Keep uncertain interpretations separate from observations.

### Summarize recorded discussions

Extract stated decisions and unresolved questions from short recordings. Flag unclear speech rather than inventing missing words.

## Overview

- [OpenRouter](https://spiral.ai/providers/openrouter)
- [All Gemini CLI guides](https://spiral.ai/integrations/gemini-cli)

## Perceptron Mk1.5 in other agents

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

## More Gemini CLI guides

- [Perceptron Mk1](https://spiral.ai/integrations/gemini-cli/perceptron-mk1)
- [Phi-4](https://spiral.ai/integrations/gemini-cli/phi-4)
- [Particle-1](https://spiral.ai/integrations/gemini-cli/particle-1)
- [Pixtral Large 2502](https://spiral.ai/integrations/gemini-cli/pixtral-large-2502)
- [Pareto Latest](https://spiral.ai/integrations/gemini-cli/pareto-latest)
- [Qwen Plus](https://spiral.ai/integrations/gemini-cli/qwen-plus)

## Questions about Perceptron Mk1.5 in Gemini CLI

**Can Gemini CLI use Perceptron Mk1.5?**

Yes. Add Spiral to Gemini CLI as an MCP server, and Gemini CLI can find and run Perceptron Mk1.5 like any built-in tool.

**How much does Perceptron Mk1.5 cost in Gemini CLI?**

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

**Do I need an OpenRouter account to use Perceptron Mk1.5 in Gemini CLI?**

No. Spiral runs Perceptron Mk1.5 on its own OpenRouter account. You sign in to Spiral once and never paste a key.

**How long does it take to set up Perceptron Mk1.5 in Gemini CLI?**

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

**Does Gemini CLI wait while Perceptron Mk1.5 runs?**

Perceptron Mk1.5 runs in the background. Gemini CLI starts the run, checks on it and gives you the text, json when it's ready.

**What is Perceptron Mk1.5 useful for?**

Use it to inspect visual evidence: read text in images, count visible objects, locate events in video, and follow an object over time. It also summarizes recordings and transcribes speech.

**Does Perceptron Mk1.5 generate audio?**

It analyzes recordings and returns text. It does not generate audio.

**How much content can Perceptron Mk1.5 handle?**

The context window is 36,864 tokens, with up to 8,192 completion tokens. Audio also has a separate cap of 16,384 audio tokens per recording, approximately 21.8 minutes; split longer recordings.

**Can Perceptron Mk1.5 track an object through every video frame?**

It returns timestamped observations that may be sparse. Treat gaps as missing evidence, especially when the object is hidden or off-screen.

**Does valid JSON mean the extracted information is correct?**

No. A schema controls the answer's structure, but the model can still misread the image or interpret it incorrectly. Check extracted values against the source.

