[Integrations](https://spiral.ai/integrations) › [Cursor](https://spiral.ai/integrations/cursor) › [Llama 4 Scout](https://spiral.ai/integrations/cursor/llama-4-scout)

# How to Use Llama 4 Scout in Cursor

Llama 4 Scout suits summaries across multiple documents and questions about large codebases. Its distinguishing feature is Meta's documented 10-million-token input context window.

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

## Prompts to try with Llama 4 Scout in Cursor

- Use Llama 4 Scout to trace how an incoming request reaches the database in this project. Cite file paths and function names, and mark any missing links.
- Use Llama 4 Scout to compare the project's architecture notes with its implementation. List contradictions with a document reference and a code excerpt for each.
- Use Llama 4 Scout to review the source files involved in authentication. Explain the control flow and identify questions that require runtime evidence.
- Use Llama 4 Scout to summarize the migration notes and affected modules in this repository. Return dependencies, likely edit locations, and unresolved assumptions.
- Use Llama 4 Scout at a low temperature to extract configuration names and their documented purposes from this project's files. Cite each source and flag conflicting definitions.

## How to set up Llama 4 Scout in Cursor

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

### Use Spiral's MCP server

1. **Add the hosted server**: Use Add to Cursor on the console's Agents & MCP page, or add this to `.cursor/mcp.json` (one project) or `~/.cursor/mcp.json` (every project):

```json
{
  "mcpServers": {
    "spiral": { "url": "https://api.spiral.ai/mcp" }
  }
}
```

2. **Sign in**: Open Cursor Settings › MCP, click Connect next to spiral, sign in to Spiral and click Authorize. No API key. Spiral then shows as connected, with its tools listed.

### Use the Spiral skill

1. **Send Cursor 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 Llama 4 Scout**: 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-llama/llama-4-scout",
    "input": {
      "messages": [
        {
          "role": "system"
        }
      ]
    }
  }'
```

Then paste one of the prompts above: Cursor finds Llama 4 Scout on Spiral, shows the price and runs it.

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

## Llama 4 Scout tools and prices

- [Meta: Llama 4 Scout](https://spiral.ai/tools/openrouter/meta-llama/llama-4-scout) (OpenRouter): Up to $0.001603 per run at the default inputs. $0.13 per 1M input tokens, $0.39 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 Llama 4 Scout in Cursor?

Llama 4 Scout can help trace behavior across project files and summarize the documentation behind a change. Ask for file references and supporting code excerpts so you can inspect each conclusion.

### Compare research reports

Ask Llama 4 Scout to summarize several reports, separate agreements from contradictions, and attach a source label to each finding.

### Trace behavior across a codebase

Give Llama 4 Scout the relevant source files and ask it to follow a request across modules, citing functions and paths.

### Review a long support history

Have Llama 4 Scout organize supplied conversations into recurring problems, attempted fixes, and unresolved questions.

### Prepare multilingual summaries

Ask Llama 4 Scout to summarize supplied material in Spanish, French, or another supported text language while preserving names and technical terms.

### Compare product photos

Give Llama 4 Scout two product images and request a written list of visible differences, separating observations from guesses.

### Build an activity-based briefing

Use Llama 4 Scout to turn supplied activity records into a chronology of completed work, repeated requests, and open commitments.

### Draft image descriptions

Ask Llama 4 Scout for concise descriptions of supplied images, with explicit uncertainty where a detail is unclear.

## Overview

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

## Llama 4 Scout in other agents

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

## More Cursor guides

- [Llama 4 Maverick](https://spiral.ai/integrations/cursor/llama-4-maverick)
- [Llama Guard 4 12B](https://spiral.ai/integrations/cursor/llama-guard-4-12b)
- [Llama 3.3 70B Instruct](https://spiral.ai/integrations/cursor/llama-3-3-70b-instruct)
- [LongCat 2.0](https://spiral.ai/integrations/cursor/longcat-2-0)
- [Llama 3.1 Euryale 70B v2.2](https://spiral.ai/integrations/cursor/llama-3-1-euryale-70b-v2-2)
- [Magnum v4 72B](https://spiral.ai/integrations/cursor/magnum-v4-72b)

## Questions about Llama 4 Scout in Cursor

**Can Cursor use Llama 4 Scout?**

Yes. Add Spiral to Cursor as an MCP server, and Cursor can find and run Llama 4 Scout like any built-in tool.

**How much does Llama 4 Scout cost in Cursor?**

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

**Do I need an OpenRouter account to use Llama 4 Scout in Cursor?**

No. Spiral runs Llama 4 Scout on its own OpenRouter account. You sign in to Spiral once and never paste a key.

**How long does it take to set up Llama 4 Scout in Cursor?**

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

**Does Cursor wait while Llama 4 Scout runs?**

Llama 4 Scout runs in the background. Cursor starts the run, checks on it and gives you the text, json when it's ready.

**What is Llama 4 Scout useful for?**

Start with summaries across multiple documents, questions about large codebases, or analysis of long activity histories. Give each source a label and ask Scout to identify the evidence behind its conclusions.

**What does Llama 4 Scout's 10-million-token context mean?**

Meta documents it as an input context length. Treat it as capacity for source material, rather than a promise of a 10-million-token answer.

**Which languages does Llama 4 Scout support?**

The 12 supported text languages are Arabic, English, French, German, Hindi, Indonesian, Italian, Portuguese, Spanish, Tagalog, Thai, and Vietnamese. Specify the language you want in the answer.

**Can Llama 4 Scout compare images?**

Yes, it can analyze image inputs and return a written comparison. Meta tested image understanding with up to five input images; that is a tested scope, not proof of equal performance with larger sets.

**Can I trust every detail in a Llama 4 Scout answer?**

No. Meta warns that it can produce inaccurate responses, so ask for supporting passages and check consequential claims against the original material.

