[Integrations](https://spiral.ai/integrations) › [Grok](https://spiral.ai/integrations/grok) › [GPT-5.2](https://spiral.ai/integrations/grok/gpt-5-2)

# 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.

|  |  |
| --- | --- |
| Model | GPT-5.2 |
| Available through | OpenAI |
| Category | LLM |
| Price | 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. |
| Returns | text, json |
| Runs | In the background |
| Setup | About 2 minutes, no API key |

## Prompts to try with GPT-5.2 in Grok

- 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.
- 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.

```text
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.

```bash
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.

```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": "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.

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

## GPT-5.2 tools and prices

- [GPT-5.2](https://spiral.ai/tools/openai/openai/gpt-5.2) (OpenAI): 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.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| seed |  | — |  |
| tools |  | — |  |
| top_p | … to 1 | — | Taken only at reasoning effort "none", this model's default. |
| logprobs |  | — | Taken only at reasoning effort "none", this model's default. |
| reasoning |  | — | Reasoning effort; reasoning tokens count toward max_tokens. |
| max_tokens | 16 to 128000 | — | The most output tokens to generate. |

## 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.

## Overview

- [OpenAI](https://spiral.ai/providers/openai)
- [All Grok guides](https://spiral.ai/integrations/grok)

## GPT-5.2 in other agents

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

## More Grok guides

- [GPT-5.1](https://spiral.ai/integrations/grok/gpt-5-1)
- [GPT-5.2 Pro](https://spiral.ai/integrations/grok/gpt-5-2-pro)
- [GPT-5 Pro](https://spiral.ai/integrations/grok/gpt-5-pro)
- [GPT-5.3-Codex](https://spiral.ai/integrations/grok/gpt-5-3-codex)
- [GPT-5 Nano](https://spiral.ai/integrations/grok/gpt-5-nano)
- [GPT-5.4](https://spiral.ai/integrations/grok/gpt-5-4)

## 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.

