[Integrations](https://spiral.ai/integrations) › [opencode](https://spiral.ai/integrations/opencode) › [Nemotron 3.5 Content Safety](https://spiral.ai/integrations/opencode/nemotron-3-5-content-safety)

# How to Use Nemotron 3.5 Content Safety in opencode

Use Nemotron 3.5 Content Safety to classify user requests and AI replies as safe or unsafe. It supports text-and-image moderation, custom safety policies, and optional reasoning traces for reviewing decisions.

|  |  |
| --- | --- |
| Model | Nemotron 3.5 Content Safety |
| Available through | OpenRouter |
| Category | LLM |
| Price | Up to $0.001076 per run at the default inputs. $0.26 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 Content Safety in opencode

- Use Nemotron 3.5 Content Safety to evaluate the moderation fixtures in this project. Compare each verdict with its expected label and report false positives and false negatives separately.
- Use Nemotron 3.5 Content Safety to check the saved user requests and draft assistant replies in this project. Preserve separate verdicts for requests and responses, and list disagreements with our expected results.
- Use Nemotron 3.5 Content Safety to evaluate our customer support examples under the project's policy. Check threats, personal information exposure, and social engineering while allowing harmless complaints.
- Use Nemotron 3.5 Content Safety to test the custom disclosure policy in this repository. Compare examples requesting confidential material with examples asking about published documentation.
- Use Nemotron 3.5 Content Safety to compare the current moderation policy with the proposed revision using our existing labeled examples. Report which classifications changed and whether each change matches the expected label.

## How to set up Nemotron 3.5 Content Safety in opencode

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

### Use Spiral's MCP server

1. **Add the server**: Leave out `--global` to add Spiral to the current project only. No header and no client ID or secret: opencode registers itself with Spiral.

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

2. **Sign in**: Your browser opens. Sign in to Spiral, pick the organization and click Authorize, then return to the terminal. No API key. Inside opencode, `/mcps` starts the same sign-in.

```bash
opencode mcp auth spiral
```

3. **Check it**: Spiral shows as connected.

```bash
opencode mcp list
```

### Use the Spiral skill

1. **Send opencode 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 Content Safety**: 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-content-safety",
    "input": {
      "messages": [
        {
          "role": "system"
        }
      ]
    }
  }'
```

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

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

## Nemotron 3.5 Content Safety tools and prices

- [NVIDIA: Nemotron 3.5 Content Safety](https://spiral.ai/tools/openrouter/nvidia/nemotron-3.5-content-safety) (OpenRouter): Up to $0.001076 per run at the default inputs. $0.26 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 | — |  |
| top_k | 0 to … | — |  |
| top_p | 0 to 1 | — |  |
| reasoning |  | — | Reasoning effort; reasoning tokens count toward max_tokens. |

## What can you do with Nemotron 3.5 Content Safety in opencode?

Build moderation checks and safety regression reports around your project's assistant. Use Nemotron 3.5 Content Safety to classify requests and replies, then compare its decisions with your labeled examples.

### Screen incoming requests

Classify user requests against safety rules before passing them to an assistant.

### Review draft AI replies

Assess the user request and proposed reply together, keeping their safety verdicts separate.

### Triage customer support messages

Apply rules for threats, personal information exposure, and social engineering while explicitly allowing harmless frustration.

### Check enterprise assistant disclosures

Use a custom policy to flag requests for confidential information while allowing discussion of published documentation.

### Run safety regression checks

Compare classifications with human-labeled examples after changing an assistant or moderation policy.

### Evaluate multilingual moderation

Classify equivalent moderation examples across your target languages and compare the results with reviewer judgments.

### Review custom policy decisions

Use optional reasoning traces to examine disputed classifications and refine ambiguous rules.

## Overview

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

## Nemotron 3.5 Content Safety in other agents

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

## More opencode guides

- [Nemotron 3 Ultra](https://spiral.ai/integrations/opencode/nemotron-3-ultra)
- [Nemotron 3.5 Lightning](https://spiral.ai/integrations/opencode/nemotron-3-5-lightning)
- [Nemotron 3 Super](https://spiral.ai/integrations/opencode/nemotron-3-super)
- [Nemotron 3.5 Super VL](https://spiral.ai/integrations/opencode/nemotron-3-5-super-vl)
- [Nemotron 3 Nano 30B A3B](https://spiral.ai/integrations/opencode/nemotron-3-nano-30b-a3b)
- [Nex-N2.5 Mini](https://spiral.ai/integrations/opencode/nex-n2-5-mini)

## Questions about Nemotron 3.5 Content Safety in opencode

**Can opencode use Nemotron 3.5 Content Safety?**

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

**How much does Nemotron 3.5 Content Safety cost in opencode?**

Up to $0.001076 per run at the default inputs. $0.26 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 opencode plan is separate.

**Do I need an OpenRouter account to use Nemotron 3.5 Content Safety in opencode?**

No. Spiral runs Nemotron 3.5 Content Safety 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 Content Safety in opencode?**

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

**Does opencode wait while Nemotron 3.5 Content Safety runs?**

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

**What should I use Nemotron 3.5 Content Safety for?**

Use it to classify user requests and AI responses against safety rules. It also fits moderation reviews and safety regression checks.

**What does Nemotron 3.5 Content Safety return?**

It returns text containing a safety label for the user input and a separate label for an AI response when one is supplied. Optional reasoning traces help you review how it applied a policy.

**How much text or image content can it assess?**

NVIDIA documents up to 128K tokens of context and at most one image per classification. Its vision encoder resizes images to 896 by 896 pixels.

**Does Nemotron 3.5 Content Safety support multilingual moderation?**

NVIDIA describes coverage across 12 languages. Evaluate your actual languages and moderation examples before relying on its classifications.

**Can its safety verdicts be wrong?**

Yes. NVIDIA identifies both false positives and false negatives as known risks, so test allowed content alongside prohibited examples and review disagreements.

