Guides › How to Configure the Whisper Model in OpenCode
The default whisper base model is fast but can struggle with accents or technical terms. Free tier uses base only. Pro ($29 one-time) lets you switch to small, medium, or large for better accuracy.
MODEL=small bash scripts/install-whisper.sh to download the small model. Replace "small" with "medium" or "large" for larger models.export WHISPER_MODEL="$HOME/.local/bin/ggml-small.bin". Add this to ~/.bashrc or ~/.zshrc for persistence.[["opencode-interrupt-plugin", { "licenseKey": "INTERRUPT-...", "whisperModel": "small" }]]. This accepts "base", "small", "medium", "large", or a full file path. Free users who set whisperModel in config will still get base.If the model file is not found, check the path. The default pattern is ~/.local/bin/ggml-{size}.bin. The WHISPER_MODEL env var overrides all other settings.
Ready to try it?
Get started free →