How to Use Nex-N2.5 Mini in VS Code
Nex-N2.5 Mini suits coding, browser tasks, and work that needs repeated checks. It trails Nex-N2.5 Pro on Nex AGI's SWE-Bench Pro evaluation, making bounded fixes with explicit tests a sensible starting point.
Prompts to try with Nex-N2.5 Mini in VS Code
Copy an example into VS Code, or ask in your own words.
Use Nex-N2.5 Mini to reproduce the failing test in this project, find its cause, make the smallest reasonable fix, and rerun it. Report the changed files and actual test result.
Use Nex-N2.5 Mini to inspect this project's search page and fix the filter-reset bug. Verify that resetting filters restores the full result list and preserves keyboard access.
Use Nex-N2.5 Mini with reasoning_effort high to investigate this intermittent parser failure. Build a minimal reproduction, test the suspected cause, and add a regression check before changing the parser.
Use Nex-N2.5 Mini to add empty-state handling to this project's results component. Follow existing styles and verify populated, empty, and error states in the browser.
Use Nex-N2.5 Mini to diagnose the project's failing build command. Test a focused correction, rerun the build, and distinguish resolved errors from remaining failures.
How to set up Nex-N2.5 Mini in VS Code
Pick the way that suits you. Each takes about two minutes.
Use Spiral's MCP server
- 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"}' - 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
- Send VS Code 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 Nex-N2.5 Mini
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": "nex-agi/nex-n2.5-mini", "input": { "messages": [ { "role": "system" } ] } }'
Then paste one of the prompts above: VS Code finds Nex-N2.5 Mini on Spiral, shows the price and runs it.
Nex-N2.5 Mini providers and prices
Spiral runs Nex-N2.5 Mini through OpenRouter. Open a card for today's price, with every fee included.
Up to $0.000535 per run at the default inputs. $0.0325 per 1M input tokens, $0.13 per 1M output tokens.
Settings you can ask for
Ask VS Code 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. | |
| Temperature | 0 to 2 | ||
| Top logprobs | 0 to 20 | ||
| Reasoning effort | none, medium, or high | high | How much the model reasons. |
Every API field of Nex AGI: Nex-N2.5-Mini is on its tool page: open its card above.
What can you do with Nex-N2.5 Mini in VS Code?
Turn a reproducible problem into a patch with evidence that it works. Give Nex-N2.5 Mini relevant project files, a narrow scope, and a specific test or browser check.
Fix a reproducible bug
Give Nex-N2.5 Mini the failing behavior and expected result. Ask for a focused patch, a regression check, and the observed outcome.
Check a browser workflow
Have Nex-N2.5 Mini work through a defined path, such as searching a catalog and applying filters. Request expected versus observed behavior for each step.
Implement a bounded feature
Describe one feature with clear acceptance criteria. Ask Nex-N2.5 Mini to implement it and demonstrate the result through tests or browser checks.
Investigate a technical question
Ask Nex-N2.5 Mini to research a specific question, compare primary sources, and produce a short answer with links and unresolved points.
Reproduce a calculation
Provide an equation, assumptions, and expected units. Ask Nex-N2.5 Mini to write and run a calculation, check edge cases, and explain discrepancies.
Investigate a failed command
Use Nex-N2.5 Mini to trace a repeatable command failure, test a proposed correction, and report the command's actual result.
Monitor a public website
Give Nex-N2.5 Mini a fixed checklist for public pages. Request a dated report of broken navigation, changed content, and issues it could reproduce.
More on Nex-N2.5 Mini and VS Code
Overview
Nex-N2.5 Mini in other agents
Questions about Nex-N2.5 Mini in VS Code
Can VS Code use Nex-N2.5 Mini?
Yes. Add Spiral to VS Code as an MCP server, and VS Code can find and run Nex-N2.5 Mini like any built-in tool.
How much does Nex-N2.5 Mini cost in VS Code?
Up to $0.000535 per run at the default inputs. $0.0325 per 1M input tokens, $0.13 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 Nex-N2.5 Mini in VS Code?
No. Spiral runs Nex-N2.5 Mini on its own OpenRouter account. You sign in to Spiral once and never paste a key.
How long does it take to set up Nex-N2.5 Mini in VS Code?
About two minutes: add the hosted server, then sign in.
Does VS Code wait while Nex-N2.5 Mini runs?
Nex-N2.5 Mini runs in the background. VS Code starts the run, checks on it and gives you the text, json when it's ready.
What is Nex-N2.5 Mini good at?
Its intended uses include coding, browser tasks, software testing, and research that requires checking results. Give it an observable finish line, such as a passing test or a finding backed by a source.
How does Nex-N2.5 Mini compare with Nex-N2.5 Pro?
Nex AGI positions Mini for fast instruction following and tool execution. Its published SWE-Bench Pro score is 43.8 versus Pro's 61.2, so start Mini with narrowly scoped changes and concrete acceptance tests.
How much context can Nex-N2.5 Mini handle?
The context window is 262,144 tokens. Keep the task, relevant evidence, and acceptance criteria together instead of filling the request with unrelated material.
When should I use adaptive or high thinking?
Adaptive thinking lets Nex-N2.5 decide whether and how much to think; high thinking always enables it. Try adaptive thinking for routine work and high thinking for a difficult diagnosis, then judge the result against your tests.
Which sampling settings should I start with?
Nex AGI's recommended starting values are temperature 0.7, top-p 0.95, and top-k 40. Use those as a baseline before changing one setting at a time.
Start using Nex-N2.5 Mini 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 https://spiral.ai/SKILL.md


