[Integrations](https://spiral.ai/integrations) › [Devin](https://spiral.ai/integrations/devin) › [GPT Luna Latest](https://spiral.ai/integrations/devin/gpt-luna-latest)

# How to Use GPT Luna Latest in Devin

Use GPT Luna Latest for focused tasks such as sorting requests, extracting details, and making scoped code changes. Unlike the named GPT-6 Luna model, it follows the latest Luna release, so retest recurring work when the target changes.

|  |  |
| --- | --- |
| Model | GPT Luna Latest |
| Available through | OpenAI |
| Category | LLM |
| Price | Up to $0.002669 per run at the default inputs. $0.13 per 1M input tokens, $0.013 per 1M cached input tokens, $0.1625 per 1M cache write tokens, $0.65 per 1M output tokens. |
| Returns | text, json |
| Runs | In the background |
| Setup | About 2 minutes, no API key |

## Prompts to try with GPT Luna Latest in Devin

- Use GPT Luna Latest to investigate the failing test in this project. Reproduce the failure, make the smallest justified fix, and report the tests you actually ran.
- Use GPT Luna Latest to review the current diff for behavior changes. List concrete bugs with file locations and reproduction steps, and leave style preferences out.
- Use GPT Luna Latest to add regression coverage for this bug using the project's existing test framework. Show that the test fails before the fix and passes afterward.
- Use GPT Luna Latest to trace how this project validates incoming requests. Summarize the relevant functions and identify any branch that accepts malformed input.
- Use GPT Luna Latest to draft release notes from the current diff. Group changes by user impact and include only behavior supported by the code.

## How to set up GPT Luna Latest in Devin

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

### Use Spiral's MCP server

1. **Add a custom MCP**: Open Customize › MCPs. Click + and choose New MCP. Fill in:

2. **Sign in to Spiral and approve**: In Customize › MCPs, open Spiral and choose Connect. Spiral opens: sign in, pick the organization and click Authorize. No API key.

3. **Check it**: On Spiral's configuration page, click Test tools. Devin lists Spiral's tools.

### Use the Spiral skill

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

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

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

## GPT Luna Latest tools and prices

- [GPT Luna Latest](https://spiral.ai/tools/openai/~openai/gpt-luna-latest) (OpenAI): Up to $0.002669 per run at the default inputs. $0.13 per 1M input tokens, $0.013 per 1M cached input tokens, $0.1625 per 1M cache write tokens, $0.65 per 1M output tokens.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| seed |  | — |  |
| tools |  | — |  |
| top_p | … to 1 | — | Taken only with reasoning effort "none". |
| logprobs |  | — | Taken only with reasoning effort "none". |
| 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 Luna Latest in Devin?

Turn reproducible failures into scoped patches, tests, and concise review notes with GPT Luna Latest. Give it the relevant project context and a clear acceptance condition for each change.

### Support request triage

Use GPT Luna Latest to assign incoming requests to defined categories and flag messages that need human review. Include category definitions and an uncertain option.

### Extract details from messages

Ask GPT Luna Latest to pull names, dates, requested actions, and reference numbers from supplied text. Require a supporting excerpt for each value.

### Daily operations digest

Have GPT Luna Latest condense supplied updates into completed work, blockers, and next actions. Keep missing owners and deadlines explicit.

### Scoped bug fixes

Give GPT Luna Latest a reproducible failure and ask for a small code change with a relevant regression test. Review the patch and test results before accepting it.

### Turn notes into action items

Ask GPT Luna Latest to convert meeting text into decisions and tasks. Preserve the difference between an agreed action and a suggestion.

### Draft answers from approved material

Use GPT Luna Latest to draft concise replies from supplied help text. Ask it to identify unanswered questions instead of filling gaps.

### Review extracted records

Ask GPT Luna Latest to compare records with their source text and flag unsupported values, missing details, and contradictions for review.

## Overview

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

## GPT Luna Latest in other agents

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

## More Devin guides

- [GPT Chat Latest](https://spiral.ai/integrations/devin/gpt-chat-latest)
- [GPT Mini Latest](https://spiral.ai/integrations/devin/gpt-mini-latest)
- [GPT Astra](https://spiral.ai/integrations/devin/gpt-astra)
- [GPT Sol Latest](https://spiral.ai/integrations/devin/gpt-sol-latest)
- [GLM-5V-Turbo](https://spiral.ai/integrations/devin/glm-5v-turbo)
- [GPT Terra Latest](https://spiral.ai/integrations/devin/gpt-terra-latest)

## Questions about GPT Luna Latest in Devin

**Can Devin use GPT Luna Latest?**

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

**How much does GPT Luna Latest cost in Devin?**

Up to $0.002669 per run at the default inputs. $0.13 per 1M input tokens, $0.013 per 1M cached input tokens, $0.1625 per 1M cache write tokens, $0.65 per 1M output tokens. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your Devin plan is separate.

**Do I need an OpenAI account to use GPT Luna Latest in Devin?**

No. Spiral runs GPT Luna 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 Luna Latest in Devin?**

About two minutes: add a custom MCP, then sign in to Spiral and approve, then check it.

**Does Devin wait while GPT Luna Latest runs?**

GPT Luna Latest runs in the background. Devin starts the run, checks on it and gives you the text, json when it's ready.

**What is GPT Luna Latest good for?**

Start with focused, repeatable work: sorting requests, extracting details, and summarizing supplied text. These are practical applications of OpenAI's positioning of GPT-6 Luna for focused tasks at high volume.

**Does GPT Luna Latest always mean the same model?**

No. It follows the latest Luna release, and the current listing identifies GPT-6 Luna as its target. Retest representative tasks when that target changes.

**How much text can GPT Luna Latest handle?**

The current GPT-6 Luna target has a 1,050,000-token context window and a maximum output of 128,000 tokens. Reasoning also uses the output allowance, so leave room beyond the visible answer you want.

**Which reasoning effort should I try?**

Medium is GPT-6 Luna's default. As a practical starting point, try lower effort for straightforward extraction and higher effort for debugging or ambiguous decisions, then compare results on your actual examples.

**How should I prompt GPT Luna Latest?**

Give it one clear task, the source material, and a precise definition of a useful answer. Specify the length, required details, and what to do when information is missing.

