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

Devin · LLMReleased 2024-10-22

How to Use Magnum v4 72B in Devin

Magnum v4 72B targets creative prose and character roleplay. It fine-tunes Qwen2.5-72B-Instruct toward Claude 3 Sonnet and Opus prose, giving it a specific writing focus.

Prompts to try with Magnum v4 72B in Devin

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

Use Magnum v4 72B to read this project's character notes and draft eight greetings for a suspicious innkeeper. Keep each under 25 words and explain which established trait it reflects.

Magnum v4 72BDevin
Try asking
  • Use Magnum v4 72B to find a dialogue scene in this project and propose a 400-word rewrite with distinct voices. Preserve the existing plot facts and show the draft before editing.

  • Use Magnum v4 72B to draft a 300-word opening for this project's game using its setting notes. End at the player's first decision without choosing for them.

  • Use Magnum v4 72B to read the project's quest notes and write three 150-word encounter introductions. Give each a different immediate conflict while preserving the established setting.

  • Use Magnum v4 72B to compare two 250-word drafts of a scene based on this project's character notes. Start with temperature 0.7, top_k 20, and top_p 0.8; judge voice and repetition.

How to set up Magnum v4 72B 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 Magnum v4 72B

    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": "anthracite-org/magnum-v4-72b",
        "input": {
          "messages": [
            {
              "role": "system"
            }
          ]
        }
      }'

Then paste one of the prompts above: Devin finds Magnum v4 72B on Spiral, shows the price and runs it.

Magnum v4 72B providers and prices

Spiral runs Magnum v4 72B through OpenRouter. Open a card for today's price, with every fee included.

OpenRouterLLM
Magnum v4 72B
anthracite-org/magnum-v4-72b

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 4096

The most output tokens to generate.

Temperature0 to 2
Top logprobs0 to 20
Presence penalty-2 to 2
Frequency penalty-2 to 2
Repetition penalty0 to 2

Every API field of Magnum v4 72B is on its tool page: open its card above.

What can you do with Magnum v4 72B in Devin?

Draft dialogue and narrative text for your project with Magnum v4 72B. Use the project's character notes to guide the writing.

Game character dialogue

Draft a suspicious innkeeper's greetings, evasions, and confession.

Interactive fiction

Write a scene that pauses for the player's next decision.

Short story drafts

Turn a premise into a scene with a clear viewpoint.

Dialogue revisions

Rewrite an exchange so each speaker has a distinct voice.

Tabletop encounters

Prepare an NPC's motives, dialogue, and reactions to player choices.

Serialized fiction

Draft the next scene from a continuity brief and unresolved conflict.

Questions about Magnum v4 72B in Devin

Can Devin use Magnum v4 72B?

Yes. Add Spiral to Devin as an MCP server, and Devin can find and run Magnum v4 72B like any built-in tool.

How much does Magnum v4 72B cost in Devin?

Up to $0.026739 per run at the default inputs. $3.25 per 1M input tokens, $6.50 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 Magnum v4 72B in Devin?

No. Spiral runs Magnum v4 72B on its own OpenRouter account. You sign in to Spiral once and never paste a key.

How long does it take to set up Magnum v4 72B in Devin?

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

Does Devin wait while Magnum v4 72B runs?

Magnum v4 72B runs in the background. Devin starts the run, checks on it and gives you the text, json when it's ready.

What should I use Magnum v4 72B for?

Start with fiction, dialogue, and character roleplay. Its stated focus is prose quality.

Is Magnum v4 72B based on Claude?

Its base is Qwen2.5-72B-Instruct. Claude 3 Sonnet and Opus prose provided the writing target.

How should I prompt Magnum v4 72B for roleplay?

Specify the character, situation, and voice. Ask it to leave your character's decisions and dialogue to you.

How much context does Magnum v4 72B document?

Its published configuration specifies 32,768 positions. For extended stories, keep a short continuity brief alongside the current scene.

Which sampling settings should I try first?

Try the maker's published values: temperature 0.7, top-k 20, and top-p 0.8. Compare drafts using the same scene before changing one setting at a time.

Get started

Start using Magnum v4 72B 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