Use AIUnderstand AIBuild with AI
Build with AI·Model deep dive·· 4 min read

Haru-4B: A Full-Duplex Voice Model That Listens While It Talks

Haru-4B is a 4B Apache-2.0 research base model for spoken dialogue that processes audio in 133 ms frames. How to run its demo and drive a session.

The code in this post comes from the model's docs and hasn't been run in our CI yet. If something breaks, let us know.

Haru-4B from higurashi-ai is a spoken dialogue model that listens and speaks at the same time, like a person on a phone call. Most voice setups take turns: they wait for you to stop, then answer. Haru instead handles one small frame of audio at a time, so listening and speaking never wait for each other.

It is a pretrained base model released for research, and that matters for what you can expect from it. See the gotchas below.

Key specs

Item Value (from the card)
Pipeline tag audio-to-audio
Language model Qwen3.5-4B text backbone, 32 layers, hidden size 2560
Frame rate 7.5 Hz (one frame every 133 ms)
Audio codec VibeVoice acoustic tokenizer, causal, 24 kHz, 3,200 samples per latent
Audio head 4-layer MLP, MeanFlow, 1 sampling step, guidance scale 1 to 2 (default 1.5)
Weights model.safetensors, bfloat16
Languages English, Spanish, Portuguese, German, French, Chinese, Japanese, Russian, Korean
License Apache License 2.0
Hardware NVIDIA GPU, about 12 GB of memory

What’s new

  • Native full-duplex. Every 133 ms the model takes one frame of the user’s audio and produces one frame of its own audio and text. User audio, model audio and model text are summed into a single position of the language model.
  • Continuous audio in one step. Audio is a 64-dimensional latent per frame. A small MLP head with MeanFlow sampling produces it in one step from the language model’s hidden state. There is no separate audio transformer and there are no discrete audio tokens.
  • Character and voice control. A text card sets the character. A short reference clip sets the voice.

Install

The code lives at github.com/higurashi-ai/Haru. It includes a PyTorch implementation with a web demo, an MLX implementation with a native macOS app, and a plugin for serving with vLLM-Omni. For the PyTorch path on an NVIDIA GPU:

Terminal window
git clone https://github.com/higurashi-ai/Haru && cd Haru
pip install -e ./haru

Run it

Start the demo server with the weights from the Hub:

Terminal window
python -m haru.server --hf-repo higurashi-ai/Haru-4B

Open http://localhost:8998, pick a character, give the model a voice, and talk. The card recommends wired headphones and a wired microphone for low latency, because Bluetooth devices add 100 ms or more.

Drive a session from Python

The card shows this loop for streaming frames through a DuplexSession:

session.py
from haru import DuplexSession, HaruModel
from haru.audio import load_audio, prepare_reference
model = HaruModel.from_pretrained("higurashi-ai/Haru-4B")
voice = prepare_reference(load_audio("voice.wav"))
card = "..." # a character card; see the Haru repository README for the layout
session = DuplexSession(model, system_prompt=card, reference=voice)
frame = session.start() # the model's first 133 ms: frame.audio, frame.text
while not frame.done:
user_audio = ... # 3200 samples at 24 kHz from your microphone
frame = session.step(user_audio) # 3200 samples at 24 kHz out

Two things to note about this snippet:

  • card and user_audio are placeholders. The model card doesn’t define them beyond saying the character card has a fixed layout shown in the Haru repository’s README, and that each step takes 3,200 samples at 24 kHz in and returns 3,200 out.
  • Each step call corresponds to one 133 ms frame, so you need to feed it audio at real-time pace to hold a live conversation.

Bring your own voice

Haru ships without voice clips. You provide a clip of the voice the model should speak with. The card’s requirements are:

  • One speaker
  • 3 seconds to 3 minutes
  • Clean speech

The card also says to only use voices you have the right to use. It states that the model can imitate the voice of a reference clip, so treat consent as a hard requirement, not a suggestion.

Gotchas

  • It’s a base model. The card says Haru-4B holds a natural conversation but is not a reliable source of facts and does not follow instructions the way an assistant does. Don’t expect assistant-style instruction following or reliable factual answers from it.
  • Research release. The card describes it as released for research. The weights are Apache 2.0, but check the limitations before you build a product on it.
  • Latency depends on your audio chain. Use wired headphones and a wired microphone for the lowest latency.
  • Hardware. The card gives about 12 GB of GPU memory for the NVIDIA path. It also points to an MLX implementation for macOS, but doesn’t give memory figures for it.
  • Voice rights. Reference clips need to be voices you’re allowed to use.
  • No benchmarks on the card. It doesn’t give latency or quality numbers, so run your own tests before comparing it with other voice systems.

When to pick it

Pick Haru-4B if you research or prototype conversational speech and want a model that handles overlap natively: it listens and speaks in the same frame instead of switching turns. The card lists about 12 GB of GPU memory for the NVIDIA path. The multilingual coverage and the character-and-voice controls make it a good base for experiments.

Skip it if you need a dependable assistant. It isn’t instruction-following, it isn’t a reliable source of facts, and the card positions it as a base for research. For those jobs, use a text-and-tool model and add a separate speech-to-text and text-to-speech layer instead.

Related