What is Moonshine?
Moonshine Voice is an open-source toolkit for building real-time voice applications. Everything runs on the device itself, so there's no account, API key, or cloud round-trip needed, which keeps responses fast and audio private. It sits in the Audio, Music & Voice category of the Multimodal Generation tools and is open-source, written in Python.
Overview
Moonshine Voice is an open-source toolkit for building real-time voice applications. Everything runs on the device itself, so there's no account, API key, or cloud round-trip needed, which keeps responses fast and audio private. The models are trained for live streaming, doing much of the recognition work while the user is still speaking.
It's aimed at developers who want speech-to-text, text-to-speech, speaker identification, command recognition, and conversational agents from a single library. The same toolkit runs across Python, iOS, Android, macOS, Linux, Windows, Raspberry Pi, and other small devices.
In the Speech & Audio category, Moonshine positions itself as an edge-friendly alternative to larger cloud models like Whisper. Its model sizes range from a 245M-parameter streaming model down to tiny 26MB models for constrained hardware, so it fits both desktops and small embedded boards.
What it does
- Runs fully on-device with no account, credit card, or API key required
- Optimized for low-latency live streaming, processing speech while the user is still talking
- One library covers transcription, text-to-speech, speaker diarization, command recognition, and conversational agents
- Cross-platform: Python, iOS, Android, macOS, Linux, Windows, Raspberry Pi, and wearables
- Model sizes from a 245M-parameter streaming model down to 26MB models for constrained devices
- Multilingual STT and TTS, including English, Spanish, Mandarin, Japanese, Korean, and more
Getting started
The fastest way to try Moonshine is the Python package, which can transcribe your microphone in real time. Example apps for iOS, Android, macOS, Windows, and Raspberry Pi are published on GitHub Releases.
Install the Python package
Install Moonshine Voice from PyPI with pip.
pip install moonshine-voiceTranscribe your microphone
Listen to the microphone and print updates to the transcript as they come in.
python -m moonshine_voice.mic_transcriber --language enRecognize spoken commands
Listen for user-defined action phrases like "Turn on the lights", using semantic matching so natural language variations are recognized.
python -m moonshine_voice.intent_recognizerSynthesize speech (TTS)
Convert text to speech and play it back.
python -m moonshine_voice.tts --language en_us --text "Hello world"Commands and code are distilled from the project's own documentation — always check the official repo for the latest.
When to use it
- Add real-time, private voice transcription to a desktop or mobile app without sending audio to the cloud
- Build offline voice command and intent recognition for smart-home or IoT devices
- Run speech-to-text on constrained hardware like a Raspberry Pi using small on-device models
- Create conversational voice agents that combine transcription, command handling, and text-to-speech in one library
How Moonshine compares
Moonshine alongside other open-source audio, music & voice tools AI/TLDR tracks, ranked by GitHub stars.
| Tool | Stars | What it does |
|---|---|---|
| VoiceStudio | ★ 121k | A local-first desktop voice studio that clones and designs voices, dubs video, and handles dictation, running 16 text-to-speech and 11 speech-recognition engines on your own hardware. |
| Whisper | ★ 114k | OpenAI's speech recognition model that transcribes and translates audio across many languages. |
| GPT-SoVITS | ★ 64.3k | An open-source WebUI that clones a voice from a short audio sample and turns text into speech, with zero-shot and few-shot fine-tuning. |
| Voicebox | ★ 61.6k | Local-first voice studio that clones a voice from a short sample, generates speech across seven TTS engines and 23 languages, handles system-wide dictation, and speaks for agents over MCP. |
| VibeVoice | ★ 57.6k | Microsoft's text-to-speech model for generating long, expressive multi-speaker audio like podcasts. |
| whisper.cpp | ★ 55.7k | A dependency-free C/C++ port of Whisper built on ggml, running speech recognition on CPU, Metal, CUDA, Vulkan and NPUs from phones to servers. |
| Coqui TTS | ★ 46.3k | A library of text-to-speech models including the multilingual XTTS voice-cloning model. |
| Moonshine | ★ 11.6k | On-device speech recognition built for real-time, low-latency voice apps |

