[Integrations](https://spiral.ai/integrations) › [VS Code](https://spiral.ai/integrations/vscode) › [Nex-N2.6](https://spiral.ai/integrations/vscode/nex-n2-6)

# How to Use Nex-N2.6 in VS Code

Nex-N2.6 is built for coding, computer use, and tasks that take many tool-driven steps. Compared with Nex-N2.5-Pro, it reduces repetitive reasoning and follows the current environment's available tools more closely.

|  |  |
| --- | --- |
| Model | Nex-N2.6 |
| Available through | OpenRouter |
| Category | LLM |
| Price | Up to $0.002136 per run at the default inputs. $0.156 per 1M input tokens, $0.52 per 1M output tokens. |
| Returns | text, json |
| Runs | In the background |
| Setup | About 2 minutes, no API key |

## Prompts to try with Nex-N2.6 in VS Code

- Use Nex-N2.6 to investigate the failing tests in this repository. Reproduce the failure, trace its cause, make a focused fix, and rerun the affected tests. Report what passed and what remains unresolved.
- Use Nex-N2.6 to add keyboard navigation to the project's search results. Inspect the existing components, implement arrow-key selection and Enter to open a result, and verify those behaviors in the running application.
- Use Nex-N2.6 to trace the checkout error described in the project's issue notes. Follow the request through the relevant files, reproduce the error, and add a regression check before changing the implementation.
- Use Nex-N2.6 to check this application's account settings workflow with the available browser tools. Compare observed behavior with the project's requirements and report reproducible defects with the relevant code locations.
- Use Nex-N2.6 to continue the migration from the repository's progress notes. Verify which steps are complete, finish the remaining changes, and run the migration checks. Keep the final report under 600 words.

## How to set up Nex-N2.6 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:

```bash
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.

```bash
npx -y spiral-cli@latest init
```

### Call the Spiral API

1. **Create an API key**: In the console, under API keys.

2. **Run Nex-N2.6**: One request; the result comes back by polling or a webhook.

```bash
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.6",
    "input": {
      "messages": [
        {
          "role": "system"
        }
      ]
    }
  }'
```

Then paste one of the prompts above: VS Code finds Nex-N2.6 on Spiral, shows the price and runs it.

Setup guide in the docs: https://spiral.ai/docs/quickstarts/vscode

## Nex-N2.6 tools and prices

- [Nex AGI: Nex-N2.6](https://spiral.ai/tools/openrouter/nex-agi/nex-n2.6) (OpenRouter): Up to $0.002136 per run at the default inputs. $0.156 per 1M input tokens, $0.52 per 1M output tokens.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| tools |  | — |  |
| top_k | 0 to … | — |  |
| top_p | 0 to 1 | — |  |
| logprobs |  | — |  |
| reasoning |  | — | Reasoning effort; reasoning tokens count toward max_tokens. |
| max_tokens | 1 to 235929 | — | The most output tokens to generate. On a reasoning model the reasoning tokens count toward it: a cap too low for the effort can end with no answer (finish_reason length). |

## What can you do with Nex-N2.6 in VS Code?

Nex-N2.6 can help carry a code change from investigation through verification. Give it project context and acceptance criteria, then ask for evidence from commands and application checks.

### Fix a reproducible bug

Have Nex-N2.6 trace a reported failure through the code, make a focused change, and run the checks that demonstrate the fix.

### Implement a feature across files

Give Nex-N2.6 acceptance criteria for a feature that touches several parts of an application. Ask for the implementation and evidence for each completed criterion.

### Check a browser workflow

Ask Nex-N2.6 to exercise a signup, search, or settings workflow with the available browser tools and report observed failures with reproduction steps.

### Investigate a failed command

Use Nex-N2.6 to inspect command output, test a likely cause, and verify a repair. Request the evidence behind the diagnosis.

### Review a desktop procedure

Have Nex-N2.6 follow a defined procedure with the available computer tools, checking the visible result after each major action.

### Run recurring regression checks

Give Nex-N2.6 a fixed checklist for a test application. Ask for a report of passed checks, failed checks, and steps it could not complete.

### Resume an unfinished investigation

Provide Nex-N2.6 with the goal, previous tool results, and remaining questions. Ask it to continue from the evidence and avoid repeating completed work.

## Overview

- [OpenRouter](https://spiral.ai/providers/openrouter)
- [All VS Code guides](https://spiral.ai/integrations/vscode)

## Nex-N2.6 in other agents

- [Amp](https://spiral.ai/integrations/amp/nex-n2-6)
- [ChatGPT](https://spiral.ai/integrations/chatgpt/nex-n2-6)
- [Claude](https://spiral.ai/integrations/claude-desktop/nex-n2-6)
- [Claude Code](https://spiral.ai/integrations/claude-code/nex-n2-6)
- [Cline](https://spiral.ai/integrations/cline/nex-n2-6)
- [Codex](https://spiral.ai/integrations/codex/nex-n2-6)
- [Cursor](https://spiral.ai/integrations/cursor/nex-n2-6)
- [Devin](https://spiral.ai/integrations/devin/nex-n2-6)
- [dots](https://spiral.ai/integrations/dots/nex-n2-6)
- [Factory Droid](https://spiral.ai/integrations/factory-droid/nex-n2-6)
- [Gemini](https://spiral.ai/integrations/gemini/nex-n2-6)
- [Gemini CLI](https://spiral.ai/integrations/gemini-cli/nex-n2-6)
- [Google Antigravity](https://spiral.ai/integrations/antigravity/nex-n2-6)
- [goose](https://spiral.ai/integrations/goose/nex-n2-6)
- [Grok](https://spiral.ai/integrations/grok/nex-n2-6)
- [Grok Build](https://spiral.ai/integrations/grok-build/nex-n2-6)
- [Hermes](https://spiral.ai/integrations/hermes/nex-n2-6)
- [Instinct](https://spiral.ai/integrations/instinct/nex-n2-6)
- [Manus](https://spiral.ai/integrations/manus/nex-n2-6)
- [Muse](https://spiral.ai/integrations/muse/nex-n2-6)
- [Muse Code](https://spiral.ai/integrations/muse-code/nex-n2-6)
- [n8n](https://spiral.ai/integrations/n8n/nex-n2-6)
- [Notion](https://spiral.ai/integrations/notion/nex-n2-6)
- [OpenClaw](https://spiral.ai/integrations/openclaw/nex-n2-6)
- [opencode](https://spiral.ai/integrations/opencode/nex-n2-6)
- [Perplexity](https://spiral.ai/integrations/perplexity/nex-n2-6)
- [Raycast](https://spiral.ai/integrations/raycast/nex-n2-6)
- [Windsurf](https://spiral.ai/integrations/windsurf/nex-n2-6)
- [Zapier](https://spiral.ai/integrations/zapier/nex-n2-6)

## More VS Code guides

- [Nex-N2.5-Pro](https://spiral.ai/integrations/vscode/nex-n2-5-pro)
- [Palmyra X5](https://spiral.ai/integrations/vscode/palmyra-x5)
- [Nex-N2.5 Mini](https://spiral.ai/integrations/vscode/nex-n2-5-mini)
- [Pareto 26.10](https://spiral.ai/integrations/vscode/pareto-26-10)
- [Nemotron 3.5 Super VL](https://spiral.ai/integrations/vscode/nemotron-3-5-super-vl)
- [Pareto 26.10 Preview](https://spiral.ai/integrations/vscode/pareto-26-10-preview)

## Questions about Nex-N2.6 in VS Code

**Can VS Code use Nex-N2.6?**

Yes. Add Spiral to VS Code as an MCP server, and VS Code can find and run Nex-N2.6 like any built-in tool.

**How much does Nex-N2.6 cost in VS Code?**

Up to $0.002136 per run at the default inputs. $0.156 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 Nex-N2.6 in VS Code?**

No. Spiral runs Nex-N2.6 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.6 in VS Code?**

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

**Does VS Code wait while Nex-N2.6 runs?**

Nex-N2.6 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.6 good at?**

Nex-N2.6 is designed for coding, computer use, and tasks that require many tool-driven steps. Consider it for work such as investigating a bug, making a change, and checking the result.

**How does Nex-N2.6 differ from Nex-N2.5-Pro?**

The maker emphasizes less repetitive reasoning and closer adherence to the tools available in the current environment. Those improvements target problems that can interrupt long tasks.

**Where does Nex-N2.6 still fall short?**

It does not lead every reported automation benchmark. The maker reports 45.7 on AutomationBench, compared with 48.8 for GLM-5.3-Flash and 54.8 for DeepSeek-V4.1-Flash; use your own task checks before relying on an automated result.

**How much context can Nex-N2.6 handle?**

Nex-N2.6 has a 262,144-token context window. For a long investigation, keep a concise record of completed steps, relevant evidence, and unresolved questions.

**How should I prompt Nex-N2.6 for a long task?**

Give it a concrete goal, constraints, and a way to verify completion. For example, ask it to reproduce a bug, apply a focused fix, and report the test result with any remaining uncertainty.

