How to Use Nex-N2.6 in Gemini CLI
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.
Prompts to try with Nex-N2.6 in Gemini CLI
Copy an example into Gemini CLI, or ask in your own words.
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 Gemini CLI
Pick the way that suits you. Each takes about two minutes.
Use Spiral's MCP server
- Add the server
Or add it to ~/.gemini/settings.json yourself:
gemini mcp add --scope user --transport http spiral https://api.spiral.ai/mcp
- Sign in
Start gemini and run:
/mcp auth spiral
- Check it
In Gemini CLI, run /mcp. From your shell:
gemini mcp list
Use the Spiral skill
- Send Gemini CLI 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.6
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.6", "input": { "messages": [ { "role": "system" } ] } }'
Then paste one of the prompts above: Gemini CLI finds Nex-N2.6 on Spiral, shows the price and runs it.
Nex-N2.6 providers and prices
Spiral runs Nex-N2.6 through OpenRouter. Open a card for today's price, with every fee included.
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
Ask Gemini CLI 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. 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). | |
| Temperature | 0 to 2 | ||
| Top logprobs | 0 to 20 | ||
| Reasoning effort | medium or high | high | How much the model reasons. |
Every API field of Nex AGI: Nex-N2.6 is on its tool page: open its card above.
What can you do with Nex-N2.6 in Gemini CLI?
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.
More on Nex-N2.6 and Gemini CLI
Overview
Nex-N2.6 in other agents
More Gemini CLI guides
Questions about Nex-N2.6 in Gemini CLI
Can Gemini CLI use Nex-N2.6?
Yes. Add Spiral to Gemini CLI as an MCP server, and Gemini CLI can find and run Nex-N2.6 like any built-in tool.
How much does Nex-N2.6 cost in Gemini CLI?
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 Gemini CLI plan is separate.
Do I need an OpenRouter account to use Nex-N2.6 in Gemini CLI?
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 Gemini CLI?
About two minutes: add the server, then sign in, then check it.
Does Gemini CLI wait while Nex-N2.6 runs?
Nex-N2.6 runs in the background. Gemini CLI 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.
Start using Nex-N2.6 in Gemini CLI
One Spiral account for every tool your agent needs. No subscription; you pay per run.
Paste this into Gemini CLI:
set up https://spiral.ai/SKILL.md


