[Integrations](https://spiral.ai/integrations) › [Factory Droid](https://spiral.ai/integrations/factory-droid) › [Claude Sonnet Latest](https://spiral.ai/integrations/factory-droid/claude-sonnet-latest)

# How to Use Claude Sonnet Latest in Factory Droid

Use Claude Sonnet Latest for scoped coding, code review, and document drafts. Anthropic positions Claude Sonnet 5.5 for everyday work and Claude Opus 5.5 for complex, open-ended tasks.

|  |  |
| --- | --- |
| Model | Claude Sonnet Latest |
| Available through | Anthropic |
| Category | LLM |
| Price | Up to $0.05343 per run at the default inputs. $2.60 per 1M input tokens, $0.13 per 1M cached input tokens, $3.25 per 1M cache write tokens, $5.20 per 1M 1-hour cache write tokens, $13.00 per 1M output tokens; for a prompt above 200,000 tokens, $5.20 per 1M input tokens, $0.26 per 1M cached input tokens, $6.50 per 1M cache write tokens, $10.40 per 1M 1-hour cache write 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 Claude Sonnet Latest in Factory Droid

- Use Claude Sonnet Latest at medium reasoning effort to investigate the failing tests in this project. Identify the cause, make the smallest relevant fix, run the affected tests, and report the results.
- Use Claude Sonnet Latest to review the current diff for correctness bugs. Report only findings with a concrete failure scenario and a code location; leave the files unchanged.
- Use Claude Sonnet Latest to trace authentication from the request handler to session validation in this project. Cite the relevant files and explain where an expired session is rejected.
- Use Claude Sonnet Latest at high reasoning effort to investigate duplicate submissions in this project. Trace the request flow, propose a focused fix, and verify that repeated requests cannot create duplicate records.
- Use Claude Sonnet Latest to draft release notes from this project's completed changes since the last release. Describe user-visible behavior, link each point to its supporting change, and omit unfinished work.

## How to set up Claude Sonnet Latest 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 Claude Sonnet Latest**: 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": "anthropic",
    "model": "~anthropic/claude-sonnet-latest",
    "input": {
      "messages": [
        {
          "role": "system"
        }
      ]
    }
  }'
```

Then paste one of the prompts above: Factory Droid finds Claude Sonnet Latest on Spiral, shows the price and runs it.

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

## Claude Sonnet Latest tools and prices

- [Claude Sonnet Latest](https://spiral.ai/tools/anthropic/~anthropic/claude-sonnet-latest) (Anthropic): Up to $0.05343 per run at the default inputs. $2.60 per 1M input tokens, $0.13 per 1M cached input tokens, $3.25 per 1M cache write tokens, $5.20 per 1M 1-hour cache write tokens, $13.00 per 1M output tokens; for a prompt above 200,000 tokens, $5.20 per 1M input tokens, $0.26 per 1M cached input tokens, $6.50 per 1M cache write tokens, $10.40 per 1M 1-hour cache write tokens, $19.50 per 1M output tokens.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| stop |  | — |  |
| tools |  | — |  |
| reasoning |  | — | Reasoning effort; reasoning tokens count toward max_tokens. |
| max_tokens | 1 to 128000 | — | The most output tokens to generate. On a reasoning model the reasoning tokens count toward it: a cap too low for the effort can end with no answer (finish_reason length). |
| tool_choice |  | — |  |
| response_format |  | — |  |

## What can you do with Claude Sonnet Latest in Factory Droid?

Use Claude Sonnet to turn a defined issue into a focused code change or review. Give the agent relevant project context, an expected outcome, and a check that proves the result.

### Fix a reproducible bug

Give Claude Sonnet the failing behavior, expected result, and relevant code. Request a focused patch and a check that exercises the failure.

### Review a proposed code change

Ask Claude Sonnet to inspect a diff for correctness problems and missing edge cases. Require each finding to identify the affected code and explain a concrete failure.

### Explain an unfamiliar codebase

Have Claude Sonnet trace one request through the relevant modules. Ask for entry points, data transformations, and the code supporting each explanation.

### Compare source documents

Ask Claude Sonnet to compare requirements or proposals, quoting the passages behind each difference. Separate explicit commitments from missing information.

### Draft support replies

Provide a customer message and approved policy text. Ask Claude Sonnet for a concise draft that answers the question and flags anything the policy does not establish.

### Translate product communications

Ask Claude Sonnet to translate release announcements or support replies into a specified language. Supply terminology to preserve and review the result with a fluent speaker.

### Write release notes from completed work

Give Claude Sonnet completed change descriptions and ask for user-facing release notes. Require every statement to trace back to a supplied change.

### Analyze customer feedback

Ask Claude Sonnet to organize supplied feedback into recurring problems, supporting examples, and unresolved questions. Keep observations separate from proposed explanations.

## Overview

- [Anthropic Claude](https://spiral.ai/providers/anthropic)
- [All Factory Droid guides](https://spiral.ai/integrations/factory-droid)

## Claude Sonnet Latest in other agents

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

## More Factory Droid guides

- [Claude Sonnet 5.5](https://spiral.ai/integrations/factory-droid/claude-sonnet-5-5)
- [Codestral 2508](https://spiral.ai/integrations/factory-droid/codestral-2508)
- [Claude Sonnet 5](https://spiral.ai/integrations/factory-droid/claude-sonnet-5)
- [Command A](https://spiral.ai/integrations/factory-droid/command-a)
- [Claude Sonnet 4.6](https://spiral.ai/integrations/factory-droid/claude-sonnet-4-6)
- [Command A Plus](https://spiral.ai/integrations/factory-droid/command-a-plus)

## Questions about Claude Sonnet Latest in Factory Droid

**Can Factory Droid use Claude Sonnet Latest?**

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

**How much does Claude Sonnet Latest cost in Factory Droid?**

Up to $0.05343 per run at the default inputs. $2.60 per 1M input tokens, $0.13 per 1M cached input tokens, $3.25 per 1M cache write tokens, $5.20 per 1M 1-hour cache write tokens, $13.00 per 1M output tokens; for a prompt above 200,000 tokens, $5.20 per 1M input tokens, $0.26 per 1M cached input tokens, $6.50 per 1M cache write tokens, $10.40 per 1M 1-hour cache write 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 Anthropic account to use Claude Sonnet Latest in Factory Droid?**

No. Spiral runs Claude Sonnet Latest on its own Anthropic account. You sign in to Spiral once and never paste a key.

**How long does it take to set up Claude Sonnet Latest in Factory Droid?**

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

**Does Factory Droid wait while Claude Sonnet Latest runs?**

Claude Sonnet Latest runs in the background. Factory Droid starts the run, checks on it and gives you the text, json when it's ready.

**What is Claude Sonnet good at?**

Claude Sonnet is useful for everyday development, including feature work, bug fixes, and code review. Document drafting and data analysis are also documented uses for Claude Sonnet 5.5.

**Where does Claude Sonnet fall short?**

Anthropic finds Claude Opus 5.5 stronger than Claude Sonnet 5.5 on complex, open-ended work requiring sustained judgment. Give Claude Sonnet a defined task and a clear completion condition.

**How much text can Claude Sonnet handle?**

Anthropic documents a 1 million-token context window and a 128,000-token maximum output for Claude Sonnet 5.5.

**Which reasoning effort should I use?**

For Claude Sonnet 5.5 coding and multistep tool tasks, start with medium effort when the task is well specified. Move to high for harder or longer work, and compare results on representative tasks.

**Can Claude Sonnet work in languages other than English?**

Yes. Claude processes and generates text in most world languages using standard Unicode characters, although performance varies by language. Check examples in the languages your work requires.

