Exploring Mistral Voxtral Realtime 4B in Pure C for Speech-to-Text

The Mistral Voxtral Realtime 4B is a speech-to-text model implemented in pure C, providing a dependency-free alternative to those relying exclusively on the C standard library. The repository, voxtral.c by antirez, facilitates the inference pipeline without requiring Python runtime, CUDA toolkit, or any other external library at inference time.
Key Features
- Pure C Implementation: No external dependencies beyond the C standard library are required, making it suitable for environments where minimal dependency is critical.
- Platform Specific Backends: Offers two make targets:
make mpsfor Apple Silicon which provides faster processing, andmake blasfor Intel Mac or Linux systems equipped with OpenBLAS, albeit with slower performance due to conversion needs from bf16 to fp32. - Audio Processing: Utilizes a chunked encoder with overlapping windows to bound memory usage, irrespective of input length. It also allows audio input through stdin or microphone on macOS, enhancing its versatility for live or file-based transcription tasks.
- Streaming C API: The API,
vox_stream_t, permits incremental audio feeding and outputs token strings as they are generated.
Usage
- Download the model (~8.9GB) using
./download_model.sh. - For audio transcription from a file:
./voxtral -d voxtral-model -i audio.wav. - Live transcription from a mic on macOS:
./voxtral -d voxtral-model --from-mic. - Transcoding and transcription with
ffmpeg:ffmpeg -i audio.mp3 -f s16le -ar 16000 -ac 1 - 2> /dev/null | ./voxtral -d voxtral-model --stdin.
The project is open to further testing, as it currently relies on limited samples. Full production readiness might require more work, particularly in handling long transcriptions to test the KV cache's circular buffer.
📖 Read the full source: HN AI Agents
👀 See Also

Anthropic Open-Sources Claude for Legal: Plugin Suite for Contract Review, NDA Triage, and More
Anthropic released Claude for Legal, a repo of plugins, agents, and MCP connectors for legal workflows including vendor agreement review, NDA triage, and regulatory monitoring.

Benchmarking 88 Small GGUF Models on a 16GB Mac Mini M4
An automated pipeline tested 88 GGUF models on a Mac Mini M4 with 16GB RAM, identifying 9 as unusable and 4 LFM2-8B-A1B MoE models on the Pareto frontier for speed and quality.

VectorClaw v1.0.0: MCP Server for Anki Vector Robot Control
VectorClaw v1.0.0 is an MCP server that enables OpenClaw to control Anki Vector robots through 23 specific tools for speech, motion, perception, sensors, and display functions.

agentmemory V4 achieves 96.2% on LongMemEval benchmark, outperforms commercial AI memory systems
agentmemory V4 scored 96.2% on LongMemEval, beating several funded AI memory companies including PwC Chronos (95.6%), Mastra (94.87%), and OMEGA (93.2%). The system was built solo in 16 days on a mid-range gaming PC with a $1,000 budget.