Skip to content

Other model providers

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

View as Markdownllms.txt

Do it with your agent

Paste this prompt into Claude Code, Codex or another coding agent. It reads this page and does the steps for you.

Configure which models Crysk uses in this repository's GitHub Actions.
Follow https://crysk.dev/docs/github-actions/other-providers.md and run each step yourself.

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 covers that.

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).

Terminal window
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.

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 _.

Terminal window
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.

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.