[Integrations](https://spiral.ai/integrations) › [Gemini](https://spiral.ai/integrations/gemini) › [Command R (08-2024)](https://spiral.ai/integrations/gemini/command-r-08-2024)

# How to Use Command R (08-2024) in Gemini

Command R (08-2024) suits document-based answers, multilingual support, and focused tool tasks. Compared with Command R (03-2024), it improves multilingual retrieval and tool use, with better control over answer length and formatting.

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

## Prompts to try with Command R (08-2024) in Gemini

- Use Command R (08-2024) to summarize the conversation above in five bullets: decisions, reasons, next steps, owners, and open questions. Mark anything unstated as unknown.
- Use Command R (08-2024) to answer my last question using only the source passages in this conversation. Name the supporting source for each claim and say when the passages do not answer the question.
- Use Command R (08-2024) to draft a French customer response based on the support guidance above. Keep it under 150 words and include only commitments supported by that guidance.
- Use Command R (08-2024) to compare the two product descriptions above. Return a table of differences with supporting excerpts, followed by three questions the descriptions leave unanswered.
- Use Command R (08-2024) to explain the code pasted above to a junior developer. Cover what it does, its inputs, and its error paths in under 400 words.

## How to set up Command R (08-2024) in Gemini

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

### Use the Gemini connector

1. **Open Connected Apps**: On your computer, go to gemini.google.com. At the bottom, click Settings › Connected Apps. If you don't see Connected Apps, click Personal Intelligence first, then Connected Apps.

2. **Add Spiral as a custom app**: Under Custom apps, click Add a custom app and paste this MCP server URL:

```text
https://api.spiral.ai/mcp
```

3. **Sign in to Spiral and approve**: Follow the on-screen instructions. Spiral opens: sign in, pick the organization and click Authorize. No API key.

### Use the Spiral skill

1. **Send Gemini 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 (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-08-2024",
    "input": {
      "messages": [
        {
          "role": "system"
        }
      ]
    }
  }'
```

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

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

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

- [Cohere: Command R (08-2024)](https://spiral.ai/tools/openrouter/cohere/command-r-08-2024) (OpenRouter): Up to $0.003128 per run at the default inputs. $0.195 per 1M input tokens, $0.78 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 (08-2024) in Gemini?

Get concise answers and summaries from supplied text, including responses in Command R's optimized languages. Use Command R (08-2024) to turn source passages into explanations with evidence you can check.

### Knowledge-base answers

Answer a specific question from retrieved help articles, identify supporting passages, and flag missing evidence.

### Multilingual support drafts

Draft a response in Spanish, French, Japanese, or another optimized language using supplied support guidance.

### Meeting summaries

Turn a text transcript into decisions, action items, and open questions without inventing owners or deadlines.

### Code explanations and rewrites

Explain a supplied function or rewrite it against explicit requirements, keeping the request focused on a defined change.

### Document comparisons

Compare two supplied policy or product descriptions and cite passages that establish each difference.

### Support record lookups

Use a focused lookup tool to retrieve a support record, then summarize the returned status and next step.

### Source-based briefings

Condense retrieved updates into a short briefing with source references and a separate list of unresolved questions.

## Overview

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

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

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

## More Gemini guides

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

## Questions about Command R (08-2024) in Gemini

**Can Gemini use Command R (08-2024)?**

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

**How much does Command R (08-2024) cost in Gemini?**

Up to $0.003128 per run at the default inputs. $0.195 per 1M input tokens, $0.78 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 plan is separate.

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

No. Spiral runs Command R (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 (08-2024) in Gemini?**

About two minutes: open Connected Apps, then add Spiral as a custom app, then sign in to Spiral and approve.

**Does Gemini wait while Command R (08-2024) runs?**

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

**What is Command R (08-2024) good at?**

It suits answers grounded in retrieved documents, multilingual support, and focused tool tasks. Practical uses include knowledge-base answers, summaries, and code explanations.

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

It has a 128,000-token context window and can generate up to 4,000 tokens per response. For longer deliverables, request separate sections.

**Which languages does Command R support?**

Its optimized languages are English, French, Spanish, Italian, German, Brazilian Portuguese, Japanese, Korean, Simplified Chinese, and Arabic.

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

Use it for code explanations, requested snippets, and rewrites with clear instructions. Cohere warns that pure code completion may perform poorly.

**How does Command R compare with Command R+?**

Cohere positions Command R for simpler document retrieval and single-step tool tasks. It recommends Command R+ for complex retrieval and workflows involving multiple tool steps.

