[Integrations](https://spiral.ai/integrations) › [Claude Code](https://spiral.ai/integrations/claude-code) › [GPT Sol Latest](https://spiral.ai/integrations/claude-code/gpt-sol-latest)

# How to Use GPT Sol Latest in Claude Code

Use GPT Sol Latest to write and debug code, understand documents, and work through business tasks with several steps. Give it a concrete deliverable and clear checks for a successful result.

|  |  |
| --- | --- |
| Model | GPT Sol Latest |
| Available through | OpenAI |
| Category | LLM |
| Price | Up to $0.053363 per run at the default inputs. $2.60 per 1M input tokens, $0.13 per 1M cached input tokens, $3.25 per 1M cache write 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 Sol Latest in Claude Code

- Use GPT Sol Latest with high reasoning effort to investigate the failing tests in this project. Reproduce the failure, fix its cause, and run the relevant tests. Report the cause, changed files, and test results.
- Use GPT Sol Latest to review the current diff against the issue's acceptance criteria. Report only actionable defects, with file locations, a concrete failure scenario, and a suggested verification.
- Use GPT Sol Latest with medium reasoning effort to implement the feature described in the project's issue document. Follow existing conventions, add tests for the acceptance criteria, and report any unresolved requirements.
- Use GPT Sol Latest to refactor duplicated validation code in this project. Preserve current behavior, check existing tests before editing, and verify the affected paths afterward.
- Use GPT Sol Latest to compare the README with the current implementation. Correct inaccurate behavior descriptions and examples, and verify every command you change.

## How to set up GPT Sol Latest 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 Sol Latest**: 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-sol-latest",
    "input": {
      "messages": [
        {
          "role": "system"
        }
      ]
    }
  }'
```

Then paste one of the prompts above: Claude Code finds GPT Sol Latest on Spiral, shows the price and runs it.

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

## GPT Sol Latest tools and prices

- [GPT Sol Latest](https://spiral.ai/tools/openai/~openai/gpt-sol-latest) (OpenAI): Up to $0.053363 per run at the default inputs. $2.60 per 1M input tokens, $0.13 per 1M cached input tokens, $3.25 per 1M cache write tokens, $13.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 | 16 to 128000 | — | The most output tokens to generate. |
| tool_choice |  | — |  |
| response_format |  | — |  |

## What can you do with GPT Sol Latest in Claude Code?

GPT Sol can turn a concrete feature request or bug report into code and tests. Give it the relevant project context, acceptance criteria, and a way to verify the result.

### Fix a reproducible bug

Trace a reported failure through the relevant code, make a focused correction, and test the behavior that originally failed.

### Build a feature from acceptance criteria

Turn a defined feature request into code and tests, with a final report showing which acceptance criteria were checked.

### Review a proposed code change

Compare a change with its intended behavior and identify concrete defects, missing tests, and cases the author should check.

### Write a decision memo

Compare proposals against supplied requirements, explain the tradeoffs, and identify evidence still needed before a decision.

### Draft an operating procedure

Turn process notes into ordered steps, responsibilities, exception handling, and completion checks.

### Prepare a recurring status brief

Summarize supplied updates into completed work, blockers, and next actions while preserving the source of each claim.

### Check a document against requirements

Compare a draft with an explicit checklist, identify unsupported statements, and propose revisions tied to the missing requirements.

## Overview

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

## GPT Sol Latest in other agents

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

## More Claude Code guides

- [GPT Mini Latest](https://spiral.ai/integrations/claude-code/gpt-mini-latest)
- [GPT Terra Latest](https://spiral.ai/integrations/claude-code/gpt-terra-latest)
- [GPT Luna Latest](https://spiral.ai/integrations/claude-code/gpt-luna-latest)
- [GPT-3.5 Turbo 0613](https://spiral.ai/integrations/claude-code/gpt-3-5-turbo-0613)
- [GPT Chat Latest](https://spiral.ai/integrations/claude-code/gpt-chat-latest)
- [GPT-4.1](https://spiral.ai/integrations/claude-code/gpt-4-1)

## Questions about GPT Sol Latest in Claude Code

**Can Claude Code use GPT Sol Latest?**

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

**How much does GPT Sol Latest cost in Claude Code?**

Up to $0.053363 per run at the default inputs. $2.60 per 1M input tokens, $0.13 per 1M cached input tokens, $3.25 per 1M cache write 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 Claude Code plan is separate.

**Do I need an OpenAI account to use GPT Sol Latest in Claude Code?**

No. Spiral runs GPT Sol Latest 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 Sol Latest in Claude Code?**

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

**Does Claude Code wait while GPT Sol Latest runs?**

GPT Sol Latest 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 Sol good at?**

GPT Sol is useful for writing and debugging code, understanding documents, and completing work with several steps. Practical examples include a tested bug fix, a decision memo, or an operating procedure based on supplied requirements.

**Can GPT Sol make factual mistakes?**

Yes. Check factual claims against the source material, and ask it to distinguish supported conclusions from assumptions.

**How should I prompt GPT Sol?**

State the task, the constraints, and the result you want in direct language. For a code change, specify the behavior to preserve and the tests that should pass; for a document, specify the audience and required sections.

**Should I ask GPT Sol to think step by step?**

You do not need to. It reasons internally; ask for a useful explanation of the result, supporting evidence, or verification checks instead.

**How should I choose reasoning effort?**

Try lower effort for a narrow task where speed matters, then compare the result with medium or high effort for difficult debugging or planning. Judge the finished work against the same requirements before choosing.

