[Integrations](https://spiral.ai/integrations) › [Claude Code](https://spiral.ai/integrations/claude-code) › [GPT-6 Astra Pro](https://spiral.ai/integrations/claude-code/gpt-6-astra-pro)

# How to Use GPT-6 Astra Pro in Claude Code

GPT-6 Astra Pro targets difficult problems that warrant additional reasoning. It uses the same underlying model as Astra, served in Pro reasoning mode for higher-quality responses on complex tasks.

|  |  |
| --- | --- |
| Model | GPT-6 Astra Pro |
| Available through | OpenRouter |
| Category | LLM |
| Price | Up to $0.266695 per run at the default inputs. $13.00 per 1M input tokens, $65.00 per 1M output tokens. |
| Returns | text, json |
| Runs | In the background |
| Setup | About 2 minutes, no API key |

## Prompts to try with GPT-6 Astra Pro in Claude Code

- Use GPT-6 Astra Pro to review this project's database migration plan. Identify data-loss risks, locking problems, rollback gaps, and assumptions. Return a prioritized review with evidence from the migration and schema.
- Use GPT-6 Astra Pro with high reasoning effort to diagnose the intermittent duplicate-job bug. Compare competing explanations against the code and logs, implement a justified fix, and verify the race condition.
- Ask GPT-6 Astra 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-6 Astra Pro on this function, then tell me what the call cost.
- Summarize these release notes with GPT-6 Astra Pro in five bullet points.

## How to set up GPT-6 Astra Pro in Claude Code

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

### Use Spiral's MCP server

1. **Add the hosted server**: This adds Spiral to the current project. Add `--scope user` to use it in every project.

```bash
claude mcp add --transport http spiral https://api.spiral.ai/mcp
```

2. **Sign in**: Start `claude`, type `/mcp`, choose spiral and Authenticate. Sign in to Spiral in the browser and click Authorize. No API key.

### Use the Spiral skill

1. **Send Claude Code 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-6 Astra Pro**: 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": "openrouter",
    "model": "openai/gpt-6-astra-pro",
    "input": {
      "messages": [
        {
          "role": "system"
        }
      ]
    }
  }'
```

Then paste one of the prompts above: Claude Code finds GPT-6 Astra Pro on Spiral, shows the price and runs it.

Setup guide in the docs: https://spiral.ai/docs/quickstarts/claude-code

## GPT-6 Astra Pro tools and prices

- [OpenAI: GPT-6 Astra Pro](https://spiral.ai/tools/openrouter/openai/gpt-6-astra-pro) (OpenRouter): Up to $0.266695 per run at the default inputs. $13.00 per 1M input tokens, $65.00 per 1M output tokens.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| seed |  | — |  |
| tools |  | — |  |
| reasoning |  | — | Reasoning effort; reasoning tokens count toward max_tokens. |
| max_tokens | 1 to 128000 | — | The most output tokens to generate. |
| tool_choice |  | — |  |
| response_format |  | — |  |

## What can you do with GPT-6 Astra Pro in Claude Code?

Turn a bug report or technical requirement into an implemented, checked change. Define the affected behavior and completion criteria so Astra can carry the work through.

### Investigate and fix a software defect

Ask Astra to trace a reproducible failure, implement a focused fix, and verify the affected behavior. Define the stopping point as a working result with a short explanation of the evidence.

### Review a difficult technical decision

Give Pro competing designs, requirements, and known constraints. Request a recommendation that names failure modes, unresolved assumptions, and evidence that could change the decision.

### Turn research into a decision memo

Provide source material and a concrete question. Request a concise memo that separates supported conclusions, conflicting evidence, and open questions.

### Check a website's behavior

With browser tools available, ask Astra to exercise a specific user journey, record reproducible failures, and verify corrections.

### Review a scientific analysis

Provide observations, methods, and the question under investigation. Ask Astra to inspect the calculations, identify competing explanations, and suggest a test that distinguishes them.

### Create a report from source material

Specify the audience, required sections, and length. Ask Astra to produce the report and identify any conclusions the supplied evidence cannot support.

## Overview

- [OpenRouter](https://spiral.ai/providers/openrouter)
- [All Claude Code guides](https://spiral.ai/integrations/claude-code)

## GPT-6 Astra Pro in other agents

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

## More Claude Code guides

- [GPT-6 Astra](https://spiral.ai/integrations/claude-code/gpt-6-astra)
- [GPT-6 Luna](https://spiral.ai/integrations/claude-code/gpt-6-luna)
- [GPT-5.6 Terra Pro](https://spiral.ai/integrations/claude-code/gpt-5-6-terra-pro)
- [GPT-6 Luna Pro](https://spiral.ai/integrations/claude-code/gpt-6-luna-pro)
- [GPT-5.6 Terra](https://spiral.ai/integrations/claude-code/gpt-5-6-terra)
- [GPT-6 Sol](https://spiral.ai/integrations/claude-code/gpt-6-sol)

## Questions about GPT-6 Astra Pro in Claude Code

**Can Claude Code use GPT-6 Astra Pro?**

Yes. Add Spiral to Claude Code as an MCP server, and Claude Code can find and run GPT-6 Astra Pro like any built-in tool.

**How much does GPT-6 Astra Pro cost in Claude Code?**

Up to $0.266695 per run at the default inputs. $13.00 per 1M input tokens, $65.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 Claude Code plan is separate.

**Do I need an OpenRouter account to use GPT-6 Astra Pro in Claude Code?**

No. Spiral runs GPT-6 Astra Pro on its own OpenRouter account. You sign in to Spiral once and never paste a key.

**How long does it take to set up GPT-6 Astra Pro in Claude Code?**

About two minutes: add the hosted server, then sign in.

**Does Claude Code wait while GPT-6 Astra Pro runs?**

GPT-6 Astra Pro runs in the background. Claude Code starts the run, checks on it and gives you the text, json when it's ready.

**What is GPT-6 Astra good at?**

It is built for complex reasoning, coding, research, computer use, and document creation. Useful assignments include investigating a bug, comparing research evidence, or turning source material into a finished report.

**How does GPT-6 Astra Pro differ from GPT-6 Astra?**

Pro uses the same underlying model in Pro reasoning mode, with additional model work aimed at higher-quality answers to complex tasks. Use regular Astra for routine work and consider Pro for a difficult analysis or review.

**How much material can GPT-6 Astra handle?**

The documented context window is 1,050,000 tokens, with up to 922,000 input tokens and 128,000 output tokens. Reasoning also consumes the generated-token allowance, so 128,000 tokens does not mean an answer of that length.

**Can GPT-6 Astra understand images or generate media?**

Its native inputs are text and images, and its native output is text. Use image input for analysis; generating image, audio, or video files requires separate tools or models.

**Why does GPT-6 Astra sometimes stop before finishing?**

OpenAI documents a tendency to ask for clarification where users expect reasonable assumptions. State what counts as finished, which decisions it can make independently, and which missing details actually require a question.

