Guides › How to Improve Whisper Transcription Accuracy in OpenCode
Whisper's accuracy depends heavily on the model size and your speaking environment. If /ptt transcriptions contain errors, these optimizations will help.
MODEL=small bash scripts/install-whisper.sh for the small model (466MB). Medium and large are also available.export WHISPER_MODEL="$HOME/.local/bin/ggml-small.bin". Add to your shell profile for persistence.[["opencode-interrupt-plugin", { "whisperModel": "medium" }]]. This avoids env var setup and keeps config in one place.If transcriptions are still wrong after switching models, check the audio quality: sox /tmp/interrupt-ptt.wav -n stat shows volume levels. Low volume = poor transcription.
Ready to try it?
Get started free →