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

Devin · LLMReleased 2026-11-20

How to Use Inkling 2 Mini in Devin

Inkling 2 Mini is a compact reasoning model for coding, research with tools, and document questions. Its strengths are multistep agent tasks; long conversations and instructions with many constraints need closer review.

Prompts to try with Inkling 2 Mini in Devin

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

Use Inkling 2 Mini to investigate the failing tests in this project. Reproduce one failure, trace its cause, make a focused fix, and run the relevant tests. Report the cause and the commands that passed.

Inkling 2 MiniDevin
Try asking
  • Use Inkling 2 Mini to inspect the pagination code and its tests. Find one uncovered boundary case, add a test with an explicit expected result, and fix the implementation if that test exposes a bug.

  • Use Inkling 2 Mini to compare this project's API client with the migration guide in the repository. List affected call sites, update one component, and run its tests before continuing.

  • Use Inkling 2 Mini to trace how this project handles an expired session. Follow the request from the UI through the server, identify inconsistent behavior, and propose a patch with a regression test.

  • Use Inkling 2 Mini with medium reasoning effort to review the current diff for behavior changes. Check each finding against the surrounding code and tests, and report only issues with a reproducible example.

How to set up Inkling 2 Mini 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 Inkling 2 Mini

    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": "openrouter",
        "model": "thinkingmachines/inkling-2-mini",
        "input": {
          "messages": [
            {
              "role": "user",
              "content": "Hello!"
            }
          ]
        }
      }'

Then paste one of the prompts above: Devin finds Inkling 2 Mini on Spiral, shows the price and runs it.

Inkling 2 Mini providers and prices

Spiral runs Inkling 2 Mini through OpenRouter. Open a card for today's price, with every fee included.

OpenRouterLLM
Thinking Machines: Inkling 2 Mini
thinkingmachines/inkling-2-mini

Settings you can ask for

Ask Devin for any of these in your prompt.

SettingAllowed valuesDefaultDescription
Seeda whole number
Min p0 to 1
Top ka whole number from 0
Top p0 to 1
Logprobson or off
Max tokens1 to 65536

The most output tokens to generate. On a reasoning model the reasoning tokens count toward it: a cap too low for the effort can end with no answer (finish_reason length).

Temperature0 to 2
Top logprobs0 to 20
Presence penalty-2 to 2
Reasoning effortnone, minimal, low, medium, high, or maxhigh

How much the model reasons.

Frequency penalty-2 to 2
Repetition penalty0 to 2

Every API field of Thinking Machines: Inkling 2 Mini is on its tool page: open its card above.

What can you do with Inkling 2 Mini in Devin?

Inkling 2 Mini can help carry a bug fix or migration through investigation, edits, and checks. Give it the relevant project files and explicit acceptance criteria, then review the patch and test results.

Fix a reproducible bug

Give Inkling 2 Mini the failing behavior, relevant code, and expected result. Ask for a focused patch and a regression test that demonstrates the fix.

Plan and carry out a code migration

Ask Inkling 2 Mini to identify affected call sites, update one component at a time, and check behavior against the migration requirements.

Find missing test coverage

Have Inkling 2 Mini compare an implementation with its existing tests, identify uncovered behavior, and propose cases with explicit expected results.

Research a narrow question

Use Inkling 2 Mini with search tools to investigate a specific claim. Request primary sources, supporting passages, and a clear account of unresolved evidence.

Answer questions across long documents

Provide labeled source text and ask Inkling 2 Mini to locate relevant passages, reconcile conflicting statements, and cite the evidence behind its answer.

Prepare a recurring change brief

Have Inkling 2 Mini compare newly retrieved announcements with the previous run's summary. Request only substantive changes, source links, and open questions.

Turn support reports into investigation steps

Give Inkling 2 Mini a set of reports and ask it to separate observed symptoms from suspected causes, group related issues, and propose reproducible checks.

Questions about Inkling 2 Mini in Devin

Can Devin use Inkling 2 Mini?

Yes. Add Spiral to Devin as an MCP server, and Devin can find and run Inkling 2 Mini like any built-in tool.

How much does Inkling 2 Mini cost in Devin?

Up to $0.034084 per run at the default inputs. $0.13 per 1M input tokens, $0.52 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 Inkling 2 Mini in Devin?

No. Spiral runs Inkling 2 Mini on its own OpenRouter account. You sign in to Spiral once and never paste a key.

How long does it take to set up Inkling 2 Mini in Devin?

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

Does Devin wait while Inkling 2 Mini runs?

Inkling 2 Mini runs in the background. Devin starts the run, checks on it and gives you the text, json when it's ready.

What is Inkling 2 Mini best suited for?

Coding tasks that require several steps and research that uses search or other tools are good starting points. Give it a concrete goal and a way to check the result, such as a failing test or a source citation.

Where does Inkling 2 Mini need closer review?

Thinking Machines flags long conversations and instructions with many constraints as weaker areas. Keep the current task self-contained, list the essential requirements, and check the result against them.

How much context can Inkling 2 Mini handle?

The published model supports up to one million tokens of context. For document questions, label the sources and ask for supporting passages so you can check each conclusion.

Can Inkling 2 Mini understand or generate images?

It accepts images alongside text and returns text. For optimal image performance, Thinking Machines recommends keeping each image dimension between 40 and 4,096 pixels.

Does Inkling 2 Mini support languages besides English?

Yes. Its model card lists English and general multilingual support; specify the output language and review terminology for your audience.

Get started

Start using Inkling 2 Mini 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