[Integrations](https://spiral.ai/integrations) › [opencode](https://spiral.ai/integrations/opencode) › [Cydonia 24B V4.1](https://spiral.ai/integrations/opencode/cydonia-24b-v4-1)

# How to Use Cydonia 24B V4.1 in opencode

Cydonia 24B V4.1 is a Mistral Small 3.2-based model for creative writing and character roleplay. Its emphasis is descriptive prose, character direction, and story continuity.

|  |  |
| --- | --- |
| Model | Cydonia 24B V4.1 |
| Available through | OpenRouter |
| Category | LLM |
| Price | Up to $0.002677 per run at the default inputs. $0.39 per 1M input tokens, $0.65 per 1M output tokens. |
| Returns | text, json |
| Runs | In the background |
| Setup | About 2 minutes, no API key |

## Prompts to try with Cydonia 24B V4.1 in opencode

- Use Cydonia 24B V4.1 to draft a 12-line conversation from this project's character notes. Choose two characters with conflicting goals, preserve their established voices, and identify which notes informed the dialogue.
- Use Cydonia 24B V4.1 to write three responses for a shopkeeper in this game's dialogue files: one for a polite customer, one for a suspected thief, and one for an old friend. Follow the existing lore and keep each response under 60 words.
- Read the interactive fiction outline in this project and use Cydonia 24B V4.1 to draft a 500-word opening scene. Match its point of view and tense, introduce the central conflict, and stop before the player's first decision.
- Use Cydonia 24B V4.1 to revise one passage of narrative text from this project. Preserve all events and character names, replace ornate metaphors with concrete details, and show the original beside the revision.
- Use Cydonia 24B V4.1 to propose three endings for the current quest using the project's quest notes. Make each ending follow from a different player choice, and list any proposed lore additions separately.

## How to set up Cydonia 24B V4.1 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 Cydonia 24B V4.1**: 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": "thedrummer/cydonia-24b-v4.1",
    "input": {
      "messages": [
        {
          "role": "system"
        }
      ]
    }
  }'
```

Then paste one of the prompts above: opencode finds Cydonia 24B V4.1 on Spiral, shows the price and runs it.

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

## Cydonia 24B V4.1 tools and prices

- [TheDrummer: Cydonia 24B V4.1](https://spiral.ai/tools/openrouter/thedrummer/cydonia-24b-v4.1) (OpenRouter): Up to $0.002677 per run at the default inputs. $0.39 per 1M input tokens, $0.65 per 1M output tokens.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| seed |  | — |  |
| stop |  | — |  |
| top_k | 0 to … | — |  |
| top_p | 0 to 1 | — |  |
| logprobs |  | — |  |
| max_tokens | 1 to 117964 | — | The most output tokens to generate. |

## What can you do with Cydonia 24B V4.1 in opencode?

Create dialogue and narrative content for games or interactive fiction with Cydonia 24B V4.1. Have your coding agent gather character notes and story constraints from the project, then check the drafts against those materials.

### Game character dialogue

Draft conversations from character motives, relationship notes, and established lore. Request separate responses for a friendly, suspicious, or hostile player approach.

### Interactive character roleplay

Play a defined character in an ongoing scene. Supply personality, boundaries, and recent events, then reserve the other character's actions for the human participant.

### Fiction scene drafts

Turn an outline into a scene with a specified point of view, setting, and emotional change. Ask for a contained scene you can revise against the outline.

### Tabletop encounter preparation

Write an encounter introduction, character motivations, and possible conversational responses. Keep established campaign facts in the brief and review any new lore before using it.

### Prose revision

Rewrite a passage with less ornamentation, a different narrative distance, or a more restrained emotional tone. Preserve the events and compare the result with the original.

### Alternate story endings

Explore several resolutions to the same conflict while keeping character motives fixed. Specify a different consequence for each ending so the drafts test distinct story choices.

## Overview

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

## Cydonia 24B V4.1 in other agents

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

## More opencode guides

- [Command R7B (12-2024)](https://spiral.ai/integrations/opencode/command-r7b-12-2024)
- [DaisyRose 27B](https://spiral.ai/integrations/opencode/daisyrose-27b)
- [Command R Plus (08-2024)](https://spiral.ai/integrations/opencode/command-r-plus-08-2024)
- [DeepSeek Flash Latest](https://spiral.ai/integrations/opencode/deepseek-flash-latest)
- [Command R (08-2024)](https://spiral.ai/integrations/opencode/command-r-08-2024)
- [DeepSeek Pro Latest](https://spiral.ai/integrations/opencode/deepseek-pro-latest)

## Questions about Cydonia 24B V4.1 in opencode

**Can opencode use Cydonia 24B V4.1?**

Yes. Add Spiral to opencode as an MCP server, and opencode can find and run Cydonia 24B V4.1 like any built-in tool.

**How much does Cydonia 24B V4.1 cost in opencode?**

Up to $0.002677 per run at the default inputs. $0.39 per 1M input tokens, $0.65 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 Cydonia 24B V4.1 in opencode?**

No. Spiral runs Cydonia 24B V4.1 on its own OpenRouter account. You sign in to Spiral once and never paste a key.

**How long does it take to set up Cydonia 24B V4.1 in opencode?**

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

**Does opencode wait while Cydonia 24B V4.1 runs?**

Cydonia 24B V4.1 runs in the background. opencode starts the run, checks on it and gives you the text, json when it's ready.

**What is Cydonia 24B V4.1 good for?**

Creative writing, character dialogue, and roleplay are its clearest uses. The maker's model card highlights tester feedback on descriptive prose and responsiveness to character details.

**How should I prompt Cydonia 24B V4.1 for roleplay?**

Specify the character's motive, speaking style, relationships, and knowledge of the scene. As a practical starting point, ask it to write only its assigned character and leave your character's decisions to you.

**How much story context can Cydonia 24B V4.1 take?**

Its published context window is 131,072 tokens. For an ongoing story, keep a short canon summary and test whether it preserves the details that matter to your next scene.

**Is Cydonia 24B V4.1 a major reasoning upgrade over Mistral Small 3.2?**

The maker reports marginal benchmark changes from the base model. Choose it for writing and roleplay, and evaluate reasoning tasks separately before relying on the results.

**How do I keep Cydonia 24B V4.1's prose under control?**

Give it a concrete writing brief: point of view, tense, target length, and the scene's emotional turn. Try directions such as concrete sensory details, restrained metaphors, and no explanation after the scene.

