[Integrations](https://spiral.ai/integrations) › [ChatGPT](https://spiral.ai/integrations/chatgpt) › [GPT-5.1](https://spiral.ai/integrations/chatgpt/gpt-5-1)

# How to Use GPT-5.1 in ChatGPT

GPT-5.1 fits code changes, debugging, and workflows that take several steps. Compared with GPT-5, it improves code quality and produces more functional frontend designs, especially at low reasoning effort.

|  |  |
| --- | --- |
| Model | GPT-5.1 |
| Available through | OpenAI |
| Category | LLM |
| Price | Up to $0.053306 per run at the default inputs. $1.625 per 1M input tokens, $0.1625 per 1M cached input tokens, $13.00 per 1M output tokens. |
| Returns | text, json |
| Runs | In the background |
| Setup | About 2 minutes, no API key |

## Prompts to try with GPT-5.1 in ChatGPT

- Use GPT-5.1 to draft a reply to the customer conversation above using only the policy text in this chat. Keep it under 120 words, state the next step, and identify any missing information separately.
- Use GPT-5.1 with high reasoning effort to compare the proposals above against our stated requirements. Give a table of requirements, supporting passages, and gaps, followed by a recommendation under 150 words.
- Use GPT-5.1 to extract the decisions, owners, and deadlines from the meeting transcript above. Include a supporting passage for each item and write unknown when the transcript does not supply a value.
- Use GPT-5.1 to explain the code pasted above to a junior developer. Describe its purpose, walk through one example input, and identify edge cases. Keep the answer under 350 words.
- Use GPT-5.1 with high reasoning effort to assess the migration plan in this conversation. Check each stated constraint, identify dependencies and rollback gaps, and return the five most consequential revisions.

## How to set up GPT-5.1 in ChatGPT

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

### Use the ChatGPT connector

1. **Add a custom MCP server**: In ChatGPT open Plugins, then Add › Add custom MCP server. Name it Spiral, paste this URL and keep Authentication on OAuth. Tick I understand and want to continue, then click Create.

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

2. **Click Connect**: ChatGPT asks to connect Spiral. Connect takes you to Spiral in your browser.

3. **Sign in to Spiral and approve**: Sign in, pick the organization ChatGPT should use and click Authorize. Spiral gives the connection its own API key; ChatGPT never sees it, and you can remove the connection under Settings › Connected apps.

### Use the Spiral skill

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

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

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

## GPT-5.1 tools and prices

- [GPT-5.1](https://spiral.ai/tools/openai/openai/gpt-5.1) (OpenAI): Up to $0.053306 per run at the default inputs. $1.625 per 1M input tokens, $0.1625 per 1M cached input tokens, $13.00 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.1 in ChatGPT?

Turn supplied conversations, policies, and proposals into concise drafts or structured comparisons with GPT-5.1. Specify the evidence to use and the desired length so the result answers the immediate question.

### Fix a reproducible bug

Use GPT-5.1 to trace a failing behavior, implement a focused patch, and check the result against a regression test.

### Implement a frontend interaction

Give GPT-5.1 an interaction specification and acceptance criteria to turn a static screen into a working form, filter, or navigation flow.

### Review a proposed code change

Ask GPT-5.1 to inspect a diff for behavior changes, missing edge cases, and tests that would expose a defect.

### Extract research details

Use GPT-5.1 to turn supplied research text into records containing methods, findings, and supporting passages for review.

### Prepare support reply drafts

Give GPT-5.1 the conversation and relevant policy text to draft a concise response and identify information still needed.

### Compare proposals against requirements

Ask GPT-5.1 to evaluate supplied proposals against explicit constraints, cite the relevant passages, and flag unanswered requirements.

### Produce a recurring change digest

Use GPT-5.1 to compare newly supplied updates with the previous run and draft a brief that separates changes from unresolved questions.

## Overview

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

## GPT-5.1 in other agents

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

## More ChatGPT guides

- [GPT-5 Pro](https://spiral.ai/integrations/chatgpt/gpt-5-pro)
- [GPT-5.2](https://spiral.ai/integrations/chatgpt/gpt-5-2)
- [GPT-5 Nano](https://spiral.ai/integrations/chatgpt/gpt-5-nano)
- [GPT-5.2 Pro](https://spiral.ai/integrations/chatgpt/gpt-5-2-pro)
- [GPT-5 Mini](https://spiral.ai/integrations/chatgpt/gpt-5-mini)
- [GPT-5.3-Codex](https://spiral.ai/integrations/chatgpt/gpt-5-3-codex)

## Questions about GPT-5.1 in ChatGPT

**Can ChatGPT use GPT-5.1?**

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

**How much does GPT-5.1 cost in ChatGPT?**

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

**Do I need an OpenAI account to use GPT-5.1 in ChatGPT?**

No. Spiral runs GPT-5.1 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.1 in ChatGPT?**

About two minutes: add a custom MCP server, then click Connect, then sign in to Spiral and approve.

**Does ChatGPT wait while GPT-5.1 runs?**

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

**What is GPT-5.1 useful for?**

GPT-5.1 fits debugging, code edits, frontend implementation, and workflows that require several steps. Compared with GPT-5, OpenAI reports improvements in code quality and frontend functionality, especially at low reasoning effort.

**How much text can GPT-5.1 handle?**

GPT-5.1 has a 400,000-token context window and a maximum output of 128,000 tokens. Treat these as ceilings when planning long document reviews or large code tasks.

**When should I increase reasoning effort?**

Use the default no-reasoning mode for straightforward requests where speed matters. For difficult debugging or decisions with several constraints, OpenAI recommends high reasoning effort when reliability matters more than speed.

**Why can GPT-5.1 stop before finishing a task?**

OpenAI observed premature stopping on long agent tasks. Define completion explicitly, such as implementing the change, checking it, and reporting any unresolved work.

**Can I trust the contents of structured JSON?**

Structured formatting does not guarantee factual accuracy. For extraction tasks, request supporting text for each value and check the results against the source.

