> Crysk 0.9.0 docs. Index of every page: https://crysk.dev/llms.txt

# Other model providers

Choose which model runs each step of a review, and add DeepSeek or another OpenCode provider.

At the end, each step of a review runs on the models you chose. Without any setting, every step uses Claude: the [Claude plan page](https://crysk.dev/docs/github-actions/claude-plan.md) covers that.

## Set the models

The `CRYSK_MODELS` repository variable maps a role to a list of models. The first model runs; the next ones run only if the provider fails (rate limit, quota, network, timeout, model unavailable).

```bash
gh variable set CRYSK_MODELS --body '{"default": ["opencode:deepseek/deepseek-v4-flash", "claude:sonnet-latest"], "refuter": ["claude:opus-latest"]}'
```

| Part | Values |
|---|---|
| Model | `claude:<alias>-latest` (`sonnet`, `opus`, `haiku`, `fable`), a full `claude:claude-...` id, or `opencode:<provider>/<model>` |
| Models per role | 1 to 3 |
| Effort | Write the entry as `{"model": "...", "effort": "high"}`. Values: `low`, `medium`, `high`, `xhigh`, `max`. |

| Role | Step |
|---|---|
| `default` | Every role you do not list |
| `hunter.<key>` | One hunter: `logic`, `reliability`, `resilience`, `security` |
| `refuter` | The refuter, the re-review check and the recheck adjudicator |
| `consolidate`, `summary` | Those steps |

Find the exact model id with `opencode models <provider>`. A wrong id fails the review.

## Add a provider key

Each OpenCode provider your models name needs a secret, and the provider listed in a variable so the workflow forwards it. The provider name is uppercased, with `-` and `.` as `_`.

```bash
gh secret set CRYSK_OPENCODE_DEEPSEEK_API_KEY
gh variable set CRYSK_OPENCODE_PROVIDERS --body '["DEEPSEEK"]'
```

`CRYSK_OPENCODE_PROVIDERS` takes at most 5 providers. A free model needs no key. Keep your Claude secret too if any role still uses a `claude:` model.

Reviews on an API key are billed per token to that provider, and the Crysk GitHub App dollar limits can skip them.

## If it fails

| Error | What to do |
|---|---|
| `CRYSK-CONFIG-INVALID` | A variable is not valid JSON, or names a role or model the parser refuses. The error names the variable, not its content. |
| `CRYSK-CRED-UNUSABLE` | A provider in your models has no secret, or an `_OAUTH` secret is set for a provider other than `openai`. Set its `_API_KEY`. |
| `CRYSK-MODEL-UNAVAILABLE` | The provider does not offer that model. |

See the [error codes](https://crysk.dev/docs/reference/error-codes.md).
