[Integrations](https://spiral.ai/integrations) › [Factory Droid](https://spiral.ai/integrations/factory-droid) › [Ember-1](https://spiral.ai/integrations/factory-droid/ember-1)

# How to Use Ember-1 in Factory Droid

Ember-1 is built for coding, document analysis, and tasks that require several reasoning steps. Built on Kimi K3, it uses about 40% fewer reasoning tokens while maintaining comparable quality in Fireworks' evaluations.

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

## Prompts to try with Ember-1 in Factory Droid

- Use Ember-1 to investigate the failing tests in this project. Reproduce one failure, trace its cause, make the smallest justified fix, and run the relevant tests.
- Use Ember-1 to review the current diff against the project's requirements. Report only correctness issues, with a file reference and a concrete failure scenario for each.
- Use Ember-1 to inspect the authentication code and its tests. Propose a refactor that preserves behavior, then implement the first step and verify it.
- Use Ember-1 to compare the README's documented behavior with the implementation. List discrepancies with file references and propose specific documentation corrections.
- Use Ember-1 to add regression coverage for the bug described in the current issue. Show that the test catches the failure, apply a focused fix, and rerun it.

## How to set up Ember-1 in Factory Droid

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

### Use Spiral's MCP server

1. **Add the server**: Droid saves it to your user config, `~/.factory/mcp.json`, so it works in every project.

```bash
droid mcp add spiral https://api.spiral.ai/mcp --type http
```

2. **Sign in**: Start `droid`, type `/mcp`, select spiral and authenticate it. Sign in to Spiral in the browser and click Authorize. No API key.

3. **Check it**: Spiral shows as connected. needs authentication means the sign-in did not finish: run `/mcp` again.

```bash
droid mcp list
```

### Use the Spiral skill

1. **Send Factory Droid 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 Ember-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": "fireworks/ember-1",
    "input": {
      "messages": [
        {
          "role": "system"
        }
      ]
    }
  }'
```

Then paste one of the prompts above: Factory Droid finds Ember-1 on Spiral, shows the price and runs it.

Setup guide in the docs: https://spiral.ai/docs/quickstarts/factory-droid

## Ember-1 tools and prices

- [Fireworks: Ember-1](https://spiral.ai/tools/openrouter/fireworks/ember-1) (OpenRouter): Up to $0.080009 per run at the default inputs. $3.90 per 1M input tokens, $19.50 per 1M output tokens.

## Settings you can ask for

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

## What can you do with Ember-1 in Factory Droid?

Use Ember-1 to investigate failures, review changes, and plan edits across a project's code. Give the agent a concrete acceptance test and ask it to check the result after making changes.

### Fix a reproducible bug

Give Ember-1 the failing behavior, relevant code, and test output. Request a focused patch and a regression test tied to the reported failure.

### Review a proposed code change

Ask Ember-1 to compare a patch with its requirements and identify correctness risks. Require a concrete failure scenario for each finding.

### Plan a refactor

Supply the current implementation and constraints. Ask Ember-1 for a staged refactor plan with behavior checks after each step.

### Compare long documents

Provide labeled documents and ask Ember-1 to extract agreements, contradictions, and unanswered questions, with section references for each finding.

### Prepare a research brief

Give Ember-1 collected source material and a decision to support. Request a brief that separates sourced findings, assumptions, and missing evidence.

### Explain an image

Supply an image and ask Ember-1 to describe its visible subjects and setting. Request that uncertain details be identified explicitly.

### Check a calculation

Provide the quantities, units, and rules. Ask Ember-1 to calculate the result, show the key equations, and flag missing inputs.

## Overview

- [OpenRouter](https://spiral.ai/providers/openrouter)
- [All Factory Droid guides](https://spiral.ai/integrations/factory-droid)

## Ember-1 in other agents

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

## More Factory Droid guides

- [Elorian Glimpse](https://spiral.ai/integrations/factory-droid/elorian-glimpse)
- [Fugu Max](https://spiral.ai/integrations/factory-droid/fugu-max)
- [ERNIE-Light-DT-1.0](https://spiral.ai/integrations/factory-droid/ernie-light-dt-1-0)
- [Fugu Ultra](https://spiral.ai/integrations/factory-droid/fugu-ultra)
- [Devstral 2](https://spiral.ai/integrations/factory-droid/devstral-2)
- [Fugu Ultra v2](https://spiral.ai/integrations/factory-droid/fugu-ultra-v2)

## Questions about Ember-1 in Factory Droid

**Can Factory Droid use Ember-1?**

Yes. Add Spiral to Factory Droid as an MCP server, and Factory Droid can find and run Ember-1 like any built-in tool.

**How much does Ember-1 cost in Factory Droid?**

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

**Do I need an OpenRouter account to use Ember-1 in Factory Droid?**

No. Spiral runs Ember-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 Ember-1 in Factory Droid?**

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

**Does Factory Droid wait while Ember-1 runs?**

Ember-1 runs in the background. Factory Droid starts the run, checks on it and gives you the text, json when it's ready.

**What is Ember-1 best suited for?**

Coding, knowledge work, and tasks that require several reasoning steps are its stated uses. Practical starting points include debugging code, comparing supplied documents, and turning research into a concise brief.

**How does Ember-1 differ from Kimi K3?**

Ember-1 builds on Kimi K3 and was trained to shorten its reasoning traces. Fireworks reports approximately 40% fewer tokens with comparable quality across its evaluations.

**How much context can Ember-1 handle?**

Fireworks lists approximately 1.04 million tokens of context. For document comparisons, label each source and request references to the sections behind each conclusion.

**Can Ember-1 analyze images?**

Yes. Ember-1 accepts images alongside text and returns text, so you can request a description or ask questions about visible content.

**Does shorter reasoning mean Ember-1 always matches Kimi K3?**

No. Fireworks reported 92.2% on SWE-bench Verified for Ember-1 versus 93.2% for Kimi K3 at maximum reasoning effort. Treat comparable quality as a benchmark finding and check generated code against your own tests.

