{"slug": "haru-4b-multilingual-full-duplex-spoken-dialogue-model", "title": "Haru-4B: multilingual full-duplex spoken dialogue model", "summary": "Higurashi AI released Haru-4B, a 4B-parameter multilingual full-duplex spoken dialogue model that listens and speaks simultaneously at 7.5 Hz, processing one 133 ms audio frame in and one out per step. The model covers English, Spanish, Portuguese, German, French, Chinese, Japanese, Russian and Korean, and ships with PyTorch, Apple-silicon MLX and vLLM-Omni implementations plus a web demo that runs on an NVIDIA GPU with about 12 GB of memory. Audio is generated as a 64-dimensional latent per frame by a small MLP head using MeanFlow sampling in a single step, with no separate audio transformer and no discrete audio tokens, and character and voice are set by a text card and a 3-second to 3-minute reference clip.", "body_md": "[Model](https://huggingface.co/higurashi-ai/Haru-4B) ·\n[Technical blog](https://blog.higurashi.ai/melte/haru4b/) ·\n[Technical blog (Japanese)](https://blog.higurashi.ai/melte/haru4b-ja/)\n\nHaru is a low-latency and multilingual full-duplex spoken dialogue model: it\nlistens and speaks at the same time, the way people do on a phone call. This\nrepository contains the inference code for **Haru-4B**, a pretrained base\nmodel, with three implementations and a web demo.\n\n- **Native full-duplex at 7.5 Hz.** Every 133 ms the model takes one frame of\nthe user's audio and produces one frame of its own audio and text. User\naudio, model audio and model text are summed into a single position of the\nlanguage model, so listening and speaking never wait for each other.\n- **Continuous audio, one sampling step.** Audio is a 64-dimensional latent\nper frame. A small MLP head with MeanFlow sampling produces it in one step\nfrom the language model's hidden state; there is no separate audio\ntransformer and there are no discrete audio tokens.\n- **Character and voice control.** A text card sets the character, a short\nreference clip sets the voice.\n- **Multilingual.** English, Spanish, Portuguese, German, French, Chinese,\nJapanese, Russian and Korean.\n\n- The **text stream** carries the model's words in chunks. Frames without text\nhold a padding token, and an end-of-padding token on the frame before the\nmodel starts to speak.\n- The **audio codec** is the causal VibeVoice acoustic tokenizer: 24 kHz audio\nto and from one latent per 3200 samples.\n- The **prompt** is the character card as a system turn, followed by the voice\nreference as audio on the model's stream.\n\n| Directory | What it is | \n|---|---|\n| [`haru/`](https://github.com/higurashi-ai/Haru/blob/main/haru) | PyTorch implementation, web demo server, offline inference | \n| [`haru_mlx/`](https://github.com/higurashi-ai/Haru/blob/main/haru_mlx) | MLX implementation for Apple silicon, with a native macOS app | \n| [`haru_vllm/`](https://github.com/higurashi-ai/Haru/blob/main/haru_vllm) | Plugin that serves Haru with [vLLM-Omni](https://github.com/vllm-project/vllm-omni) | \n| [`client/`](https://github.com/higurashi-ai/Haru/blob/main/client) | Web client of the demo (React); a built copy ships inside `haru` | \n\nAll three read the same checkpoint,\n[`higurashi-ai/Haru-4B`](https://huggingface.co/higurashi-ai/Haru-4B).\n\nWith an NVIDIA GPU (about 12 GB of memory):\n\n```\npip install -e ./haru\npython -m haru.server --hf-repo higurashi-ai/Haru-4B\n```\n\nOpen [http://localhost:8998](http://localhost:8998), pick a character, give the model a voice, and\ntalk. A browser only gives a page microphone access on `localhost` or over\nHTTPS.\n\nFor low latency, we recommend wired headphones and a wired microphone. Bluetooth devices add 100 ms or more.\n\nTo let someone else try it, add `--share` (`pip install -e \"./haru[share]\"`): the\nserver prints a public HTTPS link that tunnels to it. Anyone with the link can\nuse the demo, and the traffic passes through Gradio's share servers.\n\n**Bring your own voice.** Haru ships without voice clips. In the demo, upload\nor record a clip of the voice the model should speak with: one speaker, 3\nseconds to 3 minutes, clean speech. In Python, pass it as `reference`. Only\nuse voices you have the right to use.\n\nTo give the demo a default voice, save a clip as\n`haru/haru/assets/voices/<language>.flac` (`en.flac`, `ja.flac`, ...) and\nrestart the server: the demo then offers it as the default voice of that\nlanguage. Without the file, the demo does not show the option.\n\nOn a Mac with Apple silicon, build the native app (see\n[`haru_mlx/swift`](https://github.com/higurashi-ai/Haru/blob/main/haru_mlx/swift/README.md)):\n\n```\ncd haru_mlx\npython3 -m venv .venv && source .venv/bin/activate\npip install -e .\ncd swift && ./build_app.sh        # then open build/Haru.app\npython\nfrom haru import DuplexSession, HaruModel\nfrom haru.audio import load_audio, prepare_reference\n\nmodel = HaruModel.from_pretrained(\"higurashi-ai/Haru-4B\")\nvoice = prepare_reference(load_audio(\"voice.wav\"))\nsession = DuplexSession(model, system_prompt=card, reference=voice)\n\nframe = session.start()                  # the model's first 133 ms: frame.audio, frame.text\nwhile not frame.done:\n    frame = session.step(user_audio)     # 3200 samples at 24 kHz in, 3200 out\n```\n\nThe model is one frame ahead of the user: `start()` returns frame 0, and each\n`step()` with user frame `k` returns model frame `k + 1`.\n\nHaru reads its character from a card with a fixed layout. Build one with `render_card`:\n\n``` python\nfrom haru.prompt import card_templates, render_card\n\ncard = render_card(\n    {\n        \"persona\": \"Haru is a 29-year-old nurse in Denver. She is warm, chatty and laughs easily.\",\n        \"name\": \"Haru\",\n        \"gender\": \"female\",\n        \"other_name\": \"Sam\",\n        \"relationship\": \"Old friends from high school.\",\n        \"situation\": \"A phone call to catch up after a long time.\",\n    },\n    card_templates()[\"templates\"][\"en\"],\n)\nharu-inference user.wav reply.wav --reference voice.wav --system-prompt \"$(cat card.txt)\" --stereo\n```\n\nFor many concurrent conversations and the lowest latency on a GPU server, see\n[`haru_vllm/`](https://github.com/higurashi-ai/Haru/blob/main/haru_vllm). The web demo can use it as its engine:\n\n```\npython -m haru.server --backend vllm --vllm-url http://localhost:8000\n```\n\nThe hot paths of a frame have hand-written kernels, alongside plain implementations that give the same results:\n\n| Where | Kernel | What it speeds up | \n|---|---|---|\n| `haru` (NVIDIA GPUs) | [Triton](https://github.com/triton-lang/triton) kernels replayed from CUDA graphs ([`haru/haru/codec_triton`](https://github.com/higurashi-ai/Haru/blob/main/haru/haru/codec_triton) ) | The audio codec: about 0.7 ms instead of 6 ms to encode or decode a frame. Opt-in with `DuplexConfig(codec_backend=\"triton\")` or`--codec-backend triton` | \n| `haru_vllm` | The same Triton codec, used automatically | Audio encode and decode inside the engine step | \n| `haru_mlx` (Apple silicon) | Metal kernels ( [`gated_delta.py`](https://github.com/higurashi-ai/Haru/blob/main/haru_mlx/haru_mlx/models/gated_delta.py) ,[`vibevoice_codec.py`](https://github.com/higurashi-ai/Haru/blob/main/haru_mlx/haru_mlx/models/vibevoice_codec.py) ) | The Gated DeltaNet recurrence of the language model and the depthwise convolutions of the codec | \n\nHaru-4B is a pretrained base model, released for research. It holds a natural conversation, but it is not a reliable source of facts and does not follow instructions the way an assistant does. It can imitate the voice of a reference clip; only use voices you have the right to use.\n\nThe code and the Haru-4B weights are released under the Apache License 2.0.\nSee [`THIRD_PARTY_NOTICES.md`](https://github.com/higurashi-ai/Haru/blob/main/THIRD_PARTY_NOTICES.md) for the third-party work\nthey include.\n\nHaru builds on the work of many open-source projects. We are grateful to their authors and communities.\n\n- [Qwen](https://github.com/QwenLM) — the Qwen3.5 language model that Haru-4B\nstarts from.\n- [VibeVoice](https://github.com/microsoft/VibeVoice) — the causal acoustic\ntokenizer Haru uses as its audio codec, and the idea of next-latent\ngeneration at 7.5 Hz.\n- [Moshi](https://github.com/kyutai-labs/moshi) — the pioneering full-duplex\nspeech model. Our web client is derived from the Moshi web client.\n- [Improved MeanFlow](https://github.com/Lyy-iiis/imeanflow) — the one-step\ngenerative modeling framework behind the audio head.\n- [vLLM](https://github.com/vllm-project/vllm) and[vLLM-Omni](https://github.com/vllm-project/vllm-omni) — the serving engine\nand its full-duplex realtime framework, which`haru_vllm` plugs into.\n- [MLX](https://github.com/ml-explore/mlx) ,[mlx-lm](https://github.com/ml-explore/mlx-lm) and[mlx-audio](https://github.com/Blaizzy/mlx-audio) — the array framework and\nthe model code`haru_mlx` builds on.", "url": "https://wpnews.pro/news/haru-4b-multilingual-full-duplex-spoken-dialogue-model", "canonical_source": "https://github.com/higurashi-ai/Haru", "published_at": "2026-11-23 21:35:09+00:00", "updated_at": "2026-11-23 21:42:19.369301+00:00", "lang": "en", "topics": ["large-language-models", "artificial-intelligence", "ai-research", "ai-tools", "natural-language-processing"], "entities": ["Higurashi AI", "Haru-4B", "VibeVoice", "vLLM-Omni", "PyTorch", "MLX", "Apple", "Hugging Face"], "also_reported_by": [], "takeaway": "Haru-4B emits one 64-dimensional audio latent per 133 ms frame via a single-step MeanFlow MLP head on the language model's hidden state, avoiding a separate audio transformer and discrete audio tokens.", "recommendation": null, "alternates": {"html": "https://wpnews.pro/news/haru-4b-multilingual-full-duplex-spoken-dialogue-model", "markdown": "https://wpnews.pro/news/haru-4b-multilingual-full-duplex-spoken-dialogue-model.md", "text": "https://wpnews.pro/news/haru-4b-multilingual-full-duplex-spoken-dialogue-model.txt", "jsonld": "https://wpnews.pro/news/haru-4b-multilingual-full-duplex-spoken-dialogue-model.jsonld"}}