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

Claude Code · LLMReleased 2026-02-16

How to Use Qwen3.5 397B A17B in Claude Code

Use Qwen3.5 397B A17B for coding, reasoning, and tasks that involve several tool calls. Its 397B-parameter design activates 17B parameters per forward pass.

Prompts to try with Qwen3.5 397B A17B in Claude Code

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

Use Qwen3.5 397B A17B to investigate the failing tests in this repository. Trace the failure to the relevant code, make a focused repair, and run the affected tests.

Qwen3.5 397B A17BClaude Code
Try asking
  • Use Qwen3.5 397B A17B to review the current diff for incorrect assumptions and missed edge cases. Report each finding with its file, line, and a concrete failure example.

  • Use Qwen3.5 397B A17B to compare the requirements in this project's documentation with the implementation. List contradictions and missing behavior before proposing changes.

  • Use Qwen3.5 397B A17B to plan a refactor of the most duplicated validation logic. Compare two approaches, preserve existing behavior, and identify the tests that would verify the refactor.

  • Use Qwen3.5 397B A17B with temperature 0.6, top_p 0.95, top_k 20, and min_p 0 to analyze the repository's retry logic. Find a reproducible edge case and add a regression test before changing the code.

How to set up Qwen3.5 397B A17B in Claude Code

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

Use Spiral's MCP server

  1. Add the hosted server

    This adds Spiral to the current project. Add --scope user to use it in every project.

    claude mcp add --transport http spiral https://api.spiral.ai/mcp
  2. Sign in

    Start claude, type /mcp, choose spiral and Authenticate. Sign in to Spiral in the browser and click Authorize. No API key.

Use the Spiral skill

  1. Send Claude Code 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.5 397B A17B

    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.5-397b-a17b",
        "input": {
          "messages": [
            {
              "role": "system"
            }
          ]
        }
      }'

Then paste one of the prompts above: Claude Code finds Qwen3.5 397B A17B on Spiral, shows the price and runs it.

Qwen3.5 397B A17B providers and prices

Spiral runs Qwen3.5 397B A17B through OpenRouter. Open a card for today's price, with every fee included.

OpenRouterLLM
Qwen: Qwen3.5 397B A17B
qwen/qwen3.5-397b-a17b

Settings you can ask for

Ask Claude Code 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 235929

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 Qwen: Qwen3.5 397B A17B is on its tool page: open its card above.

What can you do with Qwen3.5 397B A17B in Claude Code?

Turn repository context into proposed repairs, implementation plans, and regression tests with Qwen3.5 397B A17B. Use concrete acceptance criteria and test the resulting changes.

Repair a failing test

Use Qwen3.5 397B A17B to trace a failure through the relevant code, propose a focused patch, and identify a regression test.

Compare implementation plans

Ask Qwen3.5 397B A17B to compare two technical approaches against explicit requirements, including edge cases and maintenance work.

Review long specifications

Give Qwen3.5 397B A17B specification text and request conflicting requirements, unanswered questions, and supporting passages.

Draft multilingual support replies

Ask Qwen3.5 397B A17B to draft replies in each customer's language using supplied policy text and a terminology guide.

Check mathematical solutions

Use Qwen3.5 397B A17B to examine a proposed solution, identify unsupported steps, and check the final result against the original conditions.

Plan tool actions

Give Qwen3.5 397B A17B a goal and available tool descriptions. Request an action sequence with prerequisites and a success check for each action.

Triage recurring technical reports

Use Qwen3.5 397B A17B to compare incoming error reports, group related symptoms, and propose the next diagnostic question.

Questions about Qwen3.5 397B A17B in Claude Code

Can Claude Code use Qwen3.5 397B A17B?

Yes. Add Spiral to Claude Code as an MCP server, and Claude Code can find and run Qwen3.5 397B A17B like any built-in tool.

How much does Qwen3.5 397B A17B cost in Claude Code?

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

Do I need an OpenRouter account to use Qwen3.5 397B A17B in Claude Code?

No. Spiral runs Qwen3.5 397B A17B 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.5 397B A17B in Claude Code?

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

Does Claude Code wait while Qwen3.5 397B A17B runs?

Qwen3.5 397B A17B runs in the background. Claude Code starts the run, checks on it and gives you the text, json when it's ready.

What is Qwen3.5 397B A17B good at?

It is a useful choice for code generation, reasoning, and work that requires several tool calls. Examples include proposing bug fixes, comparing technical approaches, and planning a sequence of actions.

What does 397B A17B mean?

The model has 397 billion parameters in total, with 17 billion activated per forward pass.

How much context does Qwen3.5 397B A17B support?

Its native context is 262,144 tokens, shared by input and output. Leave room for the response when supplying long material.

How long should I let it respond?

Qwen recommends an output budget of 32,768 tokens for most queries. That budget is a starting recommendation, not a requirement to produce a long answer or a stated maximum.

Which languages does Qwen3.5 support?

Qwen reports support for 201 languages and dialects. Specify the target language, audience, and terminology in your request.

Get started

Start using Qwen3.5 397B A17B in Claude Code

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

Paste this into Claude Code:

Set up Claude Code

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