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

VS Code · LLMReleased 2024-09-19

How to Use Qwen2.5 72B Instruct in VS Code

Qwen2.5 72B Instruct handles multilingual writing, table analysis, JSON extraction, and code. Compared with Qwen2 72B Instruct, Qwen reports better math and coding results, making it useful for work that mixes prose with technical tasks.

Prompts to try with Qwen2.5 72B Instruct in VS Code

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

Use Qwen2.5 72B Instruct to review the current diff for incorrect behavior. Return at most five findings with file paths, supporting code, and a test that would expose each issue.

Qwen2.5 72B InstructVS Code
Try asking
  • Use Qwen2.5 72B Instruct to draft tests for the CSV parser in this project. Cover quoted commas, empty cells, malformed rows, and Unicode text; follow the existing test conventions and run the relevant tests.

  • Use Qwen2.5 72B Instruct to compare the API specification with the request validation code. Return JSON containing the endpoint, mismatch, supporting file locations, and proposed correction.

  • Use Qwen2.5 72B Instruct to translate the English help strings in this project into Spanish and Japanese. Preserve keys, interpolation tokens, product names, and Markdown formatting; report ambiguous terms.

  • Use Qwen2.5 72B Instruct with temperature 0.7, top-p 0.8, and top-k 20 to draft a Python function from the selected specification. Include type hints and focused tests, then check the result against the specification.

How to set up Qwen2.5 72B Instruct in VS Code

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

Use Spiral's MCP server

  1. Add the hosted server

    Use Add to VS Code on the console's Agents & MCP page, or run:

    code --add-mcp '{"name":"spiral","type":"http","url":"https://api.spiral.ai/mcp"}'
  2. Sign in

    VS Code asks you to sign in when it first starts the server: sign in to Spiral and click Authorize. No API key. Run MCP: List Servers from the Command Palette to check that Spiral is running.

Use the Spiral skill

  1. Send VS 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 Qwen2.5 72B Instruct

    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/qwen-2.5-72b-instruct",
        "input": {
          "messages": [
            {
              "role": "system"
            }
          ]
        }
      }'

Then paste one of the prompts above: VS Code finds Qwen2.5 72B Instruct on Spiral, shows the price and runs it.

Qwen2.5 72B Instruct providers and prices

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

OpenRouterLLM
Qwen2.5 72B Instruct
qwen/qwen-2.5-72b-instruct

Settings you can ask for

Ask VS 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
Max tokens1 to 16384

The most output tokens to generate.

Temperature0 to 2
Presence penalty-2 to 2
Frequency penalty-2 to 2
Repetition penalty0 to 2

Every API field of Qwen2.5 72B Instruct is on its tool page: open its card above.

What can you do with Qwen2.5 72B Instruct in VS Code?

Turn project code, specifications, and tables into implementation drafts, tests, and structured findings with Qwen2.5 72B Instruct. Give the agent a focused task and require checks against the project's expected behavior.

Extract records from business text

Turn order descriptions, support messages, or meeting notes into JSON. Define required values, how to represent missing information, and which source passage supports each record.

Explain tables

Read tables supplied as text and explain trends, inconsistent entries, and missing values. Ask for row references so a reviewer can check the findings.

Localize help content

Draft Chinese, English, Spanish, French, or Japanese versions of support answers. Supply a terminology list and ask it to preserve product names, numbers, and policy conditions.

Draft code and tests

Generate a function, explain an implementation, or propose tests from a written specification. Keep the request focused and run the resulting code against the expected behavior.

Compare long documents

Compare supplied policy text, technical specifications, or research notes. Request a short comparison with supporting passages, and review conclusions drawn from long inputs.

Prepare recurring operations briefs

Summarize supplied status updates into decisions, blockers, and next actions. Keep the same output structure each time and distinguish reported facts from unanswered questions.

Develop technical explanations

Explain a mathematical method or programming concept for a defined audience. Request worked examples and explicit assumptions, then verify calculations or executable examples.

Questions about Qwen2.5 72B Instruct in VS Code

Can VS Code use Qwen2.5 72B Instruct?

Yes. Add Spiral to VS Code as an MCP server, and VS Code can find and run Qwen2.5 72B Instruct like any built-in tool.

How much does Qwen2.5 72B Instruct cost in VS Code?

Up to $0.002147 per run at the default inputs. $0.468 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 VS Code plan is separate.

Do I need an OpenRouter account to use Qwen2.5 72B Instruct in VS Code?

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

How long does it take to set up Qwen2.5 72B Instruct in VS Code?

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

Does VS Code wait while Qwen2.5 72B Instruct runs?

Qwen2.5 72B Instruct runs in the background. VS Code starts the run, checks on it and gives you the text, json when it's ready.

What is Qwen2.5 72B Instruct good at?

It is useful for tasks that combine writing with structured information: interpreting tables, extracting JSON, drafting multilingual text, and producing code. Qwen also reports improved math and coding results over Qwen2 72B Instruct.

How much text can Qwen2.5 72B Instruct handle?

Qwen documents a full context length of 131,072 tokens with long-context extension and an output length of 8,192 tokens. Treat those as the maker's model specifications; for a long report, request an outline and draft one section at a time.

Which languages does Qwen2.5 support?

Qwen lists more than 29 supported languages, including Chinese, English, French, Spanish, Portuguese, German, Italian, Russian, and Japanese. For translation work, specify the target language, audience, and terms that must stay unchanged.

Is Qwen2.5 72B Instruct useful for JSON extraction?

Yes. Qwen identifies structured data understanding and JSON generation as areas of improvement. Give it an exact output shape and missing-value rules, then validate the result before using it downstream.

How should I prompt Qwen2.5 72B Instruct?

State the task, audience, source material, and required output format explicitly. Qwen's published sampling configuration uses temperature 0.7, top-p 0.8, and top-k 20; use it as a starting point and evaluate changes on representative examples.

Get started

Start using Qwen2.5 72B Instruct in VS Code

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

Paste this into VS Code:

Set up VS Code

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