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

Grok · LLMReleased 2025-12-11

How to Use GPT-5.2 in Grok

GPT-5.2 suits code changes, document analysis, and spreadsheet work with adjustable reasoning. Unlike GPT-5.2 Pro, it can turn reasoning off for simpler requests.

Prompts to try with GPT-5.2 in Grok

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

Use GPT-5.2 with medium reasoning effort to compare the proposals in this conversation against our stated requirements. Return a table of commitments, evidence, and unanswered questions, followed by a recommendation under 150 words.

GPT-5.2Grok
Try asking
  • Use GPT-5.2 with medium reasoning effort to turn these notes into a six-slide presentation outline. Give each slide one main point, supporting evidence, and brief speaker notes. Flag claims that lack support.

  • Use GPT-5.2 with medium reasoning effort to extract deadlines, responsible parties, and required actions from the text in this conversation. Include supporting passages and write 'not stated' wherever the source is silent.

  • Ask GPT-5.2 through Spiral to review the diff on this branch and list the three riskiest changes.

  • Get a second opinion from GPT-5.2 on this function, then tell me what the call cost.

How to set up GPT-5.2 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 GPT-5.2

    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": "openai",
        "model": "openai/gpt-5.2",
        "input": {
          "messages": [
            {
              "role": "system"
            }
          ]
        }
      }'

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

GPT-5.2 providers and prices

Spiral runs GPT-5.2 through OpenAI. Open a card for today's price, with every fee included.

OpenAILLM
GPT-5.2
openai/gpt-5.2

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

Taken only at reasoning effort "none", this model's default.

Logprobson or off

Taken only at reasoning effort "none", this model's default.

Max tokens16 to 128000

The most output tokens to generate.

Temperature0 to 2

Taken only at reasoning effort "none", this model's default.

Top logprobs0 to 20

Taken only at reasoning effort "none", this model's default.

Presence penalty-2 to 2

Taken only at reasoning effort "none", this model's default.

Reasoning effortnone, low, medium, high, or xhighnone

How much the model reasons.

Frequency penalty-2 to 2

Taken only at reasoning effort "none", this model's default.

Parallel tool callson or off

Every API field of GPT-5.2 is on its tool page: open its card above.

What can you do with GPT-5.2 in Grok?

Turn dense source material into comparisons, explanations, and drafts with GPT-5.2. Supply the evidence and desired format, then ask for assumptions and missing information to be stated explicitly.

Fix a bug across several files

Trace a reported failure through the relevant code, propose a focused patch, and identify checks that demonstrate the fix.

Review a difficult code change

Inspect a proposed change for logic errors, missed edge cases, and conflicts with the stated requirements. Request findings tied to specific code.

Compare long proposals

Turn supplied proposals into a requirements comparison. Separate supported commitments, contradictions, and unanswered questions.

Extract document obligations

Pull deadlines, responsible parties, and required actions from supplied text into a table. Leave absent information blank and include supporting passages.

Review spreadsheet logic

Analyze supplied formulas and assumptions for inconsistent references, missing conditions, and mismatches with the intended calculation.

Draft a presentation from evidence

Convert research notes or business results into a slide outline with a clear argument. Attach supporting evidence and speaker notes to each slide.

Synthesize research findings

Compare supplied research excerpts, explain where findings agree, and identify differences in assumptions or methods before drafting a conclusion.

Prepare a recurring operations brief

Combine supplied status updates, customer issues, and performance figures into a concise brief with evidence, unresolved questions, and proposed next actions.

Questions about GPT-5.2 in Grok

Can Grok use GPT-5.2?

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

How much does GPT-5.2 cost in Grok?

Up to $0.074628 per run at the default inputs. $2.275 per 1M input tokens, $0.2275 per 1M cached input tokens, $18.20 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 OpenAI account to use GPT-5.2 in Grok?

No. Spiral runs GPT-5.2 on its own OpenAI account. You sign in to Spiral once and never paste a key.

How long does it take to set up GPT-5.2 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 GPT-5.2 runs?

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

What is GPT-5.2 useful for?

Use GPT-5.2 for code changes, comparisons across long documents, spreadsheet analysis, and presentation drafts. Give it a concrete deliverable, such as a patch, a comparison table, or a slide outline.

How does GPT-5.2 Pro differ from GPT-5.2?

GPT-5.2 Pro targets difficult questions where greater precision matters, including complex programming work. GPT-5.2 offers more flexibility for simpler requests because it can disable reasoning.

How much text can GPT-5.2 handle?

GPT-5.2 and GPT-5.2 Pro each have a 400,000-token context window and a maximum output of 128,000 tokens. Treat these as ceilings, and request a specific answer length suited to the task.

How should I prompt GPT-5.2?

State the task, relevant evidence, scope, and required answer length. For extraction, specify what to return when information is missing; for coding, explicitly limit changes to the requested behavior.

Does GPT-5.2 know about recent events?

GPT-5.2 and GPT-5.2 Pro have an August 31, 2025 knowledge cutoff. Supply current evidence when asking about later events, and ask the model to distinguish supplied facts from assumptions.

Get started

Start using GPT-5.2 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