[Integrations](https://spiral.ai/integrations) › [Perplexity](https://spiral.ai/integrations/perplexity) › [Grok Latest](https://spiral.ai/integrations/perplexity/grok-latest)

# How to Use Grok Latest in Perplexity

Grok Latest suits coding, document analysis, and tasks that need several reasoning steps. Unlike Grok 4.7, it follows the newest Grok model, so behavior and limits can change as the alias updates.

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

## Prompts to try with Grok Latest in Perplexity

- Use Grok Latest to compare the two proposals pasted above. Evaluate reliability, maintenance effort, and migration risk. Recommend one in under 500 words and cite the passages supporting your recommendation.
- Use Grok Latest to check the calculation above. Verify the units and assumptions, test two boundary cases, and explain any error with a corrected worked example.
- Use Grok Latest to turn the notes above into a one-page decision memo. Include the decision, supporting evidence, unresolved questions, and three next actions. Keep unsupported assumptions explicit.
- Use Grok Latest to create an eight-slide presentation outline from the brief above. Give each slide one central point, supporting evidence, and speaker notes. Preserve all supplied figures exactly.
- Use Grok Latest to explain the algorithm pasted above to a junior developer. Include a small worked example, its time complexity, and the inputs most likely to expose a bug.

## How to set up Grok Latest in Perplexity

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

### Use the Perplexity connector

1. **Add a remote connector**: In Perplexity, open Plugins in the sidebar (or Customize › Connectors if you don't see Plugins yet). Choose Add custom › Add MCP connector, then Remote. Name it Spiral and paste this MCP server URL:

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

2. **Sign in to Spiral and approve**: Select the Spiral card on the Plugins page to start sign-in. Spiral opens: sign in, pick the organization and click Authorize. No API key.

### Use the Spiral skill

1. **Send Perplexity 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 Grok 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": "openrouter",
    "model": "~x-ai/grok-latest",
    "input": {
      "messages": [
        {
          "role": "system"
        }
      ]
    }
  }'
```

Then paste one of the prompts above: Perplexity finds Grok Latest on Spiral, shows the price and runs it.

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

## Grok Latest tools and prices

- [xAI: Grok Latest](https://spiral.ai/tools/openrouter/~x-ai/grok-latest) (OpenRouter): Up to $0.03204 per run at the default inputs. $2.60 per 1M input tokens, $7.80 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 | — |  |
| logprobs |  | — |  |

## What can you do with Grok Latest in Perplexity?

Grok Latest can turn supplied technical material into a comparison, explanation, or decision memo. State the audience and required evidence so the answer serves a specific decision.

### Fix bugs across a codebase

Have Grok Latest trace a reported failure through related functions, propose a focused patch, and verify it against the reproduction steps.

### Plan a refactor

Ask Grok Latest to compare implementation approaches, identify dependencies, and produce a migration plan with explicit acceptance criteria.

### Compare long technical proposals

Give Grok Latest the proposal text and decision criteria. Request a comparison that ties each recommendation to supporting passages.

### Draft a decision memo

Turn supplied research and meeting notes into a memo with a recommendation, supporting evidence, unresolved questions, and next actions.

### Outline a presentation

Ask Grok Latest to turn a technical brief into a slide-by-slide narrative with speaker notes and evidence for each central claim.

### Review quantitative reasoning

Provide a calculation, its assumptions, and the relevant data. Have Grok Latest check units, test boundary cases, and explain discrepancies.

### Synthesize recurring research updates

Compare newly supplied source excerpts with a previous summary. Ask Grok Latest to identify changed conclusions and explain which evidence caused each change.

## Overview

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

## Grok Latest in other agents

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

## More Perplexity guides

- [Grok 4.7](https://spiral.ai/integrations/perplexity/grok-4-7)
- [Hermes 4 405B](https://spiral.ai/integrations/perplexity/hermes-4-405b)
- [Grok 4.6](https://spiral.ai/integrations/perplexity/grok-4-6)
- [Hy-MT2-1.8B](https://spiral.ai/integrations/perplexity/hy-mt2-1-8b)
- [Grok 4.5](https://spiral.ai/integrations/perplexity/grok-4-5)
- [Hy-MT2-30B-A3B](https://spiral.ai/integrations/perplexity/hy-mt2-30b-a3b)

## Questions about Grok Latest in Perplexity

**Can Perplexity use Grok Latest?**

Yes. Add Spiral to Perplexity as an MCP server, and Perplexity can find and run Grok Latest like any built-in tool.

**How much does Grok Latest cost in Perplexity?**

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

**Do I need an OpenRouter account to use Grok Latest in Perplexity?**

No. Spiral runs Grok Latest on its own OpenRouter account. You sign in to Spiral once and never paste a key.

**How long does it take to set up Grok Latest in Perplexity?**

About two minutes: add a remote connector, then sign in to Spiral and approve.

**Does Perplexity wait while Grok Latest runs?**

Grok Latest runs in the background. Perplexity starts the run, checks on it and gives you the text, json when it's ready.

**Is Grok Latest a fixed model?**

Grok Latest follows the newest Grok model and currently points to Grok 4.7. Treat behavior and limits as subject to change when the alias updates.

**What is Grok Latest good at?**

Its current target, Grok 4.7, is designed for coding, agent tasks, and knowledge work. Practical uses include debugging, comparing technical approaches, and drafting documents from supplied evidence.

**How much context can Grok Latest handle?**

The alias currently offers context windows up to 500,000 tokens. The available context belongs to the model serving the request, so that number is not a permanent limit for the alias.

**How should I prompt Grok Latest?**

State the task, constraints, and output format directly. For example, ask for a recommendation supported by supplied evidence, specify what must stay unchanged, and set a word limit.

**Can I turn off reasoning?**

The current target, Grok 4.7, always uses reasoning and defaults to high effort. Choose the effort deliberately for the task rather than assuming the default will suit every request.

