[Integrations](https://spiral.ai/integrations) › [Codex](https://spiral.ai/integrations/codex) › [Nemotron 3.5 Lightning](https://spiral.ai/integrations/codex/nemotron-3-5-lightning)

# How to Use Nemotron 3.5 Lightning in Codex

Nemotron 3.5 Lightning handles routine coding tasks, tool-result checks, and structured text extraction. Unlike Nemotron 3.5 Super, it works with text rather than images or video.

|  |  |
| --- | --- |
| Model | Nemotron 3.5 Lightning |
| Available through | OpenRouter |
| Category | LLM |
| Price | Up to $0.001069 per run at the default inputs. $0.091 per 1M input tokens, $0.26 per 1M output tokens. |
| Returns | text, json |
| Runs | In the background |
| Setup | About 2 minutes, no API key |

## Prompts to try with Nemotron 3.5 Lightning in Codex

- Use Nemotron 3.5 Lightning to inspect the failing test and relevant source files, make the smallest justified fix, and run the affected tests.
- Use Nemotron 3.5 Lightning to read the latest build log, identify the first actionable failure, and run one targeted diagnostic.
- Use Nemotron 3.5 Lightning to compare this branch's code changes with the acceptance criteria and list unmet requirements with file references.
- Use Nemotron 3.5 Lightning to extract the public functions from this module into JSON containing each function's name, arguments, and documented return value.
- Use Nemotron 3.5 Lightning to compare the project's documentation with the current implementation and correct claims contradicted by the code.

## How to set up Nemotron 3.5 Lightning in Codex

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

### Use Spiral's MCP server

1. **Add the hosted server**

```bash
codex mcp add spiral --url https://api.spiral.ai/mcp
```

2. **Sign in**: Codex opens the browser: sign in to Spiral and click Authorize. No API key. `codex mcp list` then shows Spiral.

```bash
codex mcp login spiral
```

### Use the Spiral skill

1. **Send Codex 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 Nemotron 3.5 Lightning**: 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": "nvidia/nemotron-3.5-lightning",
    "input": {
      "messages": [
        {
          "role": "system"
        }
      ]
    }
  }'
```

Then paste one of the prompts above: Codex finds Nemotron 3.5 Lightning on Spiral, shows the price and runs it.

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

## Nemotron 3.5 Lightning tools and prices

- [NVIDIA: Nemotron 3.5 Lightning](https://spiral.ai/tools/openrouter/nvidia/nemotron-3.5-lightning) (OpenRouter): Up to $0.001069 per run at the default inputs. $0.091 per 1M input tokens, $0.26 per 1M output tokens.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| seed |  | — |  |
| stop |  | — |  |
| min_p | 0 to 1 | — |  |
| tools |  | — |  |
| top_k | 0 to … | — |  |
| top_p | 0 to 1 | — |  |

## What can you do with Nemotron 3.5 Lightning in Codex?

Turn repository code, build logs, and tool results into focused fixes with Nemotron 3.5 Lightning. Use it for bounded implementation tasks with explicit checks.

### Fix a reproducible bug

Use the failure report and relevant source code to draft a focused patch with a regression check.

### Check tool results

Compare returned values with acceptance criteria and identify missing evidence before the next action.

### Extract structured records

Turn support messages or operational notes into JSON with explicit rules for missing values.

### Answer from retrieved passages

Draft answers from supplied knowledge-base excerpts and include the passage IDs supporting each conclusion.

### Compare document revisions

Find changed requirements across text revisions and report the affected sections.

### Prepare recurring operational digests

Summarize supplied status updates into completed work, blockers, and unresolved questions.

### Draft multilingual support replies

Use supplied policy text to draft replies in English, Spanish, French, German, Italian, or Japanese.

### Triage build failures

Read text logs, identify the first relevant failure, and suggest a targeted diagnostic check.

## Overview

- [OpenRouter](https://spiral.ai/providers/openrouter)
- [All Codex guides](https://spiral.ai/integrations/codex)

## Nemotron 3.5 Lightning in other agents

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

## More Codex guides

- [Nemotron 3.5 Content Safety](https://spiral.ai/integrations/codex/nemotron-3-5-content-safety)
- [Nemotron 3.5 Super VL](https://spiral.ai/integrations/codex/nemotron-3-5-super-vl)
- [Nemotron 3 Ultra](https://spiral.ai/integrations/codex/nemotron-3-ultra)
- [Nex-N2.5 Mini](https://spiral.ai/integrations/codex/nex-n2-5-mini)
- [Nemotron 3 Super](https://spiral.ai/integrations/codex/nemotron-3-super)
- [Nex-N2.5-Pro](https://spiral.ai/integrations/codex/nex-n2-5-pro)

## Questions about Nemotron 3.5 Lightning in Codex

**Can Codex use Nemotron 3.5 Lightning?**

Yes. Add Spiral to Codex as an MCP server, and Codex can find and run Nemotron 3.5 Lightning like any built-in tool.

**How much does Nemotron 3.5 Lightning cost in Codex?**

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

**Do I need an OpenRouter account to use Nemotron 3.5 Lightning in Codex?**

No. Spiral runs Nemotron 3.5 Lightning on its own OpenRouter account. You sign in to Spiral once and never paste a key.

**How long does it take to set up Nemotron 3.5 Lightning in Codex?**

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

**Does Codex wait while Nemotron 3.5 Lightning runs?**

Nemotron 3.5 Lightning runs in the background. Codex starts the run, checks on it and gives you the text, json when it's ready.

**What is Nemotron 3.5 Lightning best suited for?**

NVIDIA positions it for repeated execution tasks such as checking tool results and formatting responses. Give it a specific job with a clear completion condition.

**How much context can Nemotron 3.5 Lightning handle?**

NVIDIA documents up to 1 million tokens of context. For long material, ask a focused question and request references to the supporting passages.

**Can Nemotron 3.5 Lightning analyze images or video?**

Nemotron 3.5 Lightning is a text model. For visual source material, provide extracted text or a written description.

**Which languages does Nemotron 3.5 Lightning support?**

NVIDIA lists English, Spanish, French, German, Italian, and Japanese, alongside coding languages. State the desired response language in your prompt.

**Which sampling settings should I start with?**

NVIDIA recommends temperature 1.0 and top-p 0.95. Use those as a starting point when evaluating your task.

