How to Use Motif 3 in Devin
Motif 3 suits code fixes, terminal troubleshooting, and questions that connect long documents. Its clearest strengths are multi-step tool use and terminal problem solving; specialized scientific coding is less competitive.
Prompts to try with Motif 3 in Devin
Copy an example into Devin, or ask in your own words.
Use Motif 3 to investigate the failing tests in this repository. Reproduce the failure, trace its cause, make the smallest justified fix, and run the relevant tests. Report the evidence that the fix works.
Use Motif 3 to trace the login flow through this project's files. Identify where an expired session could cause repeated redirects, explain the evidence, and add a focused regression test with any fix.
Use Motif 3 to compare this repository's API implementation with its specification. List behavior mismatches with file references, then fix the clearest mismatch and verify it.
Use Motif 3 to investigate the build failure using terminal output and project configuration. Check one hypothesis at a time, preserve the results, and stop when the build passes or a specific blocker is established.
Use Motif 3 to review the current diff against the project's requirements. Focus on incorrect behavior and missing tests, cite the relevant code, and distinguish confirmed defects from questions.
How to set up Motif 3 in Devin
Pick the way that suits you. Each takes about two minutes.
Use Spiral's MCP server
- Add a custom MCP
Open Customize › MCPs. Click + and choose New MCP. Fill in:
- 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.
- Check it
On Spiral's configuration page, click Test tools. Devin lists Spiral's tools.
Use the Spiral skill
- Send Devin this message
Your agent reads Spiral's skill and sets itself up.
set up https://spiral.ai/SKILL.md
- Sign in or paste a key
Approve Spiral in the browser, or give the agent a key from the console.
Use the Spiral CLI
- 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
- Create an API key
In the console, under API keys.
- Run Motif 3
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": "motif-technologies/motif-3", "input": { "messages": [ { "role": "system" } ] } }'
Then paste one of the prompts above: Devin finds Motif 3 on Spiral, shows the price and runs it.
Motif 3 providers and prices
Spiral runs Motif 3 through OpenRouter. Open a card for today's price, with every fee included.
Up to $0.006404 per run at the default inputs. $0.39 per 1M input tokens, $1.56 per 1M output tokens.
Settings you can ask for
Ask Devin for any of these in your prompt.
| Setting | Allowed values | Default | Description |
|---|---|---|---|
| Top k | a whole number from 0 | ||
| Top p | 0 to 1 | ||
| Logprobs | on or off | ||
| Max tokens | 1 to 235929 | 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). | |
| Temperature | 0 to 2 | ||
| Top logprobs | 0 to 20 | ||
| Presence penalty | -2 to 2 | ||
| Frequency penalty | -2 to 2 | ||
| Repetition penalty | 0 to 2 |
Every API field of Motif Technologies: Motif 3 is on its tool page: open its card above.
What can you do with Motif 3 in Devin?
Turn a repository issue into a code change checked by tests with Motif 3. Give the agent the failing behavior, relevant project context, and a clear condition for completion.
Fix a repository issue
Use Motif 3 to trace a reported bug, change the relevant code, and check the result with focused tests.
Investigate terminal failures
Give Motif 3 command output and a clear success condition. Ask for an investigation that checks each hypothesis against subsequent results.
Compare long technical documents
Ask Motif 3 to connect requirements across specifications, identify contradictions, and cite the sections behind each finding.
Answer questions from a policy collection
Provide labeled policy text and ask Motif 3 for evidence-backed answers, with an explicit unknown when the material does not resolve a question.
Prepare English and Korean support drafts
Use Motif 3 to draft responses from supplied support policies. Specify the output language and preserve product names and technical terms.
Review changes across recurring reports
Give Motif 3 the previous and current report text. Request a concise account of changed claims, conflicting evidence, and questions that remain unanswered.
Investigate a support issue with tools
Use Motif 3 to select relevant lookups, interpret returned results, and draft a resolution tied to the supplied policy and evidence.
More on Motif 3 and Devin
Overview
Motif 3 in other agents
Questions about Motif 3 in Devin
Can Devin use Motif 3?
Yes. Add Spiral to Devin as an MCP server, and Devin can find and run Motif 3 like any built-in tool.
How much does Motif 3 cost in Devin?
Up to $0.006404 per run at the default inputs. $0.39 per 1M input tokens, $1.56 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 Motif 3 in Devin?
No. Spiral runs Motif 3 on its own OpenRouter account. You sign in to Spiral once and never paste a key.
How long does it take to set up Motif 3 in Devin?
About two minutes: add a custom MCP, then sign in to Spiral and approve, then check it.
Does Devin wait while Motif 3 runs?
Motif 3 runs in the background. Devin starts the run, checks on it and gives you the text, json when it's ready.
What is Motif 3 best suited for?
Start with tasks involving several tool calls, code changes with tests, or answers assembled from long documents. The maker highlights multi-step execution and terminal problem solving.
How much context can Motif 3 handle?
Motif 3 has a native context length of 262,144 tokens. Treat that as the context window, rather than a promise that each answer can reach that length.
Which languages does Motif 3 emphasize?
The maker describes Motif 3 as multilingual and specifically highlights English and Korean in its tokenizer design. Specify the response language when your source material mixes languages.
Which sampling settings should I try first?
Temperature 1.0 and top-p 0.95 match the maker's evaluation settings. Use them as a starting point for your own checks; the published evaluation does not establish one best setting for every task.
Where does Motif 3 need closer checking?
The maker reports weaker results than the strongest compared models on scientific coding and specialized scientific reasoning. For those tasks, request executable checks, stated assumptions, and evidence for conclusions.
Start using Motif 3 in Devin
One Spiral account for every tool your agent needs. No subscription; you pay per run.
Paste this into Devin:
set up https://spiral.ai/SKILL.md


