How to Use GPT-5.2 Pro in VS Code
GPT-5.2 Pro suits difficult analysis and programming questions where answer quality matters most. It targets more precise answers than GPT-5.2 while keeping the same context and output limits.
Prompts to try with GPT-5.2 Pro in VS Code
Copy an example into VS Code, or ask in your own words.
Use GPT-5.2 Pro with high reasoning effort to review the current diff for logic errors and missed edge cases. Report only actionable findings, with file locations, triggering inputs, and suggested checks.
Use GPT-5.2 Pro with high reasoning effort to plan a refactor of this project's duplicated validation logic. Preserve existing behavior, identify affected callers, and propose tests before changing code.
Ask GPT-5.2 Pro through Spiral to review the diff on this branch and list the three riskiest changes. Save the result in ./assets.
Get a second opinion from GPT-5.2 Pro on this function, then tell me what the call cost.
Summarize these release notes with GPT-5.2 Pro in five bullet points.
How to set up GPT-5.2 Pro in VS Code
Pick the way that suits you. Each takes about two minutes.
Use Spiral's MCP server
- Add the hosted server
Use Add to VS Code on the console's Agents & MCP page, or run:
code --add-mcp '{"name":"spiral","type":"http","url":"https://api.spiral.ai/mcp"}' - Sign in
VS Code asks you to sign in when it first starts the server: sign in to Spiral and click Authorize. No API key. Run MCP: List Servers from the Command Palette to check that Spiral is running.
Use the Spiral skill
- Send VS Code this message
Your agent reads Spiral's skill and sets itself up.
set up https://spiral.ai/SKILL.md
- Sign in or paste a key
Approve Spiral in the browser, or give the agent a key from the console.
Use the Spiral CLI
- 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
- Create an API key
In the console, under API keys.
- Run GPT-5.2 Pro
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-pro", "input": { "messages": [ { "role": "system" } ] } }'
Then paste one of the prompts above: VS Code finds GPT-5.2 Pro on Spiral, shows the price and runs it.
GPT-5.2 Pro providers and prices
Spiral runs GPT-5.2 Pro through OpenAI. Open a card for today's price, with every fee included.
Up to $0.895522 per run at the default inputs. $27.30 per 1M input tokens, $218.40 per 1M output tokens.
Settings you can ask for
Ask VS Code for any of these in your prompt.
| Setting | Allowed values | Default | Description |
|---|---|---|---|
| Max tokens | 16 to 128000 | The most output tokens to generate. | |
| Reasoning effort | medium, high, or xhigh | How much the model reasons. | |
| Parallel tool calls | on or off |
Every API field of GPT-5.2 Pro is on its tool page: open its card above.
What can you do with GPT-5.2 Pro in VS Code?
Turn project requirements and source code into focused patches, reviews, and implementation plans with GPT-5.2. Specify the acceptance criteria and permitted scope so the work stays tied to the requested behavior.
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.
More on GPT-5.2 Pro and VS Code
Overview
GPT-5.2 Pro in other agents
More VS Code guides
Questions about GPT-5.2 Pro in VS Code
Can VS Code use GPT-5.2 Pro?
Yes. Add Spiral to VS Code as an MCP server, and VS Code can find and run GPT-5.2 Pro like any built-in tool.
How much does GPT-5.2 Pro cost in VS Code?
Up to $0.895522 per run at the default inputs. $27.30 per 1M input tokens, $218.40 per 1M output tokens. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your VS Code plan is separate.
Do I need an OpenAI account to use GPT-5.2 Pro in VS Code?
No. Spiral runs GPT-5.2 Pro 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 Pro in VS Code?
About two minutes: add the hosted server, then sign in.
Does VS Code wait while GPT-5.2 Pro runs?
GPT-5.2 Pro runs in the background. VS Code 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.
Start using GPT-5.2 Pro in VS Code
One Spiral account for every tool your agent needs. No subscription; you pay per run.
Paste this into VS Code:
set up https://spiral.ai/SKILL.md


