[Integrations](https://spiral.ai/integrations) › [opencode](https://spiral.ai/integrations/opencode) › [Aion-RP 1.0 (8B)](https://spiral.ai/integrations/opencode/aion-rp-1-0-8b)

# How to Use Aion-RP 1.0 (8B) in opencode

Aion-RP 1.0 (8B) is trained for character roleplay and creative writing. Its fine-tuned base model is designed for natural, varied prose; start at temperature 0.7 because the maker warns that 1.0 can produce nonsense.

|  |  |
| --- | --- |
| Model | Aion-RP 1.0 (8B) |
| Available through | OpenRouter |
| Category | LLM |
| Price | Up to $0.008557 per run at the default inputs. $1.04 per 1M input tokens, $2.08 per 1M output tokens. |
| Returns | text, json |
| Runs | In the background |
| Setup | About 2 minutes, no API key |

## Prompts to try with Aion-RP 1.0 (8B) in opencode

- Use Aion-RP 1.0 (8B) at temperature 0.7 to draft 12 lines for the harbor guard described in this project's character notes. Include greetings, refusals, and reluctant help; keep each line under 25 words and show me the draft.
- Read this project's opening scene and use Aion-RP 1.0 (8B) to draft three responses to the player's refusal. Preserve the established facts and format the drafts like the existing dialogue entries.
- Use Aion-RP 1.0 (8B) to rewrite the merchant's dialogue in the selected file. Give her clipped sentences and dry humor, preserve every quest clue, and present a proposed diff.
- Use Aion-RP 1.0 (8B) at temperature 0.7 to draft a 250-word continuation of the story excerpt in this project. Follow the character notes, retain past tense, and stop before the player makes a decision.
- Use Aion-RP 1.0 (8B) to draft eight short conversations for the tavern characters in this repository. Supply their motives as detailed instructions, keep each conversation under 120 words, and save the drafts for review.

## How to set up Aion-RP 1.0 (8B) 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 Aion-RP 1.0 (8B)**: 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": "aion-labs/aion-rp-llama-3.1-8b",
    "input": {
      "messages": [
        {
          "role": "system"
        }
      ]
    }
  }'
```

Then paste one of the prompts above: opencode finds Aion-RP 1.0 (8B) on Spiral, shows the price and runs it.

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

## Aion-RP 1.0 (8B) tools and prices

- [AionLabs: Aion-RP 1.0 (8B)](https://spiral.ai/tools/openrouter/aion-labs/aion-rp-llama-3.1-8b) (OpenRouter): Up to $0.008557 per run at the default inputs. $1.04 per 1M input tokens, $2.08 per 1M output tokens.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| top_p | 0 to 1 | — |  |
| max_tokens | 1 to 29491 | — | The most output tokens to generate. |
| temperature | 0 to 2 | — |  |

## What can you do with Aion-RP 1.0 (8B) in opencode?

Draft game dialogue and interactive fiction from the character notes in your project. Use the coding agent to place reviewed prose into the project's existing content format.

### Interactive character roleplay

Play opposite a fictional character with a defined voice and motive. Ask for one reply at a time, leaving your character's decisions to you.

### Game character dialogue

Draft greetings, refusals, rumors, and quest conversations from a character brief. Specify what the character knows so the draft has a clear boundary.

### Fiction scene continuations

Continue a scene from its final paragraph using a stated viewpoint, tense, and next story beat.

### Dialogue rewrites

Rewrite a conversation with sharper differences between speakers. Supply each speaker's goal and ask to preserve the underlying events.

### Tabletop encounter rehearsal

Rehearse a conversation with a suspicious guard, reluctant witness, or rival adventurer before a session. Define the character's secrets and conditions for cooperation.

### Branching story drafts

Draft separate responses to player choices for a text adventure or visual novel. Review each branch against the same scene facts.

### Character voice exploration

Try several voices for the same fictional character by changing diction, rhythm, and attitude while keeping the character's motive fixed.

## Overview

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

## Aion-RP 1.0 (8B) in other agents

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

## More opencode guides

- [Aion 3.5 Mini](https://spiral.ai/integrations/opencode/aion-3-5-mini)
- [Amazon Nova 2 Lite](https://spiral.ai/integrations/opencode/amazon-nova-2-lite)
- [Aion 3.5](https://spiral.ai/integrations/opencode/aion-3-5)
- [Amazon Nova Lite 1.0](https://spiral.ai/integrations/opencode/amazon-nova-lite-1-0)
- [Aion 3.0 Mini](https://spiral.ai/integrations/opencode/aion-3-0-mini)
- [Amazon Nova Micro](https://spiral.ai/integrations/opencode/amazon-nova-micro)

## Questions about Aion-RP 1.0 (8B) in opencode

**Can opencode use Aion-RP 1.0 (8B)?**

Yes. Add Spiral to opencode as an MCP server, and opencode can find and run Aion-RP 1.0 (8B) like any built-in tool.

**How much does Aion-RP 1.0 (8B) cost in opencode?**

Up to $0.008557 per run at the default inputs. $1.04 per 1M input tokens, $2.08 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 Aion-RP 1.0 (8B) in opencode?**

No. Spiral runs Aion-RP 1.0 (8B) on its own OpenRouter account. You sign in to Spiral once and never paste a key.

**How long does it take to set up Aion-RP 1.0 (8B) in opencode?**

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

**Does opencode wait while Aion-RP 1.0 (8B) runs?**

Aion-RP 1.0 (8B) runs in the background. opencode starts the run, checks on it and gives you the text, json when it's ready.

**What is Aion-RP 1.0 good at?**

Character roleplay and creative writing are its documented focus. Try it for fictional conversations, scene continuations, and dialogue drafts.

**Is Aion-RP 1.0 an instruction-tuned model?**

It is a fine-tuned base model designed for natural, varied writing. Start with fiction and character work when evaluating whether it fits your task.

**What temperature should I use?**

Start at 0.7, the maker's recommended value. The maker specifically warns that 1.0 can sometimes produce nonsensical output.

**What should I put in the system instructions?**

Detailed system instructions can improve output. For roleplay, try specifying the character's voice, motives, knowledge, and who controls each character.

**Can Aion-RP 1.0 handle an ongoing character conversation?**

Yes, the maker documents multi-turn conversations. Give it the relevant conversation history and ask it to stop before writing your next reply.

