[Integrations](https://spiral.ai/integrations) › [Gemini CLI](https://spiral.ai/integrations/gemini-cli) › [Muse Spark Open](https://spiral.ai/integrations/gemini-cli/muse-spark-open)

# How to Use Muse Spark Open in Gemini CLI

Muse Spark Open is Meta's open-weight model for debugging, software engineering, and tasks that require several reasoning steps. Its 1,048,576-token context window gives it room for extensive code and reference material.

|  |  |
| --- | --- |
| Model | Muse Spark Open |
| Available through | OpenRouter |
| Category | LLM |
| Price | Up to $0.022688 per run at the default inputs. $1.625 per 1M input tokens, $5.525 per 1M output tokens. |
| Returns | text, json |
| Runs | In the background |
| Setup | About 2 minutes, no API key |

## Prompts to try with Muse Spark Open in Gemini CLI

- Use Muse Spark Open with high reasoning effort to trace the failing tests through this project's code. Identify the cause, make the smallest justified fix, and run the relevant tests.
- Use Muse Spark Open to review the current diff for correctness. Prioritize behavior changes and missing edge cases, and cite the relevant files and lines.
- Use Muse Spark Open with high reasoning effort to inspect this project's background workers for race conditions. Explain a concrete failure sequence and propose a regression test.
- Use Muse Spark Open to plan this project's dependency migration. Read the dependency declarations and affected imports, then list ordered changes and checks.
- Use Muse Spark Open to compare the implementation with this project's documented requirements. List discrepancies with code references and suggest focused fixes.

## How to set up Muse Spark Open 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 Muse Spark Open**: 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": "meta/muse-spark-open",
    "input": {
      "messages": [
        {
          "role": "system"
        }
      ]
    }
  }'
```

Then paste one of the prompts above: Gemini CLI finds Muse Spark Open on Spiral, shows the price and runs it.

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

## Muse Spark Open tools and prices

- [Meta: Muse Spark Open](https://spiral.ai/tools/openrouter/meta/muse-spark-open) (OpenRouter): Up to $0.022688 per run at the default inputs. $1.625 per 1M input tokens, $5.525 per 1M output tokens.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| seed |  | — |  |
| stop |  | — |  |
| min_p | 0 to 1 | — |  |
| tools |  | — |  |
| top_k | 0 to … | — |  |
| top_p | 0 to 1 | — |  |

## What can you do with Muse Spark Open in Gemini CLI?

Muse Spark Open can help carry a software task from investigation through a proposed fix and validation. Give it the relevant code, constraints, and a clear completion condition.

### Trace a bug across components

Use Muse Spark Open to follow a failing request through related code, propose a cause, and identify a test that would confirm it.

### Plan a software migration

Ask Muse Spark Open to turn requirements and compatibility constraints into ordered changes, validation checks, and rollback points.

### Review a patch for correctness

Have Muse Spark Open examine a patch for behavior changes, missing cases, and assumptions that need testing.

### Compare technical proposals

Give Muse Spark Open competing designs and explicit constraints, then request tradeoffs and unresolved questions.

### Triage incoming reports

Use Muse Spark Open with low reasoning effort to classify reports, extract reproduction details, and flag missing evidence.

### Investigate a failed workflow

Ask Muse Spark Open to reason through successive tool results, locate the failed step, and propose a recovery plan.

## Overview

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

## Muse Spark Open in other agents

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

## More Gemini CLI guides

- [Muse Spark 1.3 Contributor](https://spiral.ai/integrations/gemini-cli/muse-spark-1-3-contributor)
- [Muse Wonder](https://spiral.ai/integrations/gemini-cli/muse-wonder)
- [Muse Spark 1.3](https://spiral.ai/integrations/gemini-cli/muse-spark-1-3)
- [MythoMax 13B](https://spiral.ai/integrations/gemini-cli/mythomax-13b)
- [Muse Spark 1.2 Contributor](https://spiral.ai/integrations/gemini-cli/muse-spark-1-2-contributor)
- [Nemotron 3 Nano 30B A3B](https://spiral.ai/integrations/gemini-cli/nemotron-3-nano-30b-a3b)

## Questions about Muse Spark Open in Gemini CLI

**Can Gemini CLI use Muse Spark Open?**

Yes. Add Spiral to Gemini CLI as an MCP server, and Gemini CLI can find and run Muse Spark Open like any built-in tool.

**How much does Muse Spark Open cost in Gemini CLI?**

Up to $0.022688 per run at the default inputs. $1.625 per 1M input tokens, $5.525 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 Muse Spark Open in Gemini CLI?**

No. Spiral runs Muse Spark Open on its own OpenRouter account. You sign in to Spiral once and never paste a key.

**How long does it take to set up Muse Spark Open in Gemini CLI?**

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

**Does Gemini CLI wait while Muse Spark Open runs?**

Muse Spark Open runs in the background. Gemini CLI starts the run, checks on it and gives you the text, json when it's ready.

**What is Muse Spark Open best suited for?**

Meta designed Muse Spark Open for coding and agentic work. Useful tasks include debugging across several components, planning software changes, and working through problems that require multiple steps.

**How much context can Muse Spark Open handle?**

Meta specifies a 1,048,576-token context window. That is the context limit, not a promise of an equally long answer.

**Can I turn off reasoning?**

No. Muse Spark Open always reasons before answering; use a lower reasoning effort for simpler requests.

**Which reasoning effort should I choose?**

Use low for extraction or classification, medium for general agent tasks, and high for difficult debugging or multi-step problems. Choose xhigh when a deeper attempt matters more than response speed.

**Does Muse Spark Open support languages besides English?**

Yes. Meta says it was trained on data from more than 100 languages; test representative examples in your target language before relying on the results.

