Spiral gives your agent every tool with one account. Browse the tools →

Grok · LLMReleased 2026-03-31

How to Use Grok 4.20 in Grok

Grok 4.20 fits document analysis, coding, and questions that require several logical steps. Enable reasoning for difficult problems; disable it for straightforward extraction or routine Q&A.

Prompts to try with Grok 4.20 in Grok

Copy an example into Grok, or ask in your own words.

Use Grok 4.20 with reasoning enabled to compare the three proposals in this conversation. Judge them on reliability, maintenance effort, and reversibility; cite supporting passages and list missing evidence.

Grok 4.20Grok
Try asking
  • Use Grok 4.20 to summarize the research excerpts in this conversation in 400 words. Separate agreements, disagreements, and unanswered questions, and cite the excerpt supporting each finding.

  • Use Grok 4.20 with reasoning enabled to check the calculation above. Verify units, identify assumptions, and show the corrected calculation if you find an error.

  • Use Grok 4.20 to translate the customer reply above into Spanish. Preserve product names and factual details, use a calm professional tone, and flag any ambiguous wording.

  • Use Grok 4.20 to extract the order details from the text above into a JSON array. Include the order number, date, items, and delivery instructions; use null for information the text does not provide.

How to set up Grok 4.20 in Grok

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

Use the Grok connector

  1. Add a custom connector

    In Grok open Settings › Connect Apps, then Add a custom connector. Name it Spiral, paste this URL, leave Headers empty and click Add MCP.

    https://api.spiral.ai/mcp
  2. Sign in to Spiral and approve

    Grok opens Spiral: sign in, pick the organization and click Authorize. Spiral gives the connection its own API key; Grok never sees it, and you can remove the connection under Settings › Connected apps.

  3. Check that it is connected

    Connect Apps › Custom shows Spiral as Connected. It works in every Grok chat and Grok bot.

Use the Spiral skill

  1. Send Grok 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.

    npx -y spiral-cli@latest init

Call the Spiral API

  1. Create an API key

    In the console, under API keys.

  2. Run Grok 4.20

    One request; the result comes back by polling or a webhook.

    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-4.20",
        "input": {
          "messages": [
            {
              "role": "system"
            }
          ]
        }
      }'

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

Grok 4.20 providers and prices

Spiral runs Grok 4.20 through OpenRouter. Open a card for today's price, with every fee included.

OpenRouterLLM
SpaceXAI: Grok 4.20
x-ai/grok-4.20

Settings you can ask for

Ask Grok for any of these in your prompt.

SettingAllowed valuesDefaultDescription
Seeda whole number
Top pa number up to 1
Max tokens1 to 1800000

The most output tokens to generate.

Temperature0 to 2

Every API field of SpaceXAI: Grok 4.20 is on its tool page: open its card above.

What can you do with Grok 4.20 in Grok?

Grok 4.20 can turn a difficult question or a set of supplied excerpts into a comparison, explanation, or draft. State the decision you need to make and request a clear distinction between evidence and assumptions.

Compare technical proposals

Ask Grok 4.20 to compare competing proposals against explicit requirements, identify tradeoffs, and cite the passages supporting each conclusion.

Investigate a software defect

Use Grok 4.20 to trace a reported failure through relevant code, propose a cause, and design a regression test that would distinguish it from other explanations.

Extract document records

Have Grok 4.20 turn supplied invoice or order text into JSON records, preserving source values and marking missing information explicitly.

Synthesize research evidence

Give Grok 4.20 dated excerpts and ask for findings, disagreements, and unanswered questions, with a source reference beside each finding.

Check quantitative reasoning

Ask Grok 4.20 to examine a calculation, identify assumptions, check units, and explain which inputs would change the conclusion.

Translate support content

Use Grok 4.20 to draft translations in English, Spanish, Chinese, Arabic, or Hindi while preserving product names and a supplied glossary.

Draft evidence-based reports

Have Grok 4.20 turn supplied operational updates into a report with decisions, unresolved issues, and supporting evidence.

Review a migration plan

Ask Grok 4.20 to check dependencies, sequence work, identify rollback gaps, and propose acceptance checks against the stated requirements.

Questions about Grok 4.20 in Grok

Can Grok use Grok 4.20?

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

How much does Grok 4.20 cost in Grok?

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

Do I need an OpenRouter account to use Grok 4.20 in Grok?

No. Spiral runs Grok 4.20 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 4.20 in Grok?

About two minutes: add a custom connector, then sign in to Spiral and approve, then check that it is connected.

Does Grok wait while Grok 4.20 runs?

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

What is Grok 4.20 useful for?

Grok 4.20 supports research, writing, coding, translation, and reasoning over supplied material. Good starting tasks include comparing technical proposals, explaining unfamiliar code, and turning document text into structured records.

How much context can Grok 4.20 handle?

The exact catalog listing reports 2 million tokens, while xAI's model page lists 1 million. These published limits disagree, so use 1 million tokens as a conservative planning ceiling; neither figure promises an answer of that length.

Which languages does Grok 4.20 support?

xAI names English, Chinese, Arabic, Hindi, and Spanish, plus several dozen others. Capability varies by language, so review terminology and meaning before publishing a translation.

How should I prompt Grok 4.20?

State the task, constraints, and required output directly. For example, ask for a comparison of three proposals using named criteria, a word limit, and a separate list of missing evidence.

Which settings are worth testing first?

Compare reasoning enabled and disabled on representative tasks. For sampling, xAI recommends temperature 0.7 and top-p 0.95; use those as a starting point.

Get started

Start using Grok 4.20 in Grok

One Spiral account for every tool your agent needs. No subscription; you pay per run.

Paste this into Grok:

Set up Grok

set up https://spiral.ai/SKILL.md
Are you an AI agent? See setup options