[Integrations](https://spiral.ai/integrations) › [opencode](https://spiral.ai/integrations/opencode) › [Mistral Saba](https://spiral.ai/integrations/opencode/mistral-saba)

# How to Use Mistral Saba in opencode

Mistral Saba handles Arabic support, regional content, and South Asian language tasks, with Tamil a documented strength. It adapts Mistral Small through training focused on Middle Eastern and South Asian material.

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

## Prompts to try with Mistral Saba in opencode

- Use Mistral Saba to draft Arabic onboarding copy from the project's existing English strings. Preserve interpolation tokens and keys, and follow the approved Arabic glossary.
- Use Mistral Saba to review the project's Tamil help text against its terminology guide. Return proposed wording changes with reasons for editorial review.
- Use Mistral Saba to classify the project's Arabic support examples as delivery, returns, product information, or unclear. Follow the labeled examples already provided.
- Use Mistral Saba to draft an Arabic tutorial from the README's documented workflow. Include one worked example and avoid adding undocumented behavior.
- Use Mistral Saba at temperature 0.2 to edit the project's Arabic error messages. Preserve technical identifiers and return only proposed text changes.

## How to set up Mistral Saba 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 Mistral Saba**: 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": "mistralai/mistral-saba",
    "input": {
      "messages": [
        {
          "role": "system"
        }
      ]
    }
  }'
```

Then paste one of the prompts above: opencode finds Mistral Saba on Spiral, shows the price and runs it.

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

## Mistral Saba tools and prices

- [Mistral: Saba](https://spiral.ai/tools/openrouter/mistralai/mistral-saba) (OpenRouter): Up to $0.003205 per run at the default inputs. $0.26 per 1M input tokens, $0.78 per 1M output tokens.

## Settings you can ask for

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

## What can you do with Mistral Saba in opencode?

Draft Arabic and Tamil product text directly alongside your project's existing content. Give Mistral Saba terminology and approved examples to guide regional wording.

### Arabic support reply drafts

Draft Arabic replies from an approved support policy. Ask for the next action and flag questions the policy does not answer.

### Tamil learning materials

Turn a lesson brief into a Tamil explanation, worked example, and short quiz. Specify the learner's age and expected reading level.

### Regional interface copy

Draft Arabic or Tamil onboarding messages, error explanations, and help text. Supply terminology and approved examples for consistency.

### Arabic educational content

Develop Arabic lesson drafts around supplied learning goals and local examples. Ask for explanations and practice questions separately.

### Cultural wording review

Review Arabic content for idioms and cultural references that deserve editorial attention. Request suggested rewrites with reasons for a local reviewer.

### Arabic inquiry classification

Assign incoming Arabic questions to defined categories such as delivery, returns, and product information. Include labeled examples and an unclear category.

## Overview

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

## Mistral Saba in other agents

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

## More opencode guides

- [Mistral NeMo](https://spiral.ai/integrations/opencode/mistral-nemo)
- [Mistral Small 3](https://spiral.ai/integrations/opencode/mistral-small-3)
- [Mistral Medium 3.5](https://spiral.ai/integrations/opencode/mistral-medium-3-5)
- [Mistral Small 3.1 24B Instruct](https://spiral.ai/integrations/opencode/mistral-small-3-1-24b-instruct)
- [Mistral Medium 3.1](https://spiral.ai/integrations/opencode/mistral-medium-3-1)
- [Mistral Small 3.2 24B](https://spiral.ai/integrations/opencode/mistral-small-3-2-24b)

## Questions about Mistral Saba in opencode

**Can opencode use Mistral Saba?**

Yes. Add Spiral to opencode as an MCP server, and opencode can find and run Mistral Saba like any built-in tool.

**How much does Mistral Saba cost in opencode?**

Up to $0.003205 per run at the default inputs. $0.26 per 1M input tokens, $0.78 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 Mistral Saba in opencode?**

No. Spiral runs Mistral Saba on its own OpenRouter account. You sign in to Spiral once and never paste a key.

**How long does it take to set up Mistral Saba in opencode?**

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

**Does opencode wait while Mistral Saba runs?**

Mistral Saba runs in the background. opencode starts the run, checks on it and gives you the text, json when it's ready.

**What is Mistral Saba best suited for?**

Its documented focus is Arabic and South Asian language work. Consider it for regional support replies, culturally relevant content, and educational material.

**Is Mistral Saba useful for Tamil?**

Yes. Mistral specifically highlights Tamil as a strength, alongside Arabic and support for other Indian-origin languages.

**How much text can Mistral Saba handle?**

Its documented context capacity is 32K tokens. For longer material, work through selected sections rather than submitting everything at once.

**Should I prompt Mistral Saba in English or the target language?**

Groq recommends using the target language. For Arabic output, try Arabic instructions and include examples of the tone you want.

**How should I specify dialect and cultural context?**

Name the intended audience, country, and register, then supply approved examples. Groq recommends examples for complex linguistic and cultural tasks; use them to show the exact style you expect.

