Moonshine v2
Ultra-lightweight speech recognition engine optimized for edge devices, offering 5x faster performance compared to Whisper.
Moonshine v2 is an open-source automatic speech recognition (ASR) engine released in February 2026 by Useful Sensors, a US-based company. In a nutshell, it can be described as "Whisper's lightweight sibling – an STT that runs in real-time on Raspberry Pi, wearables, and mobile devices."
The existing OpenAI Whisper is accurate but heavy (even the tiny model is 39M+), making real-time processing difficult on edge devices. Moonshine v2 uses an "Ergodic Streaming Encoder" architecture with sliding-window self-attention, achieving 5x faster inference speed while maintaining Whisper-level accuracy with 27M parameters. It also minimizes memory and computational waste by removing zero-padding with RoPE (Rotary Position Embedding). In essence, "if Whisper is an SUV for cloud GPUs, then Moonshine is an electric bicycle for edge IoT."
From the perspective of biomedical researchers, it enables (1) real-time local transcription of patient interviews and clinical trial meeting minutes without cloud transfer (HIPAA/GDPR protection), (2) automatic storage of voice memos such as "drug treatment in 3 minutes" with timestamps during live-cell imaging, and (3) the creation of a Raspberry Pi-based experimental notebook auxiliary device. The moonshine-voice SDK provides integrated STT + intent recognition + TTS, allowing the creation of voice agents that can perform tasks like "hands-free voice commands for experiments.
💻 System Requirements
Minimum 2GB (Tiny 27M model), recommended 4GB (Base 61M model), 8GB+ (for multi-channel or Korean fine-tuning)
0 (CPU-only mode available, real-time performance from Raspberry Pi 4) / 10x acceleration with NVIDIA GPU 2GB+ / Apple Silicon Metal support
Tiny ~26MB / Base ~61MB / Total package size under 250MB. Training data is separate.
⚡ Installation
pip install moonshine-voice
Python API — Basic Transcriptionimport moonshine text = moonshine.transcribe("audio.wav", model="moonshine/tiny") print(text)
Real-time Streaming (Microphone Input)from moonshine_voice import StreamingTranscriber stt = StreamingTranscriber(model="moonshine/base") for chunk in stt.stream_from_microphone(): print(chunk.text, end="", flush=True)
Edge Device (Raspberry Pi 5) requirements: Python 3.10+, sounddevice, numpypip install moonshine-voice[edge] python -m moonshine_voice.pi --model tiny --language ko
🧬 Bio Use Cases
On-device STT for Clinical Interviews and Medical Records
Deploy the Moonshine tiny (27M) model on a Mac mini M2 to transcribe patient interviews in real-time. Zero cloud transmission (HIPAA/GDPR compliant), with a 30-minute interview taking approximately 6 seconds to transcribe. By adding intent recognition rules such as "Patient ID" and "Symptom onset time" to the moonshine-voice SDK, structured EMR input can be automatically generated.
Voice Annotation for Live-Cell Imaging
Place a Moonshine + microphone module next to a Raspberry Pi 5 microscope. Voice memos such as "Treat with 100ng/mL EGF in 3 minutes" are automatically recorded with timestamps as .jsonl logs, which are then absorbed by an ImageJ/Fiji macro as time-synchronized metadata. This can be immediately applied to live experiments where hands-free operation is required.
Edge Voice Agent (Laboratory Assistant)
Build a laboratory assistant using moonshine-voice SDK + Llama.cpp + Pi 4 (4GB). Recognize commands such as "Turn on the alarm when OD600 reaches 0.6" or "Show me the PCR master mix recipe" with latency of less than 100ms, and trigger laboratory equipment via MQTT. Zero cloud dependency, power consumption less than 5W.
FAQ
What is Moonshine v2?
Moonshine v2 is an open-source automatic speech recognition (ASR) engine released in February 2026 by Useful Sensors, a US-based company. In a nutshell, it can be described as "Whisper's lightweight sibling – an STT that runs in real-time on Raspberry Pi, wearables, and mobile devices." The existing OpenAI Whisper is accurate but heavy (even the tiny model is 39M+), making real-time processing difficult on edge devices. Moonshine v2 uses an "Ergodic Streaming Encoder" architecture with sliding-window self-attention, achieving 5x faster inference speed while maintaining Whisper-level accuracy with 27M parameters. It also minimizes memory and computational waste by removing zero-padding with RoPE (Rotary Position Embedding). In essence, "if Whisper is an SUV for cloud GPUs, then Moonshine is an electric bicycle for edge IoT." From the perspective of biomedical researchers, it enables (1) real-time local transcription of patient interviews and clinical trial meeting minutes without cloud transfer (HIPAA/GDPR protection), (2) automatic storage of voice memos such as "drug treatment in 3 minutes" with timestamps during live-cell imaging, and (3) the creation of a Raspberry Pi-based experimental notebook auxiliary device. The moonshine-voice SDK provides integrated STT + intent recognition + TTS, allowing the creation of voice agents that can perform tasks like "hands-free voice commands for experiments.
When should I use Moonshine v2?
Ultra-lightweight speech recognition engine optimized for edge devices, offering 5x faster performance compared to Whisper.
What is a biomedical use case for Moonshine v2?
On-device STT for Clinical Interviews and Medical Records: Deploy the Moonshine tiny (27M) model on a Mac mini M2 to transcribe patient interviews in real-time. Zero cloud transmission (HIPAA/GDPR compliant), with a 30-minute interview taking approximately 6 seconds to transcribe. By adding intent recognition rules such as "Patient ID" and "Symptom onset time" to the moonshine-voice SDK, structured EMR input can be automatically generated.
📝 Update Notes
- vv0.1.59/2/2026
Release v0.1.5
- vv0.1.38/20/2026
Moonshine v2의 v0.1.3 업데이트는 별도의 기능 변경 사항이 명시되지 않은 패치 버전이에요. 이번 업데이트는 새로운 기능 도입보다는 기존 기능의 버그 수정이나 시스템 안정성 향상에 집중했을 가능성이 높습니다. 실험 데이터 분석의 정확성을 위해, 기존 워크플로우에 영향이 없는지 가볍게 점검하며 업데이트를 적용해 보시는 것을 추천드려요.
- vv0.0.657/3/2026
Moonshine v2의 v0.0.65 업데이트는 별도의 상세 변경 사항이 명시되지 않은 패치 릴리즈예요. 구체적인 기능 추가나 알고리즘 개선 사항이 확인되지 않아, 현재 진행 중인 바이오 연구 워크플로우에 미치는 직접적인 영향은 크지 않을 것으로 보여요. 다만, 버전 번호 갱신을 통해 내부적인 버그 수정이나 안정성 최적화가 이루어졌을 가능성이 있으니, 실험 환경의 안정성을 위해 업데이트 적용 여부를 검토해 보세요.
- vv0.0.637/2/2026
Moonshine v2의 이번 v0.0.63 업데이트는 구체적인 변경 사항이 명시되지 않은 단순 버전 업데이트예요. 새로운 기능이나 분석 알고리즘의 변화가 확인되지 않아, 기존의 연구 워크플로우에 미치는 영향은 거의 없을 것으로 보여요. 따라서 현재 사용 중인 환경에 문제가 없다면 급하게 업데이트를 진행하기보다는 기존 버전을 유지하며 연구를 지속하시는 것을 추천드려요. 다만, 내부적인 안정성 개선이 포함되었을 수 있으니 시스템 오류 발생 시 검토해 보세요.
- vv0.0.626/16/2026
이번 v0.0.62 업데이트는 별도의 기능 변경 사항이 명시되지 않은 마이너 패치 버전이에요. 기존의 연구 워크플로우에 영향을 주지 않으면서 시스템의 안정성을 유지하는 데 초점이 맞춰져 있습니다. 실험 환경의 변동을 최소화하고 안정적인 분석 환경을 유지하고 싶은 연구원분들께 업데이트를 추천드려요.
🧪 Related Code of Life
No related Code of Life posts yet.