Spiral gives your agent every tool with one account. Browse the tools →

Devin · LLMReleased 2026-03-17

How to Use GPT-5.4 Nano in Devin

Use GPT-5.4 Nano for classification, extraction, ranking, and small coding tasks. Give it a narrow assignment, a fixed output format, and explicit rules for uncertain cases.

Prompts to try with GPT-5.4 Nano in Devin

Copy an example into Devin, or ask in your own words.

Use GPT-5.4 Nano to find where this project validates email addresses. Return up to five file paths, the relevant symbols, and one supporting excerpt per match; report no match if none exists.

GPT-5.4 NanoDevin
Try asking
  • Use GPT-5.4 Nano to classify the current test failures as assertion, timeout, dependency, configuration, or unknown. Return a short JSON array with the test name, category, and supporting error text.

  • Use GPT-5.4 Nano to inspect the pagination function and fix only an off-by-one error if present. Add a focused boundary test and report the change and test result.

  • Use GPT-5.4 Nano to extract the public routes from this project's route definitions. Return method, path, and handler as short JSON; use null for anything the definitions do not state.

  • Use GPT-5.4 Nano with no extra reasoning to rank up to five existing tests by relevance to the current diff. Return test paths and one sentence of evidence for each ranking.

How to set up GPT-5.4 Nano 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.

    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.4 Nano

    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.4-nano",
        "input": {
          "messages": [
            {
              "role": "system"
            }
          ]
        }
      }'

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

GPT-5.4 Nano providers and prices

Spiral runs GPT-5.4 Nano through OpenAI. Open a card for today's price, with every fee included.

OpenAIDeprecatedLLM
GPT-5.4 Nano
openai/gpt-5.4-nano

Settings you can ask for

Ask Devin for any of these in your prompt.

SettingAllowed valuesDefaultDescription
Seeda whole number
Top pa number up to 1

Taken only at reasoning effort "none", this model's default.

Logprobson or off

Taken only at reasoning effort "none", this model's default.

Max tokens16 to 128000

The most output tokens to generate.

Temperature0 to 2

Taken only at reasoning effort "none", this model's default.

Top logprobs0 to 20

Taken only at reasoning effort "none", this model's default.

Presence penalty-2 to 2

Taken only at reasoning effort "none", this model's default.

Reasoning effortnone, low, medium, high, or xhighnone

How much the model reasons.

Frequency penalty-2 to 2

Taken only at reasoning effort "none", this model's default.

Parallel tool callson or off

Every API field of GPT-5.4 Nano is on its tool page: open its card above.

What can you do with GPT-5.4 Nano in Devin?

Find relevant code, categorize failures, and make small corrections with GPT-5.4 Nano. Define one assignment at a time and request concrete evidence or a focused test.

Support request routing

Have GPT-5.4 Nano label requests as billing, technical, account, or other. Define each category and send unclear requests for review.

Order detail extraction

Extract order numbers, product names, and requested actions from customer messages with GPT-5.4 Nano. Return null for missing details.

Search result ranking

Use GPT-5.4 Nano to rank supplied passages against a question. Return passage IDs and short evidence-based reasons.

Customer feedback tagging

Assign predefined topic and sentiment labels to feedback with GPT-5.4 Nano. Include examples of mixed feedback to clarify the rules.

Codebase navigation

Ask GPT-5.4 Nano to find the functions and files associated with one feature. Request paths, symbols, and supporting excerpts.

Targeted code edits

Give GPT-5.4 Nano one small correction, such as fixing a boundary condition. Specify the expected behavior and request a focused test.

Failure categorization

Classify supplied error messages with GPT-5.4 Nano using a fixed taxonomy. Keep unknown failures in a separate review category.

Structured meeting actions

Use GPT-5.4 Nano to extract explicitly stated actions, owners, and deadlines from meeting text. Leave unstated owners and dates empty.

Questions about GPT-5.4 Nano in Devin

Can Devin use GPT-5.4 Nano?

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

How much does GPT-5.4 Nano cost in Devin?

Up to $0.006666 per run at the default inputs. $0.26 per 1M input tokens, $0.026 per 1M cached input tokens, $1.625 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-5.4 Nano in Devin?

No. Spiral runs GPT-5.4 Nano 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.4 Nano in Devin?

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

Does Devin wait while GPT-5.4 Nano runs?

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

What is GPT-5.4 Nano best for?

Classification, data extraction, ranking, and small coding assignments. Good starting points include labeling support requests, extracting order details, and ranking supplied search results.

Where does GPT-5.4 Nano need more help?

OpenAI recommends sending ambiguous or planning-heavy work to a stronger model. Keep assignments narrow and define what should happen when the evidence is missing or unclear.

How much text can GPT-5.4 Nano handle?

The context window is 400,000 tokens, with a maximum input of 272,000 tokens and maximum output of 128,000 tokens. These are token limits, so avoid treating them as fixed word or page counts.

How should I prompt GPT-5.4 Nano?

State one task, define the allowed answers, and specify how to handle uncertain cases. Prefer fixed labels, short JSON, or a template; include examples when the labeling rules need clarification.

Should I increase reasoning effort for every task?

Start with the default of no extra reasoning for simple labeling or extraction, then compare results on difficult examples before increasing it. Lower effort favors speed, and reasoning tokens share the generated-token budget with the visible answer.

Get started

Start using GPT-5.4 Nano in Devin

One Spiral account for every tool your agent needs. No subscription; you pay per run.

Paste this into Devin:

Set up Devin

set up https://spiral.ai/SKILL.md
Are you an AI agent? See setup options