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

Windsurf · LLMReleased 2026-09-23

How to Use Qwen3.8 Max Prime in Windsurf

Qwen3.8 Max Prime suits coding, document analysis, and tasks that take several steps. It retains Qwen3.8 Max's capabilities while generating output faster.

Prompts to try with Qwen3.8 Max Prime in Windsurf

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

Use Qwen3.8 Max Prime to trace the failing test in this project, identify the cause, make a focused fix, and report the verification result.

Qwen3.8 Max PrimeWindsurf
Try asking
  • Use Qwen3.8 Max Prime to compare this project's migration guide with its current dependencies. Draft an ordered migration plan with a check for each stage.

  • Use Qwen3.8 Max Prime to review the authentication code across this repository. Explain the request flow and identify inconsistent behavior with file references.

  • Use Qwen3.8 Max Prime to implement the acceptance criteria in the project brief. Work in small steps, run relevant checks, and report any unmet criteria.

  • Use Qwen3.8 Max Prime to compare the supplied screenshot with this project's rendered page. List visible differences, fix them, and verify the result.

How to set up Qwen3.8 Max Prime in Windsurf

Pick the way that suits you. Each takes about two minutes.

Use Spiral's MCP server

  1. Add the server

    Open the Customize page from the Agents window and click MCPs. Under This computer, open the config file, or edit it directly: ~/.config/devin/mcp_config.json on macOS and Linux, %APPDATA%\devin\mcp_config.json on Windows. Add this:

    {
      "mcpServers": {
        "spiral": {
          "url": "https://api.spiral.ai/mcp"
        }
      }
    }
  2. Sign in

    Click Authenticate on the Spiral server in Customize › MCPs, or let the agent call Spiral once: your browser opens. Sign in to Spiral, pick the organization and click Authorize. No API key.

    devin mcp login spiral
  3. Check it

    Spiral is listed under This computer in Customize › MCPs. From the terminal:

    devin mcp list

Use the Spiral skill

  1. Send Windsurf 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 Qwen3.8 Max Prime

    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": "qwen/qwen3.8-max-prime",
        "input": {
          "messages": [
            {
              "role": "system"
            }
          ]
        }
      }'

Then paste one of the prompts above: Windsurf finds Qwen3.8 Max Prime on Spiral, shows the price and runs it.

Qwen3.8 Max Prime providers and prices

Spiral runs Qwen3.8 Max Prime through OpenRouter. Open a card for today's price, with every fee included.

OpenRouterLLM
Qwen: Qwen3.8 Max Prime
qwen/qwen3.8-max-prime

Settings you can ask for

Ask Windsurf for any of these in your prompt.

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

The most output tokens to generate.

Temperature0 to 2
Top logprobs0 to 20
Presence penalty-2 to 2
Reasoning effortminimal, low, medium, high, or xhighxhigh

How much the model reasons.

Frequency penalty-2 to 2

Every API field of Qwen: Qwen3.8 Max Prime is on its tool page: open its card above.

What can you do with Qwen3.8 Max Prime in Windsurf?

Qwen3.8 Max Prime can carry a software task from codebase investigation through implementation and verification. Define the expected behavior and require test evidence with the final patch.

Fix bugs across a codebase

Trace a failure through related code, propose a focused patch, and check the result against a reproducible test.

Plan software migrations

Compare current behavior with migration requirements, identify dependencies, and draft an implementation order with checks for each stage.

Compare long documents

Find conflicting requirements across supplied documents and build an evidence table with section references.

Turn research into a decision brief

Compare supplied studies, separate findings from assumptions, and explain which evidence supports each recommendation.

Explain charts and screenshots

Analyze supplied visuals and write a concise explanation that distinguishes visible evidence from interpretation.

Review product demonstration videos

Turn a supplied demonstration into a written account of the workflow, confusing steps, and questions for the product team.

Prepare recurring operations briefs

Compare incoming updates with the previous report, identify unresolved dependencies, and draft the next actions with supporting evidence.

Questions about Qwen3.8 Max Prime in Windsurf

Can Windsurf use Qwen3.8 Max Prime?

Yes. Add Spiral to Windsurf as an MCP server, and Windsurf can find and run Qwen3.8 Max Prime like any built-in tool.

How much does Qwen3.8 Max Prime cost in Windsurf?

Up to $0.06408 per run at the default inputs. $5.20 per 1M input tokens, $15.60 per 1M output tokens. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your Windsurf plan is separate.

Do I need an OpenRouter account to use Qwen3.8 Max Prime in Windsurf?

No. Spiral runs Qwen3.8 Max Prime on its own OpenRouter account. You sign in to Spiral once and never paste a key.

How long does it take to set up Qwen3.8 Max Prime in Windsurf?

About two minutes: add the server, then sign in, then check it.

Does Windsurf wait while Qwen3.8 Max Prime runs?

Qwen3.8 Max Prime runs in the background. Windsurf starts the run, checks on it and gives you the text, json when it's ready.

What is Qwen3.8 Max Prime good at?

Use it for software changes, research synthesis, document analysis, and work that requires several connected steps. Give it a concrete deliverable, the source material, and a way to check the result.

How does Qwen3.8 Max Prime differ from Qwen3.8 Max?

Prime retains Qwen3.8 Max's capabilities and generates output faster. Choose it when output speed matters during coding or repeated analysis.

How much can Qwen3.8 Max Prime read and write?

It has a one-million-token context window and supports up to 131,072 completion tokens. Keep the requested deliverable bounded; split material that exceeds the context limit into focused sections.

Does Qwen3.8 Max Prime create images or videos?

Its output is text. Use it to analyze supplied images or video and produce explanations, comparisons, or written briefs.

When should I ask for deeper reasoning?

Reserve deeper reasoning for difficult debugging, competing explanations, and plans with several dependencies. Qwen recommends medium effort for a balance of accuracy and speed and xhigh for complex analysis.

Get started

Start using Qwen3.8 Max Prime in Windsurf

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

Paste this into Windsurf:

Set up Windsurf

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