[Integrations](https://spiral.ai/integrations) › [VS Code](https://spiral.ai/integrations/vscode) › [Command R Plus (08-2024)](https://spiral.ai/integrations/vscode/command-r-plus-08-2024)

# How to Use Command R Plus (08-2024) in VS Code

Use Command R+ (08-2024) for document-based answers, multilingual summaries, and tasks that need several tool calls. Compared with Command R+ (04-2024), it improves decisions about which tool to use and whether a tool is needed.

|  |  |
| --- | --- |
| Model | Command R Plus (08-2024) |
| Available through | OpenRouter |
| Category | LLM |
| Price | Up to $0.052115 per run at the default inputs. $3.25 per 1M input tokens, $13.00 per 1M output tokens. |
| Returns | text, json |
| Runs | In the background |
| Setup | About 2 minutes, no API key |

## Prompts to try with Command R Plus (08-2024) in VS Code

- Use Command R+ (08-2024) to explain the authentication flow in this project's source files. Cite file paths and function names, identify assumptions, and keep the explanation under 700 words.
- Use Command R+ (08-2024) to rewrite the project's date-parsing helper for clarity while preserving its documented behavior. Read the existing tests first, return a focused patch, and identify any behavior the tests leave unspecified.
- Use Command R+ (08-2024) to answer questions about retry behavior using the README, configuration code, and tests. Reference the exact evidence for each answer and flag contradictions.
- Use Command R+ (08-2024) to turn the project's release notes into a migration checklist. Show the source entry for each required change and keep the checklist under 600 words.
- Use Command R+ (08-2024) to extract the project's error messages into a review table. Include the triggering condition, source location, and a clearer proposed message; follow the wording conventions already used in the project.

## How to set up Command R Plus (08-2024) in VS Code

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

### Use Spiral's MCP server

1. **Add the hosted server**: Use Add to VS Code on the console's Agents & MCP page, or run:

```bash
code --add-mcp '{"name":"spiral","type":"http","url":"https://api.spiral.ai/mcp"}'
```

2. **Sign in**: VS Code asks you to sign in when it first starts the server: sign in to Spiral and click Authorize. No API key. Run MCP: List Servers from the Command Palette to check that Spiral is running.

### Use the Spiral skill

1. **Send VS Code 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 Command R Plus (08-2024)**: 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": "cohere/command-r-plus-08-2024",
    "input": {
      "messages": [
        {
          "role": "system"
        }
      ]
    }
  }'
```

Then paste one of the prompts above: VS Code finds Command R Plus (08-2024) on Spiral, shows the price and runs it.

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

## Command R Plus (08-2024) tools and prices

- [Cohere: Command R+ (08-2024)](https://spiral.ai/tools/openrouter/cohere/command-r-plus-08-2024) (OpenRouter): Up to $0.052115 per run at the default inputs. $3.25 per 1M input tokens, $13.00 per 1M output tokens.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| seed |  | — |  |
| stop |  | — |  |
| tools |  | — |  |
| top_k | 0 to … | — |  |
| top_p | 0 to 1 | — |  |
| max_tokens | 1 to 4000 | — | The most output tokens to generate. |

## What can you do with Command R Plus (08-2024) in VS Code?

Turn project code and documentation into explanations, focused rewrites, and answers with source references. Give Command R+ (08-2024) explicit tasks and relevant files, since Cohere cautions about pure code completion.

### Support answers from policy text

Draft a reply using the relevant help articles and policy excerpts. Request a source reference for each policy claim and flag missing information.

### Research across several sources

Use successive searches to identify an organization, retrieve its relevant announcements, and assemble a brief with source links.

### Multilingual support summaries

Summarize Spanish, French, or Japanese customer messages in English. Preserve product names and include the original passage behind each reported issue.

### Meeting action extraction

Turn a meeting transcript into a table of decisions, owners, and deadlines. Mark owners or dates as unspecified when the transcript leaves them out.

### Code explanations and focused rewrites

Explain a function, identify its assumptions, or request a rewrite with explicit behavior requirements. Keep each request focused on a manageable section of code.

### Policy comparison

Compare two policy texts and list changed requirements, exceptions, and unanswered questions. Reference the relevant passages from both texts.

### Recurring operations briefs

Combine retrieved incident updates and service notices into a short status brief. Separate reported facts from unresolved questions and retain source links.

## Overview

- [OpenRouter](https://spiral.ai/providers/openrouter)
- [All VS Code guides](https://spiral.ai/integrations/vscode)

## Command R Plus (08-2024) in other agents

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

## More VS Code guides

- [Command R (08-2024)](https://spiral.ai/integrations/vscode/command-r-08-2024)
- [Command R7B (12-2024)](https://spiral.ai/integrations/vscode/command-r7b-12-2024)
- [Command A Plus](https://spiral.ai/integrations/vscode/command-a-plus)
- [Cydonia 24B V4.1](https://spiral.ai/integrations/vscode/cydonia-24b-v4-1)
- [Command A](https://spiral.ai/integrations/vscode/command-a)
- [DaisyRose 27B](https://spiral.ai/integrations/vscode/daisyrose-27b)

## Questions about Command R Plus (08-2024) in VS Code

**Can VS Code use Command R Plus (08-2024)?**

Yes. Add Spiral to VS Code as an MCP server, and VS Code can find and run Command R Plus (08-2024) like any built-in tool.

**How much does Command R Plus (08-2024) cost in VS Code?**

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

**Do I need an OpenRouter account to use Command R Plus (08-2024) in VS Code?**

No. Spiral runs Command R Plus (08-2024) on its own OpenRouter account. You sign in to Spiral once and never paste a key.

**How long does it take to set up Command R Plus (08-2024) in VS Code?**

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

**Does VS Code wait while Command R Plus (08-2024) runs?**

Command R Plus (08-2024) runs in the background. VS Code starts the run, checks on it and gives you the text, json when it's ready.

**What is Command R+ (08-2024) useful for?**

Use it to answer questions from supplied sources, summarize documents, and handle tasks that need several tool calls. Examples include policy answers with source references and research briefs assembled through successive searches.

**How much text can Command R+ (08-2024) handle?**

It has a 128,000-token context window and a maximum output of 4,000 tokens. For a long report, request an outline first, then draft sections separately.

**Which languages is Command R+ optimized for?**

English, French, Spanish, Italian, German, Brazilian Portuguese, Japanese, Korean, Simplified Chinese, and Arabic. State the desired answer language explicitly when your sources use several languages.

**Is Command R+ (08-2024) good for coding?**

It is designed for requested code snippets, explanations, and rewrites. Cohere cautions that pure code completion may perform poorly, so give it a specific task and the relevant code.

**How should I prompt Command R+ for a consistent format?**

Describe the task and show an example of the answer you want. Cohere notes that examples in the system prompt may improve generation quality.

