[Integrations](https://spiral.ai/integrations) › [Devin](https://spiral.ai/integrations/devin) › [GPT-oss-120B](https://spiral.ai/integrations/devin/gpt-oss-120b)

# How to Use GPT-oss-120B in Devin

Use GPT-oss-120B for coding, math, and tasks that combine reasoning with tool calls. Its adjustable reasoning effort lets you choose how much analysis a task needs.

|  |  |
| --- | --- |
| Model | GPT-oss-120B |
| Available through | OpenRouter |
| Category | LLM |
| Price | Up to $0.003202 per run at the default inputs. $0.195 per 1M input tokens, $0.78 per 1M output tokens. |
| Returns | text, json |
| Runs | In the background |
| Setup | About 2 minutes, no API key |

## Prompts to try with GPT-oss-120B in Devin

- Use GPT-oss-120B with high reasoning effort to investigate the failing tests in this project. Read the relevant code, reproduce the failure, make the smallest justified fix, and run the affected tests.
- Use GPT-oss-120B to review the current diff against the project's requirements. Report only actionable bugs, with a concrete failure scenario and the test that would expose each one.
- Use GPT-oss-120B to compare this project's request validation code with its documented contract. Identify mismatches, add focused regression coverage, and explain any behavior that still needs a product decision.
- Use GPT-oss-120B with high reasoning effort to check the numerical calculation in this project. Derive expected results for boundary cases, compare them with the implementation, and fix confirmed discrepancies.
- Use GPT-oss-120B to inspect the project's text extraction pipeline. Check missing values, malformed input, and output validation; propose a focused patch with representative examples.

## How to set up GPT-oss-120B 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-oss-120B**: 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-oss-120b",
    "input": {
      "messages": [
        {
          "role": "system"
        }
      ]
    }
  }'
```

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

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

## GPT-oss-120B tools and prices

- [OpenAI: gpt-oss-120b](https://spiral.ai/tools/openrouter/openai/gpt-oss-120b) (OpenRouter): Up to $0.001922 per run at the default inputs. $0.117 per 1M input tokens, $0.468 per 1M output tokens.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| seed |  | — |  |
| stop |  | — |  |
| min_p | 0 to 1 | — |  |
| tools |  | — |  |
| top_k | 0 to … | — |  |
| top_p | 0 to 1 | — |  |

## What can you do with GPT-oss-120B in Devin?

GPT-oss-120B can help turn failing tests and code changes into fixes you can verify. Give it the relevant project files, expected behavior, and test output so it can propose a patch and check the result with available tools.

### Debug a failing test

Provide the failing test, error output, and relevant code. Ask for the smallest fix and a regression test that reproduces the failure.

### Review a code change

Compare a patch against its requirements. Ask for concrete failure cases, affected code paths, and tests that would confirm each finding.

### Check a mathematical solution

Supply the problem and proposed answer. Ask for an independent check, assumptions, and a concise explanation of any disagreement.

### Extract structured records

Turn supplied text into JSON records with defined keys. Include examples and require missing values to remain null rather than be guessed.

### Answer questions from retrieved sources

Give the model relevant search results or reference passages. Request an answer with supporting excerpts and an explicit list of unanswered questions.

### Compare technical proposals

Provide competing designs and acceptance criteria. Ask for a comparison of assumptions, contradictions, and unresolved implementation choices.

### Investigate numerical discrepancies

Supply reported totals and underlying rows. With an available Python tool, ask the model to recompute the figures and identify where they diverge.

## Overview

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

## GPT-oss-120B in other agents

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

## More Devin guides

- [GPT-oss Safeguard 20B](https://spiral.ai/integrations/devin/gpt-oss-safeguard-20b)
- [Gemini 3 Flash Preview](https://spiral.ai/integrations/devin/gemini-3-flash-preview)
- [GPT-6.2 Sol Pro](https://spiral.ai/integrations/devin/gpt-6-2-sol-pro)
- [Gemini 3.1 Flash-Lite](https://spiral.ai/integrations/devin/gemini-3-1-flash-lite)
- [GPT-6.2 Sol](https://spiral.ai/integrations/devin/gpt-6-2-sol)
- [Gemini 3.1 Pro Custom Tools](https://spiral.ai/integrations/devin/gemini-3-1-pro-custom-tools)

## Questions about GPT-oss-120B in Devin

**Can Devin use GPT-oss-120B?**

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

**How much does GPT-oss-120B cost in Devin?**

Up to $0.003202 per run at the default inputs. $0.195 per 1M input tokens, $0.78 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 OpenRouter account to use GPT-oss-120B in Devin?**

No. Spiral runs GPT-oss-120B 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-oss-120B in Devin?**

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

**Does Devin wait while GPT-oss-120B runs?**

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

**What is GPT-oss-120B good at?**

Coding, mathematical problem solving, and tasks that require tool calls are supported by OpenAI's evaluations. Practical starting points include debugging code, checking calculations, and turning retrieved information into structured records.

**How much text can GPT-oss-120B handle?**

OpenAI documents a 131,072-token context window. For long requests, include the relevant passages and specify the output you need, such as a short comparison or a table of discrepancies.

**Can GPT-oss-120B analyze pictures or recordings?**

GPT-oss-120B does not accept images, audio, or video. Supply a text transcript or extracted text for analysis.

**When should I increase reasoning effort?**

Try low effort for straightforward dialogue and high effort for difficult debugging or problems with several constraints. Compare the results on representative tasks before making high effort your default.

**Can GPT-oss-120B work in languages other than English?**

OpenAI evaluated it in 14 languages, including Spanish, French, German, and Japanese. Scores varied by language, so check examples in the language and subject you plan to use.

