<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Sohaib Ahmad</title>
    <description>The latest articles on DEV Community by Sohaib Ahmad (@ahmasoh).</description>
    <link>https://dev.to/ahmasoh</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4260995%2F6bb27f8c-6d1a-4643-beb5-554d19aba9af.png</url>
      <title>DEV Community: Sohaib Ahmad</title>
      <link>https://dev.to/ahmasoh</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/ahmasoh"/>
    <language>en</language>
    <item>
      <title>Introducing NeuTTS-2E: Controllable emotional text-to-speech in a 125M-parameter on-device model</title>
      <dc:creator>Sohaib Ahmad</dc:creator>
      <pubDate>Mon, 23 Nov 2026 16:44:13 +0000</pubDate>
      <link>https://dev.to/ahmasoh/introducing-neutts-2e-controllable-emotional-text-to-speech-in-a-125m-parameter-on-device-model-bep</link>
      <guid>https://dev.to/ahmasoh/introducing-neutts-2e-controllable-emotional-text-to-speech-in-a-125m-parameter-on-device-model-bep</guid>
      <description>&lt;p&gt;This article was originally published on &lt;a href="https://www.neuphonic.com/blog/introducing-neutts-2e" rel="noopener noreferrer"&gt;neuphonic.com&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fbmvlvgxida2px0a1g027.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fbmvlvgxida2px0a1g027.png" alt="Introducing NeuTTS-2E, Neuphonic's emotional text-to-speech model" width="800" height="267"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Published in collaboration with &lt;a href="https://www.voiceaispace.com/articles/v3-neuphonic-launch-neutts-2e-a-controllable-emotional-speech-in-a-125m-paramete" rel="noopener noreferrer"&gt;voiceaispace.com&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  NeuTTS-2E: on-device emotional TTS, built for the sentences that don't help it
&lt;/h2&gt;

&lt;p&gt;Ask an emotional text-to-speech model to read "I'm just so upset and unhappy right now" angrily and it will probably nail it. Ask it to read "the meeting is at four" angrily and, Neuphonic argues, most models start guessing.&lt;/p&gt;

&lt;p&gt;That gap is the whole reason NeuTTS-2E exists. Neuphonic's new on-device model, out now in early alpha, is built around one specific question: can a 125M-parameter model follow an emotion instruction when the sentence itself gives it nothing to work with?&lt;/p&gt;

&lt;h2&gt;
  
  
  Why emotional TTS gets graded on easy questions?
&lt;/h2&gt;

&lt;p&gt;Neuphonic's case is that emotional speech models tend to look better than they are, because of how they're evaluated and how they're trained.&lt;/p&gt;

&lt;p&gt;The demo sentences are almost always semantically aligned. Angry delivery, angry words. Sad delivery, sad words. When the vocabulary already carries the signal, the model can lean on the text and produce something convincing without ever having learned emotion as a separate, controllable thing.&lt;/p&gt;

&lt;p&gt;Three problems stack up underneath that.&lt;/p&gt;

&lt;p&gt;Data is scarce. Clean recordings with clearly differentiated emotional performances are far rarer than ordinary speech data, and what exists varies wildly in recording quality, acting intensity, and what each dataset even means by "sad."&lt;/p&gt;

&lt;p&gt;Labels are subjective. One annotator's "sad" is another's "tired" or "disappointed." Fear and surprise blur. Anger and disgust blur. You can expand a dataset with an automatic emotion classifier, but a weak classifier just injects noisy supervision, and Neuphonic's argument is that many of those classifiers have the same semantic dependency as the TTS models they're used to train, which would compound the problem rather than fix it.&lt;/p&gt;

&lt;p&gt;Semantic bias is baked in. If nearly every training example has words and delivery agreeing, then a neutral or conflicting sentence is out of domain at inference time. The model hasn't learned emotion. It's learned correlation.&lt;/p&gt;

&lt;p&gt;So the useful test isn't "does angry sound angry." It's whether you can request sadness for cheerful words, or fear for reassuring ones, and get it.&lt;/p&gt;

&lt;h2&gt;
  
  
  What's actually in the box?
&lt;/h2&gt;

&lt;p&gt;NeuTTS-2E takes three inputs: text, one of four fixed speakers (emily, paul, sophie, steven), and one of seven modes (angry, disgusted, fearful, happy, sad, surprised, neutral). No phonemizer, no reference audio, no system dependencies.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight python"&gt;&lt;code&gt;&lt;span class="k"&gt;from&lt;/span&gt; &lt;span class="n"&gt;neutts&lt;/span&gt; &lt;span class="k"&gt;import&lt;/span&gt; &lt;span class="nc"&gt;NeuTTS2E&lt;/span&gt;
&lt;span class="k"&gt;import&lt;/span&gt; &lt;span class="n"&gt;soundfile&lt;/span&gt; &lt;span class="k"&gt;as&lt;/span&gt; &lt;span class="n"&gt;sf&lt;/span&gt;

&lt;span class="n"&gt;tts&lt;/span&gt;     &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nc"&gt;NeuTTS2E&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="n"&gt;wav&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;tts&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;infer&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;
             &lt;span class="s2"&gt;"I can't believe it's finally here!"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
             &lt;span class="n"&gt;speaker&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s2"&gt;"emily"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
             &lt;span class="n"&gt;emotion&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s2"&gt;"happy"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="n"&gt;sf&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;write&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s2"&gt;"test.wav"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;wav&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="mi"&gt;24000&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The specs, from &lt;a href="https://huggingface.co/neuphonic/neutts-2e" rel="noopener noreferrer"&gt;the model card&lt;/a&gt; and &lt;a href="https://github.com/neuphonic/neutts" rel="noopener noreferrer"&gt;repo&lt;/a&gt;:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Active backbone parameters: roughly 125M, on a qwen3 architecture&lt;/li&gt;
&lt;li&gt;Total including tied embeddings and head: roughly 236M&lt;/li&gt;
&lt;li&gt;Context window: 2048 tokens, around 30 seconds of audio including the prompt&lt;/li&gt;
&lt;li&gt;Codec: &lt;a href="https://huggingface.co/neuphonic/neucodec" rel="noopener noreferrer"&gt;NeuCodec&lt;/a&gt;, 50 tokens per second, single codebook, 0.8 kbps, 16 kHz in and 24 kHz out&lt;/li&gt;
&lt;li&gt;Formats: safetensors plus Q8 and Q4 GGUF, with an ONNX decoder (including int8) for the codec&lt;/li&gt;
&lt;li&gt;English only, four speakers, released under the NeuTTS Open License 1.0&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Sticking with a standard qwen3 backbone is the quietly practical decision here. It means the GGUF builds drop straight into llama.cpp and llama-cpp-python, and streaming works through tooling you'd already have running.&lt;/p&gt;

&lt;p&gt;Generation is sampled, not deterministic. Every call prints the seed it used, so when a take lands you can pin it and reproduce it exactly across PyTorch and GGUF, batch or streaming. Small thing, but it's the difference between a demo and a build pipeline.&lt;/p&gt;

&lt;h2&gt;
  
  
  Four speakers instead of cloning, on purpose
&lt;/h2&gt;

&lt;p&gt;Every other model in the NeuTTS family does instant voice cloning from a few seconds of reference audio. This one doesn't, and Neuphonic is upfront that arbitrary cloning is technically possible but weak in the current release.&lt;/p&gt;

&lt;p&gt;That reads like a missing feature until you think about what a 125M-parameter model is being asked to juggle. Cloning means holding an unfamiliar speaker's identity stable while also maintaining intelligibility, naturalness, prosody, and the requested emotion. Those objectives compete for capacity. Fixing the speaker set frees the model to spend that capacity on emotional consistency instead.&lt;/p&gt;

&lt;p&gt;The four voices ship pre-encoded in the repo, which also means they work as ordinary cloning references for the other NeuTTS models if you want them elsewhere.&lt;/p&gt;

&lt;h2&gt;
  
  
  What you'll still need to test yourself
&lt;/h2&gt;

&lt;p&gt;This is an alpha, and the interesting claims are the ones you should verify against your own use case before committing.&lt;/p&gt;

&lt;p&gt;Semantic independence. The core pitch. Feed it deliberately neutral text and deliberately conflicting text, not the demo sentences. This is the thing to measure.&lt;/p&gt;

&lt;p&gt;Intensity control. There isn't one. Seven categories, no continuous parameter, so "angry" covers everything from mild irritation to shouting. Because generation is sampled you can reroll for a different take and pin the seed when one lands, but that's a slot machine, not a dial. Mid-generation emotion switching is also not in this release.&lt;/p&gt;

&lt;p&gt;Speaker consistency across modes. Does emily still sound like emily when she's furious? Worth checking directly rather than assuming.&lt;/p&gt;

&lt;p&gt;Throughput on your hardware. Neuphonic publishes CPU and GPU benchmarks in the repo, but for NeuTTS-Air and NeuTTS-Nano, not for 2E. The parameter counts are within a few million of each other, so Nano's numbers are a plausible proxy. They aren't a measurement. Also note the published figures cover the speech language model only, not the codec, so full pipeline latency will be higher.&lt;/p&gt;

&lt;p&gt;Watermarking. Perth perceptual watermarking is on by default, which is the right call. One gotcha worth knowing: if you install inside the repo with &lt;code&gt;uv sync&lt;/code&gt;, the Perth dependencies don't get pulled and watermarking disables, with nothing but a missing-dependency warning in the logs to tell you. Easy to scroll past. Install via pip if you need it active, and verify it is.&lt;/p&gt;

&lt;h2&gt;
  
  
  Who this is for?
&lt;/h2&gt;

&lt;p&gt;Cloud TTS still wins when you want the best available quality, a large voice library, or the least integration work. That's not what this is competing on.&lt;/p&gt;

&lt;p&gt;NeuTTS-2E makes sense when you're generating a lot of speech at runtime and per-request pricing starts to hurt, when the thing has to work offline, when audio and text can't leave the device, or when you need marginal costs you can actually predict. Embedded agents, games, robotics, toys, offline assistants. Characters that need to sound like they mean it.&lt;/p&gt;

&lt;p&gt;It's an alpha aimed at a narrow question rather than a general-purpose replacement for larger expressive systems, and it's better to treat it that way. But the question it's asking is the right one, and it ships in a form (small, quantised, seed-pinnable) that makes it unusually easy to test that question yourself.&lt;/p&gt;

&lt;p&gt;Try it in the &lt;a href="https://huggingface.co/spaces/neuphonic/neutts-2e" rel="noopener noreferrer"&gt;Hugging Face demo&lt;/a&gt;, or &lt;code&gt;pip install neutts&lt;/code&gt; and start with sentences that give the model nothing.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://www.neuphonic.com/contact-us" rel="noopener noreferrer"&gt;Contact Us&lt;/a&gt;&lt;/p&gt;

</description>
      <category>tts</category>
      <category>speech</category>
      <category>ai</category>
      <category>machinelearning</category>
    </item>
    <item>
      <title>NeuCodec in Transformers 5.17</title>
      <dc:creator>Sohaib Ahmad</dc:creator>
      <pubDate>Mon, 23 Nov 2026 16:43:57 +0000</pubDate>
      <link>https://dev.to/ahmasoh/neucodec-in-transformers-517-fn0</link>
      <guid>https://dev.to/ahmasoh/neucodec-in-transformers-517-fn0</guid>
      <description>&lt;p&gt;This article was originally published on &lt;a href="https://www.neuphonic.com/blog/neucodec-in-transformers-5.17" rel="noopener noreferrer"&gt;neuphonic.com&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F9o6zfne0d5ami7cp6f14.gif" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F9o6zfne0d5ami7cp6f14.gif" alt="Simplified 3D illustration of finite scalar quantization (FSQ) in NeuCodec" width="7" height="4"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Simplified 3D illustration of FSQ. NeuCodec uses eight dimensions.&lt;/p&gt;

&lt;h2&gt;
  
  
  NeuCodec in Transformers 5.17
&lt;/h2&gt;

&lt;p&gt;NeuCodec is now integrated into &lt;a href="https://github.com/huggingface/transformers/releases/tag/v5.17.0" rel="noopener noreferrer"&gt;Hugging Face Transformers 5.17&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;Neucodec, our neural audio codec, provides the audio representation for our on-device speech models. Having been widely adopted by the community, Neucodec has amassed over 2.3 million downloads in the past year alone.&lt;/p&gt;

&lt;p&gt;NeuCodec uses finite scalar quantization (FSQ) to turn the encoder’s continuous outputs into discrete audio codes. FSQ bounds and rounds each value independently to a fixed set of levels. Together, these rounded values identify a point on a grid, as illustrated in the above graphic.&lt;/p&gt;

&lt;p&gt;What makes NeuCodec unique is its use of a single codebook alongside a low token rate: 1 second of audio is translated into 50 tokens. As an example, “Hello, how are you” can become something akin to &lt;code&gt;[12, 35, 14, …, 62300, 38457]&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;To continue to drive adoption and make NeuCodec accessible through the tools developers already use, we collaborated with Eric and the team at Hugging Face to integrate it directly into their transformers library. This has a number of advantages:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;For developers, it means not having to manage multiple packages with conflicting dependencies in their environment, as well as having the option to use it straight out of the box with the common &lt;code&gt;AutoModel&lt;/code&gt; API. Given coding agents are so widely used now, it could also reduce any friction from out-of-date training data by letting them work with the familiar Transformers interface, rather than requiring knowledge of a separate package’s API.&lt;/li&gt;
&lt;li&gt;For us over at Neuphonic, we know that a version of our model is now integrated and maintained in one of the largest packages in the AI ecosystem, which takes advantage of the robust CI/CD and skilled maintainers of the project. We’re fortunate to have the support of Hugging Face’s experienced maintainers and testing infrastructure as we continue to maintain the integration and address package updates or dependency changes.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;We worked closely with Hugging Face’s audio team in planning the pull request. We began with a common base and built our implementation on top. We used Transformers’ &lt;a href="https://huggingface.co/docs/transformers/main/en/modular_transformers" rel="noopener noreferrer"&gt;modular API&lt;/a&gt; to express those differences, inheriting components from an existing model and overriding only the parts that needed to change. The library’s tooling then generates standalone implementation files from that modular source, allowing us to build on a base model while keeping NeuCodec’s changes explicit in the source we maintain.&lt;/p&gt;

&lt;p&gt;There were a couple of additional technical details to consider in our implementation.&lt;/p&gt;

&lt;p&gt;First, batch preprocessing for the semantic encoder’s mel-spectrograms wasn’t particularly straightforward because of &lt;code&gt;torchaudio.compliance.kaldi.fbank&lt;/code&gt;, which does not support batched inputs, and the need to preserve consistency with the original model’s outputs. The maintainers agreed to leave this as a possible improvement for NeuCodec, rather than a requirement for the integration.&lt;/p&gt;

&lt;p&gt;Second, NeuCodec’s sample rates also raised a related interface question. It accepts audio at 16 kHz and reconstructs upsampled audio at 24 kHz, so a single &lt;code&gt;sampling_rate&lt;/code&gt; field could describe either the encoder’s input or the decoder’s output. We made both explicit in the model configuration as &lt;code&gt;input_sampling_rate&lt;/code&gt; and &lt;code&gt;output_sampling_rate&lt;/code&gt;. The feature extractor’s &lt;code&gt;sampling_rate&lt;/code&gt; continues to refer to the input. This gives each setting a defined role while accommodating a model whose input and output rates differ.&lt;/p&gt;

&lt;p&gt;To get started with the integration, install transformers 5.17 with pip:&lt;/p&gt;

&lt;p&gt;bash&lt;/p&gt;

&lt;p&gt;pip install transformers==5.17&lt;/p&gt;

&lt;p&gt;And use the following code snippet to get started with &lt;code&gt;neucodec&lt;/code&gt; using the &lt;code&gt;AutoModel&lt;/code&gt; API:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight python"&gt;&lt;code&gt;&lt;span class="c1"&gt;# neucodec_example.py&lt;/span&gt;
&lt;span class="k"&gt;from&lt;/span&gt; &lt;span class="n"&gt;datasets&lt;/span&gt; &lt;span class="k"&gt;import&lt;/span&gt; &lt;span class="nc"&gt;Audio&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;load_dataset&lt;/span&gt;
&lt;span class="k"&gt;from&lt;/span&gt; &lt;span class="n"&gt;transformers&lt;/span&gt; &lt;span class="k"&gt;import&lt;/span&gt; &lt;span class="nc"&gt;AutoFeatureExtractor&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nc"&gt;AutoModel&lt;/span&gt;

&lt;span class="n"&gt;model_id&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="s2"&gt;"neuphonic/neucodec"&lt;/span&gt;
&lt;span class="n"&gt;model&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nc"&gt;AutoModel&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;from_pretrained&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;model_id&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;device_map&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s2"&gt;"auto"&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="n"&gt;feature_extractor&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nc"&gt;AutoFeatureExtractor&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;from_pretrained&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;model_id&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="n"&gt;dataset&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nf"&gt;load_dataset&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s2"&gt;"hf-internal-testing/librispeech_asr_dummy"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s2"&gt;"clean"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;split&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s2"&gt;"validation"&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="n"&gt;dataset&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;dataset&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;cast_column&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s2"&gt;"audio"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nc"&gt;Audio&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;sampling_rate&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="n"&gt;feature_extractor&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;sampling_rate&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="n"&gt;audio&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;dataset&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="mi"&gt;0&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s2"&gt;"audio"&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s2"&gt;"array"&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;
&lt;span class="n"&gt;inputs&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nf"&gt;feature_extractor&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;audio&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="n"&gt;audio&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;sampling_rate&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="n"&gt;feature_extractor&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;sampling_rate&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;return_tensors&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s2"&gt;"pt"&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;to&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;
 &lt;span class="n"&gt;model&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;device&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;model&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;dtype&lt;/span&gt;
&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="k"&gt;print&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s2"&gt;"Input waveform shape:"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;inputs&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s2"&gt;"input_values"&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;shape&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="c1"&gt;# Input waveform shape: torch.Size([1, 1, 93760])&lt;/span&gt;

&lt;span class="c1"&gt;# encoder and decoder&lt;/span&gt;
&lt;span class="n"&gt;audio_codes&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;model&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;encode&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="o"&gt;**&lt;/span&gt;&lt;span class="n"&gt;inputs&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;audio_codes&lt;/span&gt;
&lt;span class="k"&gt;print&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s2"&gt;"Audio codes shape:"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;audio_codes&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;shape&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="c1"&gt;# Audio codes shape: torch.Size([1, 1, 293])&lt;/span&gt;
&lt;span class="n"&gt;audio_values&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;model&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;decode&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;audio_codes&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;audio_values&lt;/span&gt;
&lt;span class="k"&gt;print&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s2"&gt;"Audio values shape:"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;audio_values&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;shape&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="c1"&gt;# Audio values shape: torch.Size([1, 1, 93760])&lt;/span&gt;

&lt;span class="c1"&gt;# Equivalently, you can do encoding and decoding in one step&lt;/span&gt;
&lt;span class="n"&gt;model_output&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nf"&gt;model&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="o"&gt;**&lt;/span&gt;&lt;span class="n"&gt;inputs&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="n"&gt;audio_codes&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;model_output&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;audio_codes&lt;/span&gt;
&lt;span class="n"&gt;audio_values&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;model_output&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;audio_values&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;We’re grateful to the Hugging Face team for their guidance throughout the integration. In particular, thank you to Eric Bezzam for his detailed reviews and work on this PR!&lt;/p&gt;

&lt;p&gt;&lt;a href="https://www.neuphonic.com/contact-us" rel="noopener noreferrer"&gt;Contact Us&lt;/a&gt;&lt;/p&gt;

</description>
      <category>speech</category>
      <category>ai</category>
      <category>machinelearning</category>
      <category>python</category>
    </item>
    <item>
      <title>Introducing NeuTTS-Max</title>
      <dc:creator>Sohaib Ahmad</dc:creator>
      <pubDate>Mon, 23 Nov 2026 16:43:32 +0000</pubDate>
      <link>https://dev.to/ahmasoh/introducing-neutts-max-3g5d</link>
      <guid>https://dev.to/ahmasoh/introducing-neutts-max-3g5d</guid>
      <description>&lt;p&gt;This article was originally published on &lt;a href="https://www.neuphonic.com/blog/introducing-neutts-max" rel="noopener noreferrer"&gt;neuphonic.com&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fc8702eluy5to85inxhil.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fc8702eluy5to85inxhil.png" alt="Waveform of the sentence &amp;quot;Low latency speech with precise control.&amp;quot; split into word-level timestamps, with speech starting at 0 ms and the first word, &amp;quot;Low&amp;quot;, lasting 0.24 s." width="800" height="450"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Illustration of word-level timestamps: each word comes back with its start time and duration, and speech begins at 0 ms.&lt;/p&gt;

&lt;p&gt;NeuTTS-Max is our most capable text-to-speech model, built for low-latency, real-time voice agents. It covers 44 languages and multiple dialects, with word-level timestamps, IPA pronunciation control in 10 languages, and context-aware formatting of phone numbers and addresses.&lt;/p&gt;

&lt;p&gt;It is efficient enough to run locally on a laptop, and still benefits from parallel processing on a GPU.&lt;/p&gt;

&lt;p&gt;In our own test on 12 October 2026, measured from London to each provider’s European endpoint, NeuTTS-Max reached first audible speech in a median 83 ms, with a p90 of 95 ms. ElevenLabs took 143 ms and Cartesia 231.5 ms at the median.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://app.neuphonic.com/" rel="noopener noreferrer"&gt;Click here to try the model on our playground.&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  How we built NeuTTS-Max
&lt;/h2&gt;

&lt;p&gt;Our models are composed of an LLM backbone (think text in, tokens out), and an audio codec (tokens in, audio, wav out).&lt;/p&gt;

&lt;p&gt;We’re able to build more efficient models as we compress audio more efficiently, allowing smaller models to characterise this representation more easily. We built &lt;a href="https://huggingface.co/neuphonic/neucodec" rel="noopener noreferrer"&gt;Neucodec&lt;/a&gt;, and continue to build on it, thanks to its single codebook efficiency and low frame rate, so the focus of this release was to optimise the backbone for improved features and performance.&lt;/p&gt;

&lt;p&gt;The starting point for the backbone is to take advantage of well trained foundational models, like Qwen or Llama. These are then augmented to learn how to take in text, and output audio. The training procedure we rebuilt for this release involved rearchitecting what it meant to have a “unit”. Conventional models treat sentences or the text you input as a “unit” =&amp;gt; thereby generating everything at once.&lt;/p&gt;

&lt;p&gt;Try NeuTTS-Max on our &lt;a href="https://app.neuphonic.com/" rel="noopener noreferrer"&gt;playground&lt;/a&gt; or via &lt;a href="https://docs.neuphonic.com/" rel="noopener noreferrer"&gt;API&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;Follow the docs to learn more about integrating NeuTTS into your application.&lt;/p&gt;

&lt;h2&gt;
  
  
  Where can I deploy NeuTTS-Max?
&lt;/h2&gt;

&lt;p&gt;NeuTTS-Max runs in Neuphonic's cloud, on-prem, and on-device. For &lt;a href="https://www.neuphonic.com/solutions/on-prem" rel="noopener noreferrer"&gt;on-prem deployment&lt;/a&gt;, it runs on your own servers or private cloud, including sovereign, isolated and air-gapped set-ups.&lt;/p&gt;

&lt;h2&gt;
  
  
  How fast is NeuTTS-Max?
&lt;/h2&gt;

&lt;p&gt;In Neuphonic's test on 12 October 2026, NeuTTS-Max reached first audible speech in a median 83 ms and a p90 of 95 ms. 95% of its requests reached speech in under 100 ms; none of ElevenLabs' or Cartesia's did. These are Neuphonic's own measurements.&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Provider&lt;/th&gt;
&lt;th&gt;Model tested&lt;/th&gt;
&lt;th&gt;p50&lt;/th&gt;
&lt;th&gt;p90&lt;/th&gt;
&lt;th&gt;p95&lt;/th&gt;
&lt;th&gt;Requests under 100 ms&lt;/th&gt;
&lt;th&gt;Source / date&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Neuphonic&lt;/td&gt;
&lt;td&gt;NeuTTS-Max&lt;/td&gt;
&lt;td&gt;83 ms&lt;/td&gt;
&lt;td&gt;95 ms&lt;/td&gt;
&lt;td&gt;99 ms&lt;/td&gt;
&lt;td&gt;95.4%&lt;/td&gt;
&lt;td&gt;Neuphonic's test, 12 Oct 2026 (UTC)&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;ElevenLabs&lt;/td&gt;
&lt;td&gt;Turbo v2.5&lt;/td&gt;
&lt;td&gt;143 ms&lt;/td&gt;
&lt;td&gt;267.9 ms&lt;/td&gt;
&lt;td&gt;284.9 ms&lt;/td&gt;
&lt;td&gt;0%&lt;/td&gt;
&lt;td&gt;Neuphonic's test, 12 Oct 2026 (UTC)&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Cartesia&lt;/td&gt;
&lt;td&gt;Sonic 3.5&lt;/td&gt;
&lt;td&gt;231.5 ms&lt;/td&gt;
&lt;td&gt;284.8 ms&lt;/td&gt;
&lt;td&gt;316.8 ms&lt;/td&gt;
&lt;td&gt;0%&lt;/td&gt;
&lt;td&gt;Neuphonic's test, 12 Oct 2026 (UTC)&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;Time to speech here means first byte plus any leading silence, measured from a London client, so it includes the network round trip. Each provider served 432 requests that day, with none failing. We sent 3 requests per provider every 10 minutes from London throughout the day.&lt;/p&gt;

&lt;p&gt;The p90 matters for voice agents. A median describes a typical turn, but callers notice the slow ones. One turn in ten took longer than 95 ms on NeuTTS-Max, against over 265 ms on ElevenLabs and Cartesia.&lt;/p&gt;

&lt;h2&gt;
  
  
  What does 0 ms median leading silence mean?
&lt;/h2&gt;

&lt;p&gt;Many TTS APIs send their first audio bytes quickly, but those bytes are silent. The listener still waits for the first word. In Neuphonic's test, NeuTTS-Max had a median leading silence of 0 ms, and 83% of its responses started with speech straight away. ElevenLabs had a median of 30 ms of leading silence and Cartesia 120 ms. Cartesia's first byte arrived in a median 105 ms, but its first audible speech came at 231.5 ms.&lt;/p&gt;

&lt;p&gt;This matters most in voice agents. Every millisecond of silence after a user stops talking adds to the gap before the agent answers. Leading silence is easy to miss in a benchmark that only times the first byte, which is why we count it.&lt;/p&gt;

&lt;h2&gt;
  
  
  What does time to speech count?
&lt;/h2&gt;

&lt;p&gt;Time to speech = time to first byte + leading silence. The first part is how long the server takes to start sending audio. The second is how much of that early audio is silence before the first word. Counting both gives the delay a listener actually hears.&lt;/p&gt;

&lt;h2&gt;
  
  
  How do I fix how a word is pronounced?
&lt;/h2&gt;

&lt;p&gt;Put the word's IPA spelling in a &lt;code&gt;&amp;lt;phoneme:…&amp;gt;&lt;/code&gt; tag where the word would go. Only the tagged word changes; the rest of the sentence is spoken as normal. The pronunciation tool in the &lt;a href="https://app.neuphonic.com/" rel="noopener noreferrer"&gt;Neuphonic dashboard&lt;/a&gt; gives you the IPA for a word.&lt;/p&gt;

&lt;p&gt;Please welcome &lt;code&gt;&amp;lt;phoneme:ˈdeɪtə&amp;gt;&lt;/code&gt;, our guest.&lt;/p&gt;

&lt;p&gt;Bare, &lt;code&gt;/slashed/&lt;/code&gt; or &lt;code&gt;[bracketed]&lt;/code&gt; IPA all work, and &lt;code&gt;ˈ&lt;/code&gt; marks the stressed syllable. IPA control works in 10 languages: English, German, Dutch, French, Italian, Spanish, Portuguese, Russian, Hindi and Korean. Use the phonemes of the language you are synthesising, or the request is rejected. For Castilian Spanish or Brazilian Portuguese, set &lt;code&gt;ipa_key&lt;/code&gt; to &lt;code&gt;es-castilian&lt;/code&gt; or &lt;code&gt;pt-br&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;This is useful for brand names, surnames and medical or product terms that a model would otherwise guess.&lt;/p&gt;

&lt;h2&gt;
  
  
  Can I get word-level timestamps?
&lt;/h2&gt;

&lt;p&gt;Yes. Set &lt;code&gt;timestamps=true&lt;/code&gt; and each message carries an &lt;code&gt;alignment&lt;/code&gt; object with every word's start time, duration and character offsets in your original text (&lt;a href="https://docs.neuphonic.com/build-group/text-to-speech#word-timings" rel="noopener noreferrer"&gt;word timings docs&lt;/a&gt;). Use them for captions, lip-sync, highlighting text as it is read, or knowing exactly where a user interrupted the agent.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight json"&gt;&lt;code&gt;&lt;span class="nl"&gt;"alignment"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
 &lt;span class="nl"&gt;"units"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s2"&gt;"Your"&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
 &lt;span class="nl"&gt;"unitStartTimesMs"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="mi"&gt;0&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
 &lt;span class="nl"&gt;"unitDurationsMs"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="mi"&gt;208&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
 &lt;span class="nl"&gt;"charStartOffsets"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="mi"&gt;0&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
 &lt;span class="nl"&gt;"charEndOffsets"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="mi"&gt;4&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Offsets point at the text you sent, so "$42" comes back as one entry covering its whole read-out. For scripts written without spaces, such as Japanese, Chinese and Thai, a "word" is the smaller unit natural to that script.&lt;/p&gt;

&lt;h2&gt;
  
  
  How do I add a pause?
&lt;/h2&gt;

&lt;p&gt;Add &lt;code&gt;&amp;lt;pause:500ms&amp;gt;&lt;/code&gt; or &lt;code&gt;&amp;lt;pause:2s&amp;gt;&lt;/code&gt; anywhere in your text, or use SSML's &lt;code&gt;&amp;lt;break time="500ms"/&amp;gt;&lt;/code&gt; (&lt;a href="https://docs.neuphonic.com/build-group/text-to-speech#inline-pauses" rel="noopener noreferrer"&gt;inline pauses doc&lt;/a&gt;).&lt;/p&gt;

&lt;h2&gt;
  
  
  Can I clone a voice with NeuTTS-Max?
&lt;/h2&gt;

&lt;p&gt;Yes. Send a short audio sample to &lt;code&gt;POST /voices&lt;/code&gt; and the API returns a new &lt;code&gt;voice_id&lt;/code&gt; you can use like any standard voice. Cloning is available for all supported languages (&lt;a href="https://docs.neuphonic.com/build-group/voice-cloning" rel="noopener noreferrer"&gt;voice cloning docs&lt;/a&gt;).&lt;/p&gt;

&lt;p&gt;Neuphonic transcribes your sample and aligns the transcript with the audio before it creates the voice. If the sample cannot be aligned, for example because it is mostly noise or music, the API rejects it with a 400 error. That check stops poor samples from producing poor voices. Use a clean recording of 3 to 10 seconds of natural speech.&lt;/p&gt;

&lt;p&gt;In the Python SDK, cloning is one call:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight python"&gt;&lt;code&gt;&lt;span class="c1"&gt;# clone_voice.py&lt;/span&gt;
&lt;span class="k"&gt;from&lt;/span&gt; &lt;span class="n"&gt;pyneuphonic&lt;/span&gt; &lt;span class="k"&gt;import&lt;/span&gt; &lt;span class="nc"&gt;Neuphonic&lt;/span&gt;
&lt;span class="k"&gt;import&lt;/span&gt; &lt;span class="n"&gt;os&lt;/span&gt;

&lt;span class="n"&gt;client&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nc"&gt;Neuphonic&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;api_key&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="n"&gt;os&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;environ&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s2"&gt;"NEUPHONIC_API_KEY"&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;

&lt;span class="n"&gt;response&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;client&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;voices&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;clone&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;
 &lt;span class="n"&gt;voice_name&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s2"&gt;"support-agent"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
 &lt;span class="n"&gt;voice_file_path&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s2"&gt;"sample.wav"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="k"&gt;print&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;response&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;data&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="c1"&gt;# includes the new voice_id&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Only clone voices you have permission to use. (&lt;a href="https://www.neuphonic.com/legal/acceptable-use-policy" rel="noopener noreferrer"&gt;Acceptable-use policy&lt;/a&gt;)&lt;/p&gt;

&lt;h2&gt;
  
  
  Which languages does NeuTTS-Max support?
&lt;/h2&gt;

&lt;p&gt;NeuTTS-Max supports 44 languages, listed on the Neuphonic &lt;a href="https://docs.neuphonic.com/build-group/languages" rel="noopener noreferrer"&gt;languages page&lt;/a&gt;. Several come with regional accents, so a contact centre can match the caller's region.&lt;/p&gt;

&lt;p&gt;• &lt;strong&gt;English&lt;/strong&gt;: US and UK.&lt;/p&gt;

&lt;p&gt;• &lt;strong&gt;Spanish&lt;/strong&gt;: Castilian, Argentinian, Mexican, Colombian, Peruvian and Venezuelan.&lt;/p&gt;

&lt;p&gt;• &lt;strong&gt;Portuguese&lt;/strong&gt;: Brazilian and European.&lt;/p&gt;

&lt;p&gt;• &lt;strong&gt;Arabic&lt;/strong&gt;: Modern Standard Arabic, Maghrebi and Saudi.&lt;/p&gt;

&lt;p&gt;• &lt;strong&gt;Also listed&lt;/strong&gt;: German, Polish, Japanese, Korean, Chinese, Hindi, Thai, Turkish, Urdu and Vietnamese, among others.&lt;/p&gt;

&lt;h2&gt;
  
  
  How do I try NeuTTS-Max?
&lt;/h2&gt;

&lt;p&gt;Get an API key, install the Python SDK and send your first request. It takes a few minutes.&lt;/p&gt;

&lt;p&gt;Get a key and install the SDK&lt;/p&gt;

&lt;p&gt;Create an API key in the &lt;a href="https://app.neuphonic.com/" rel="noopener noreferrer"&gt;Neuphonic playground&lt;/a&gt;, then install the SDK:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;pip install pyneuphonic
&lt;span class="kd"&gt;export&lt;/span&gt; &lt;span class="nv"&gt;NEUPHONIC_API_KEY&lt;/span&gt;&lt;span class="o"&gt;=&amp;lt;&lt;/span&gt;your key&lt;span class="o"&gt;&amp;gt;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Send your first request&lt;/p&gt;

&lt;p&gt;This sample streams speech over SSE and saves it to a WAV file. It uses Paul, the default English voice; &lt;code&gt;client.voices.list()&lt;/code&gt; shows every voice and its language. For a live agent that speaks many turns, use the websocket client and keep one connection open per call.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight python"&gt;&lt;code&gt;&lt;span class="c1"&gt;# quickstart.py&lt;/span&gt;
&lt;span class="k"&gt;from&lt;/span&gt; &lt;span class="n"&gt;pyneuphonic&lt;/span&gt; &lt;span class="k"&gt;import&lt;/span&gt; &lt;span class="nc"&gt;Neuphonic&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nc"&gt;TTSConfig&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;save_audio&lt;/span&gt;
&lt;span class="k"&gt;import&lt;/span&gt; &lt;span class="n"&gt;os&lt;/span&gt;

&lt;span class="n"&gt;client&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nc"&gt;Neuphonic&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;api_key&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="n"&gt;os&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;environ&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s2"&gt;"NEUPHONIC_API_KEY"&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="n"&gt;sse&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;client&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;tts&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nc"&gt;SSEClient&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;

&lt;span class="n"&gt;tts_config&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nc"&gt;TTSConfig&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;
 &lt;span class="n"&gt;lang_code&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s2"&gt;"en"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
 &lt;span class="n"&gt;voice_id&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s2"&gt;"59f9cb97-c00f-44c5-ad52-f43b52ae8378"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="c1"&gt;# Paul, default English voice&lt;/span&gt;
 &lt;span class="n"&gt;sampling_rate&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="mi"&gt;24000&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
&lt;span class="p"&gt;)&lt;/span&gt;

&lt;span class="n"&gt;response&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;sse&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;send&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s2"&gt;"Your order ships on Tuesday."&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;tts_config&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="n"&gt;tts_config&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="nf"&gt;save_audio&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;response&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s2"&gt;"output.wav"&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Tested against the live API on 10 November 2026.&lt;/p&gt;

&lt;p&gt;Does NeuTTS-Max work with LiveKit, Pipecat and Twilio?&lt;/p&gt;

&lt;p&gt;Yes. Neuphonic documents integrations with &lt;a href="https://docs.neuphonic.com/integrations/livekit" rel="noopener noreferrer"&gt;LiveKit&lt;/a&gt;, &lt;a href="https://docs.neuphonic.com/integrations/pipecat" rel="noopener noreferrer"&gt;Pipecat&lt;/a&gt;, &lt;a href="https://docs.neuphonic.com/integrations/twilio" rel="noopener noreferrer"&gt;Twilio&lt;/a&gt; and &lt;a href="https://docs.videosdk.live/ai_agents/plugins/tts/neuphonic-tts" rel="noopener noreferrer"&gt;VideoSDK&lt;/a&gt;. For phone calls, request 8 kHz pcm_mulaw output so the audio needs no resampling before it reaches the carrier.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://www.neuphonic.com/contact-us" rel="noopener noreferrer"&gt;Contact Us&lt;/a&gt;&lt;/p&gt;

</description>
      <category>tts</category>
      <category>speech</category>
      <category>ai</category>
      <category>machinelearning</category>
    </item>
    <item>
      <title>Neuphonic TTS latency: how we measure time to first audio (p50/p90)</title>
      <dc:creator>Sohaib Ahmad</dc:creator>
      <pubDate>Mon, 23 Nov 2026 16:43:01 +0000</pubDate>
      <link>https://dev.to/ahmasoh/neuphonic-tts-latency-how-we-measure-time-to-first-audio-p50p90-324c</link>
      <guid>https://dev.to/ahmasoh/neuphonic-tts-latency-how-we-measure-time-to-first-audio-p50p90-324c</guid>
      <description>&lt;p&gt;This article was originally published on &lt;a href="https://www.neuphonic.com/blog/how-we-measure-tts-latency" rel="noopener noreferrer"&gt;neuphonic.com&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F1gaz4nqt4zm5it4l2hm7.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F1gaz4nqt4zm5it4l2hm7.png" alt="Cloud TTS latency comparison showing p50 and p90 time to first audible speech for NeuTTS-Max, ElevenLabs Turbo V2.5 and Cartesia Sonic 3.5." width="800" height="450"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Time to first audible speech, including network time and leading silence. Neuphonic’s test from London on 12 October 2026, with 432 requests per provider.&lt;/p&gt;

&lt;p&gt;Our models are built to be smaller and more efficient: being able to run on low powered CPU hardware whilst also able to benefit from parallelisable efficiency gains from GPUs.&lt;/p&gt;

&lt;p&gt;To highlight this, on the 12th of October 2026, we measured latency from a client in London to our European deployment (hosting &lt;a href="https://www.neuphonic.com/blog/introducing-neutts-max" rel="noopener noreferrer"&gt;our frontier model NeuTTS-Max&lt;/a&gt;), reaching first audible speech in a median (p50) of 83 ms and a p90 of 95 ms across 432 requests, counting any leading silence.&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Date (UTC)&lt;/th&gt;
&lt;th&gt;Provider&lt;/th&gt;
&lt;th&gt;Model&lt;/th&gt;
&lt;th&gt;p50&lt;/th&gt;
&lt;th&gt;p90&lt;/th&gt;
&lt;th&gt;p95&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;12 Oct 2026&lt;/td&gt;
&lt;td&gt;Neuphonic&lt;/td&gt;
&lt;td&gt;NeuTTS-Max&lt;/td&gt;
&lt;td&gt;83 ms&lt;/td&gt;
&lt;td&gt;95 ms&lt;/td&gt;
&lt;td&gt;99 ms&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;12 Oct 2026&lt;/td&gt;
&lt;td&gt;ElevenLabs&lt;/td&gt;
&lt;td&gt;Turbo v2.5&lt;/td&gt;
&lt;td&gt;143 ms&lt;/td&gt;
&lt;td&gt;267.9 ms&lt;/td&gt;
&lt;td&gt;284.9 ms&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;12 Oct 2026&lt;/td&gt;
&lt;td&gt;Cartesia&lt;/td&gt;
&lt;td&gt;Sonic 3.5&lt;/td&gt;
&lt;td&gt;231.5 ms&lt;/td&gt;
&lt;td&gt;284.8 ms&lt;/td&gt;
&lt;td&gt;316.8 ms&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;Time to speech = time to first byte + leading silence. Percentiles use linear interpolation between ranked results.&lt;/p&gt;

&lt;h2&gt;
  
  
  What does each latency number count?
&lt;/h2&gt;

&lt;p&gt;Time to speech is the delay a listener hears: from sending text to the first audible sound. It is the number we report. Two other metrics are common, and they can differ by a lot.&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Metric&lt;/th&gt;
&lt;th&gt;Clock starts&lt;/th&gt;
&lt;th&gt;Clock stops&lt;/th&gt;
&lt;th&gt;Includes leading silence?&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Time to first byte (TTFB)&lt;/td&gt;
&lt;td&gt;Request sent&lt;/td&gt;
&lt;td&gt;First byte of any response arrives&lt;/td&gt;
&lt;td&gt;No&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Time to first audio byte (TTFAB)&lt;/td&gt;
&lt;td&gt;Request sent&lt;/td&gt;
&lt;td&gt;First byte of audio arrives&lt;/td&gt;
&lt;td&gt;No&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Time to speech&lt;/td&gt;
&lt;td&gt;Request sent&lt;/td&gt;
&lt;td&gt;First audible audio arrives&lt;/td&gt;
&lt;td&gt;Yes&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;In short: time to speech = time to first byte + leading silence. All three include network time from your client to the server.&lt;/p&gt;

&lt;h2&gt;
  
  
  Are these numbers guaranteed?
&lt;/h2&gt;

&lt;p&gt;No. They’re measured percentiles from one client location on one day, not a service-level guarantee. Your latency depends on where your code runs, what GPU the models are running on, and how you call the API. We only publish percentiles we have measured in a setting matching the deployments our customers experience.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why does Neuphonic count leading silence?
&lt;/h2&gt;

&lt;p&gt;Because the listener waits through it. A provider can send its first audio byte quickly while that audio is still silent. A benchmark that stops the clock at the first byte would miss that wait. NeuTTS-Max had a median leading silence of 0 ms, so for NeuTTS-Max its first audio byte and time to speech are close to the same. Counting silence keeps the comparison fair across providers that behave differently.&lt;/p&gt;

&lt;h2&gt;
  
  
  What adds TTS latency on my side?
&lt;/h2&gt;

&lt;p&gt;Most of the gap between what users see comes from a number of things you can control, and a couple things you unfortunately can’t! The following are a number of key issues:&lt;/p&gt;

&lt;p&gt;• Region: network distance adds to every request. Measure from where your agent runs, not from your laptop.&lt;/p&gt;

&lt;p&gt;• Serving Framework: software on the model-hosting side (i.e. in the data centre) can be optimised for faster inference. This impacts how quickly the model generates the response.&lt;/p&gt;

&lt;p&gt;• Length of Generation: before generating any audio, the model runs a prefill step that processes the entire input text at once. Prefill cost grows with input length, and faster than linearly because attention compares every token with every other token. So a 100-word request has a longer time to first audio than a 3-word one, before generation even begins.&lt;/p&gt;

&lt;h2&gt;
  
  
  How does Neuphonic measure TTS latency?
&lt;/h2&gt;

&lt;p&gt;We send short English sentences to each provider on a fixed schedule from one client, time each request to the first audible speech, and report percentiles of the successful requests. The 12 October 2026 round used this set-up:&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Setting&lt;/th&gt;
&lt;th&gt;12 Oct 2026 round&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Client location&lt;/td&gt;
&lt;td&gt;London, United Kingdom&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Server&lt;/td&gt;
&lt;td&gt;Neuphonic’s European deployment; each competitor’s public API&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Cadence&lt;/td&gt;
&lt;td&gt;3 requests per provider every 10 minutes, 00:00 to 23:50 UTC (144 rounds)&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Sample size&lt;/td&gt;
&lt;td&gt;432 requests per provider, 1,296 in total&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Statistic&lt;/td&gt;
&lt;td&gt;p50, p90 and p95 of successful requests&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Text set&lt;/td&gt;
&lt;td&gt;10 English sentences, 44 to 84 characters (65 on average)&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Leading silence&lt;/td&gt;
&lt;td&gt;Measured in 10 ms steps from the start of the audio&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;&lt;a href="https://www.neuphonic.com/contact-us" rel="noopener noreferrer"&gt;Contact Us&lt;/a&gt;&lt;/p&gt;

</description>
      <category>tts</category>
      <category>speech</category>
      <category>ai</category>
      <category>machinelearning</category>
    </item>
    <item>
      <title>Human-Like Conversational Text-to-Speech from Small Voice Models</title>
      <dc:creator>Sohaib Ahmad</dc:creator>
      <pubDate>Mon, 23 Nov 2026 16:42:26 +0000</pubDate>
      <link>https://dev.to/ahmasoh/human-like-conversational-text-to-speech-from-small-voice-models-3ime</link>
      <guid>https://dev.to/ahmasoh/human-like-conversational-text-to-speech-from-small-voice-models-3ime</guid>
      <description>&lt;p&gt;This article was originally published on &lt;a href="https://www.neuphonic.com/blog/human-like-conversational-text-to-speech" rel="noopener noreferrer"&gt;neuphonic.com&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fhl8uuok5tznddcp6vea0.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fhl8uuok5tznddcp6vea0.png" alt="Abstract green waveform made of glowing dots, representing synthesised speech." width="800" height="450"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Natural speech from a small model, running on a CPU.&lt;/p&gt;

&lt;p&gt;Teams putting voice into glasses, robots and phones keep reaching the same fork. Cloud text to speech sounds human, but it needs a network, sends data off the device and bills by the minute. Local models run offline, but they sound robotic or blow the memory and power budget.&lt;/p&gt;

&lt;p&gt;Human-like conversational text to speech from a small, custom model removes that choice when the model is designed for the device’s CPU from the first experiment. NeuTTS-2M, for example, speaks seven languages from 60M active parameters and runs in real time on two CPU threads.&lt;/p&gt;

&lt;p&gt;This guide will cover what makes conversational speech sound human, why conversation is harder than narration, how to measure quality honestly, and what to check before you ship. We build these models at Neuphonic, so wherever we quote our own numbers we say how we measured them.&lt;/p&gt;

&lt;h2&gt;
  
  
  What makes conversational text to speech sound human?
&lt;/h2&gt;

&lt;p&gt;A synthetic voice sounds human when its prosody fits the meaning, its pauses fall where a speaker would breathe or think, it says names and numbers correctly, and it never skips or invents a word. Get one of those wrong and listeners notice within a sentence.&lt;/p&gt;

&lt;h3&gt;
  
  
  Prosody: pitch, rhythm, stress and pacing
&lt;/h3&gt;

&lt;p&gt;Prosody is the melody and timing of speech, the pitch contour (F0), syllable length, stress and speaking rate. Stress carries meaning. “I said Tuesday” defends a statement; “I said Tuesday” corrects a date.&lt;/p&gt;

&lt;p&gt;Models lose this easily. In a study of phoneme-level prosody prediction (&lt;a href="https://arxiv.org/abs/2211.01327" rel="noopener noreferrer"&gt;arXiv:2211.01327&lt;/a&gt;, 2022), the model listeners rated most natural had flat prosody, and adding variation lowered MOS and raised word error rate. Standard metrics reward a safe, even delivery. In conversation that delivery sounds boring, because real speakers stress the word that carries new information.&lt;/p&gt;

&lt;h3&gt;
  
  
  Intonation that follows the meaning of each turn
&lt;/h3&gt;

&lt;p&gt;Yes and no questions in English usually rise at the end (“Did you lock the door?”) and statements fall. A flat F0 contour across both is the most recognisable robotic marker.&lt;/p&gt;

&lt;p&gt;A “question mark means rise” rule fails too. Wh-questions such as “Where did you park?” normally fall. The model has to read what the sentence is doing, which is why language-model-based TTS handles intonation better than rule-driven pipelines, because it reads the whole sentence before predicting the first sound.&lt;/p&gt;

&lt;h3&gt;
  
  
  Pauses and phrasing that come from context, not punctuation
&lt;/h3&gt;

&lt;p&gt;Punctuation driven TTS pauses at every comma. People pause before a hard word, after a clause that sets up a point, and hardly at all inside a familiar list. Punctuation still helps, and our NeuTTS guidance tells developers that commas, full stops and question marks guide rhythm. The model treats them as hints and uses context to decide how long each pause should be.&lt;/p&gt;

&lt;h3&gt;
  
  
  Saying names, numbers and jargon correctly
&lt;/h3&gt;

&lt;p&gt;One mispronounced customer name undoes a lot of good prosody. Conversational products read “£4.50”, “14:30”, “SKU 7Q-22” and drug names that narration rarely meets. Context-aware formatting reads numbers, dates, units and codes the way a person would. Pronunciation control fixes a word with a rule, through a pronunciation dictionary or International Phonetic Alphabet (IPA) tags, so you never retrain to correct a brand name.&lt;/p&gt;

&lt;h3&gt;
  
  
  No skipped, repeated or hallucinated words
&lt;/h3&gt;

&lt;p&gt;Autoregressive speech models generate audio one token at a time, and they can loop, drop a word or add one. It’s the most common complaint we hear about open-source local models. For a medication reminder or a robot’s safety instruction, a fluent voice that drops the word “not” is worse than a robotic one that says every word, so we test faithfulness separately from naturalness.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why conversational TTS is a different problem from narration
&lt;/h2&gt;

&lt;p&gt;Narration TTS is judged on long passages heard once. Conversational TTS is judged on short turns heard straight after the user stops talking, by a user who may interrupt. A model can win an audiobook comparison and still feel wrong in a conversation, because conversation adds three demands: start fast, sound natural on a two-word reply, and stop cleanly.&lt;/p&gt;

&lt;h3&gt;
  
  
  Short, reactive turns need believable rhythm, not audiobook cadence
&lt;/h3&gt;

&lt;p&gt;Much of what an assistant says is short: “Sure, one sec.” “Got it, 7:15 tomorrow.” Audiobook cadence makes these lines sound read from a card. Short turns also give the model little text to infer prosody from, so it leans on the reference voice. We recommend cloning from natural, continuous speech, such as a monologue or conversation, so the model picks up conversational rhythm along with timbre.&lt;/p&gt;

&lt;h3&gt;
  
  
  Time to first audio is part of sounding human
&lt;/h3&gt;

&lt;p&gt;People leave very little silence between speaking turns. Stivers et al. (&lt;a href="https://www.pnas.org/doi/10.1073/pnas.0903616106" rel="noopener noreferrer"&gt;PNAS, 2009&lt;/a&gt;) studied conversations in 10 languages and found speakers in every one keep gaps short, with each language’s average within 250 ms of the cross-language mean. &lt;a href="https://www.scientificamerican.com/article/universal-social-rules-underlie-languages/" rel="noopener noreferrer"&gt;Scientific American’s coverage&lt;/a&gt; puts the typical gap around 200 ms and reports that at about 500 ms, listeners began reading a delay as reluctance.&lt;/p&gt;

&lt;p&gt;Our working rule: users forgive a slightly less natural voice, but they won’t forgive awkward pauses. Time to first audio belongs on the quality scorecard next to MOS, and every millisecond TTS saves gives the speech recogniser and LLM more room.&lt;/p&gt;

&lt;h3&gt;
  
  
  Interruptions and turn-taking
&lt;/h3&gt;

&lt;p&gt;When a user barges in, the system has to stop and know exactly which word it reached. If the assistant is reading three restaurant options and the user cuts in after the first, an LLM without word-level timestamps records all three as said and may refer to options the user never heard. Precise timestamps let the system trim its context to the last word played. The same timing data drives captions and avatar lip-sync.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fwmanskkha9oiufajtxbw.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fwmanskkha9oiufajtxbw.png" alt="Bar chart: the natural gap between speaking turns is about 200 ms, and about 500 ms starts to feel like hesitation. Below, an on-device voice pipeline next to a cloud pipeline, which adds a network step." width="800" height="1000"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;With word timestamps, the assistant’s context stops at the last word the user heard.&lt;/p&gt;

&lt;h3&gt;
  
  
  The network round trip, the hidden latency on every turn
&lt;/h3&gt;

&lt;p&gt;Every cloud TTS call adds a round trip: send text, wait in the provider’s queue, stream audio back. On glasses relaying through a phone over Bluetooth and cellular, that trip can cost more than the model. An African partner told us voice on a foreign server “tends to be plus a second, and up to seven seconds on a bad day”. On-prem or On-device TTS removes the trip and keeps working in tunnels, cold stores and hospital wards.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why teams think they must choose between quality and running on the device
&lt;/h2&gt;

&lt;p&gt;Most device teams we speak to have tried at least two of the routes below. Each gives up something the product needs, which is why “quality or control” feels like a law of nature. It holds for models built for data-centre GPUs, and stops holding when the model is designed for the device.&lt;/p&gt;

&lt;h3&gt;
  
  
  Cloud TTS: per-minute bills, always connected, and audio leaving the device
&lt;/h3&gt;

&lt;p&gt;Cloud APIs such as ElevenLabs and Cartesia sound excellent and are easy to start with. The costs arrive later. A per-minute bill on hardware sold once shrinks margin with every active user, so voice gets rate-limited or cut. The product stops talking when the connection drops, and every utterance leaves the device, which triggers privacy reviews.&lt;/p&gt;

&lt;h3&gt;
  
  
  Open-source local models: robotic, unreliable, and over the memory and power budget
&lt;/h3&gt;

&lt;p&gt;Lightweight engines such as Piper run comfortably on a CPU, but their prosody tends to be flat in dialogue. Larger LLM-based open models sound better, but many need a GPU for real time, exceed a wearable’s RAM or power budget, or hallucinate words under load. Several also ship weights under non-commercial licences. Our guide to open-source speech models covers which ones you can ship.&lt;/p&gt;

&lt;h3&gt;
  
  
  What distillation does to prosody
&lt;/h3&gt;

&lt;p&gt;The usual route to an on-device model is to distill a cloud model into a smaller student and quantise it hard. The architecture was still chosen for a GPU, so the small version spends compute on structures a CPU handles badly. In our experience, the first things to go are prosodic variation, rare pronunciations and stability on unusual inputs. The student learns its teacher’s average delivery, and the average is flat.&lt;/p&gt;

&lt;h2&gt;
  
  
  How small models reach human-like quality
&lt;/h2&gt;

&lt;p&gt;A device-native model is designed for the target CPU’s compute, memory and battery from the first experiment. It runs on the CPU alone, with no GPU and no network. Its quality comes from architecture choices made for that budget.&lt;/p&gt;

&lt;p&gt;A model sounds human when it reads the whole sentence before speaking. That lets it stress the right word and lift its voice at the end of a question. It also has to learn from people talking to each other, because a model trained on audiobook narration will sound like it’s reading aloud. Timing matters too: people leave about 200 ms between turns so a voice that takes longer to start loses the conversation.&lt;/p&gt;

&lt;p&gt;The model should be tuned for the one voice and job it has. Small models get there by starting from the device. You fix the chip, threads, memory and battery first, then build the best sounding model that fits, and leave room for speech recognition and the LLM on the same cores.&lt;/p&gt;

&lt;p&gt;Shrinking a large cloud model until it fits works in the opposite order, with the device budget considered last. To judge the result, compare models at the same compute cost on word error rate, speaker similarity, prosody heard in context and time to first audio on the target chip.&lt;/p&gt;

&lt;h2&gt;
  
  
  How to measure conversational TTS quality honestly
&lt;/h2&gt;

&lt;p&gt;Before you read anyone’s benchmark, including ours, it helps to know how TTS quality numbers are produced and where they mislead. Every common metric captures one aspect of quality and misses others. Used together, with their limits in mind, they give a fair picture. Used alone, each one can be gamed.&lt;/p&gt;

&lt;p&gt;Run your own listening tests on your own prompts, treat accuracy metrics as a floor rather than a target, and insist on device numbers that name the hardware.&lt;/p&gt;

&lt;h3&gt;
  
  
  Mean Opinion Score (MOS)
&lt;/h3&gt;

&lt;h3&gt;
  
  
  WER, and why optimising for it flattens prosody
&lt;/h3&gt;

&lt;p&gt;Word error rate (WER) runs generated speech through a speech recogniser and counts the words it gets wrong. It’s a useful check on faithful text generation: it catches skipped, repeated and invented words. It’s a poor guide to naturalness, because a slow, evenly stressed monotone is easy for a recogniser to transcribe. Push a model to minimise WER and it learns to sound careful and flat. Use WER as a pass/fail floor, then judge naturalness by ear.&lt;/p&gt;

&lt;h3&gt;
  
  
  Speaker similarity
&lt;/h3&gt;

&lt;p&gt;For cloned and custom voices, you also need to know whether the output sounds like the target speaker. Similarity MOS (SMOS) asks listeners. The common objective measure is cosine similarity between speaker embeddings from a verification model such as one built on WavLM. Higher is closer. Check it on conversational prompts as well as read speech, since some models hold the voice on long sentences and drift on short replies.&lt;/p&gt;

&lt;h3&gt;
  
  
  Device metrics: RTF, memory, power and time to first audio on a named CPU
&lt;/h3&gt;

&lt;p&gt;These are the hardware requirements that decide whether the model ships:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Real-time factor (RTF): generation time divided by audio duration. Below 1.0 means faster than real time.&lt;/li&gt;
&lt;li&gt;Peak RAM: the most memory the model uses while generating, in MB.&lt;/li&gt;
&lt;li&gt;Power: average draw during speech, in mW, and what it does to battery life.&lt;/li&gt;
&lt;li&gt;Time to first audio: milliseconds from text in to first sound out.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Each number is only meaningful with the device, CPU, thread count, quantisation level and test date attached. A figure without them can’t be reproduced.&lt;/p&gt;

&lt;h2&gt;
  
  
  Human-like speech on a CPU benchmark
&lt;/h2&gt;

&lt;p&gt;How the Neuphonic family of models compare to the market. Below are the figures we have measured, with their conditions.&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Model&lt;/th&gt;
&lt;th&gt;Active parameters&lt;/th&gt;
&lt;th&gt;Hardware&lt;/th&gt;
&lt;th&gt;Speed&lt;/th&gt;
&lt;th&gt;WER (on Seed TTS eval)&lt;/th&gt;
&lt;th&gt;Voice Cloning&lt;/th&gt;
&lt;th&gt;Languages&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;NeuTTS-2M&lt;/td&gt;
&lt;td&gt;60M&lt;/td&gt;
&lt;td&gt;CPU&lt;/td&gt;
&lt;td&gt;Real time&lt;/td&gt;
&lt;td&gt;&amp;lt;0.5%&lt;/td&gt;
&lt;td&gt;Yes&lt;/td&gt;
&lt;td&gt;7&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;NeuTTS Nano (OSS)&lt;/td&gt;
&lt;td&gt;120M&lt;/td&gt;
&lt;td&gt;CPU&lt;/td&gt;
&lt;td&gt;Real time&lt;/td&gt;
&lt;td&gt;&amp;lt;0.5%&lt;/td&gt;
&lt;td&gt;Yes&lt;/td&gt;
&lt;td&gt;4&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;NeuTTS Max&lt;/td&gt;
&lt;td&gt;1.7Bn (Total)&lt;/td&gt;
&lt;td&gt;Accelerator/GPU&lt;/td&gt;
&lt;td&gt;Real time&lt;/td&gt;
&lt;td&gt;&amp;lt;0.5%&lt;/td&gt;
&lt;td&gt;Yes&lt;/td&gt;
&lt;td&gt;44&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Kokoro (OSS)&lt;/td&gt;
&lt;td&gt;82M (Total)&lt;/td&gt;
&lt;td&gt;CPU&lt;/td&gt;
&lt;td&gt;Real time&lt;/td&gt;
&lt;td&gt;&amp;lt;0.5%&lt;/td&gt;
&lt;td&gt;No&lt;/td&gt;
&lt;td&gt;10 (Single language)&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Phonon-40M Multilingual (OSS)&lt;/td&gt;
&lt;td&gt;40M&lt;/td&gt;
&lt;td&gt;CPU&lt;/td&gt;
&lt;td&gt;Real time&lt;/td&gt;
&lt;td&gt;&amp;lt;0.5%&lt;/td&gt;
&lt;td&gt;No (needs embeddings from online)&lt;/td&gt;
&lt;td&gt;5&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;Neuphonic model results against Kokoro and Phonon&lt;/p&gt;

&lt;h3&gt;
  
  
  Check our numbers: open weights and a reproducible benchmark
&lt;/h3&gt;

&lt;p&gt;NeuTTS Air and Nano weights are on &lt;a href="https://huggingface.co/neuphonic" rel="noopener noreferrer"&gt;Hugging Face&lt;/a&gt; and the code is on &lt;a href="https://github.com/neuphonic/neutts" rel="noopener noreferrer"&gt;GitHub&lt;/a&gt;. The basic example clones a voice from a short clip and synthesises speech on your laptop’s CPU in a few commands.&lt;/p&gt;

&lt;h2&gt;
  
  
  Custom voices making it yours without losing naturalness
&lt;/h2&gt;

&lt;p&gt;“Custom” means two different things in TTS, and teams often ask for one when they need the other. A custom voice changes who the model sounds like. A custom model changes what the model is good at: your vocabulary, your languages, your chip. Many products need both. Both can cost naturalness if done carelessly. If you’re working from our open weights, our guide to fine-tuning open-source TTS covers the hands-on steps.&lt;/p&gt;

&lt;h3&gt;
  
  
  Custom voice cloning from a short reference
&lt;/h3&gt;

&lt;p&gt;NeuTTS clones a voice from a short reference recording and its transcript, at inference time. There’s no training run per voice and no per-voice fee, so one model can produce any number of voices: a brand voice for every product line, a cast of characters for a toy, a persona per market.&lt;/p&gt;

&lt;h3&gt;
  
  
  Keeping prosody intact while you customise
&lt;/h3&gt;

&lt;p&gt;Fine-tuning on narrow, carefully read domain data is the fastest way to make a model sound flat. Keep expressive conversational data in the training mix alongside domain data. Hold out a set of conversational prompts, including short replies and questions, and listen to them at every checkpoint. And judge checkpoints by listening tests, using WER only to confirm no words are dropped.&lt;/p&gt;

&lt;h3&gt;
  
  
  Owning the voice so it can’t be retired or repriced
&lt;/h3&gt;

&lt;p&gt;A brand voice is a long-lived asset. Device makers pick a voice partner for design cycles that can run one to five years, and a voice that disappears mid-cycle means rework and a lost identity. With our models you keep the weights and the voices, we own our voice IP outright so nothing can be pulled from under you, and we retain no data.&lt;/p&gt;

&lt;h2&gt;
  
  
  Shipping conversational TTS on your device
&lt;/h2&gt;

&lt;p&gt;A model that sounds good in a notebook still has to fit the product. Shipping means fitting three budgets at once: latency, memory and power, and the bill of materials. It also means deciding what happens when the device does have a connection and the task needs more than the local model.&lt;/p&gt;

&lt;p&gt;The good news is that these budgets reinforce each other. A model designed for the CPU uses less power, needs no new chip and removes the network leg from every turn.&lt;/p&gt;

&lt;h2&gt;
  
  
  Conclusion
&lt;/h2&gt;

&lt;p&gt;Human-like conversational text to speech comes down to prosody that follows meaning, pauses that come from context, correct names and numbers and no invented words, delivered inside a natural turn gap. Small models can do all of it when they’re designed for the device’s CPU from the first experiment.&lt;/p&gt;

&lt;p&gt;Measure before you trust. Compare MOS only within one test, treat WER as a faithfulness floor, name the embedding model behind any similarity score, and ask for RTF, memory and power on a named CPU.&lt;/p&gt;

&lt;p&gt;The open NeuTTS models run on your laptop today. Download them from &lt;a href="https://huggingface.co/neuphonic" rel="noopener noreferrer"&gt;Hugging Face&lt;/a&gt;, or &lt;a href="https://www.neuphonic.com/contact-us" rel="noopener noreferrer"&gt;book an on-device evaluation&lt;/a&gt; and we’ll benchmark NeuTTS on your hardware with your prompts.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://www.neuphonic.com/contact-us" rel="noopener noreferrer"&gt;Contact Us&lt;/a&gt;&lt;/p&gt;

</description>
      <category>tts</category>
      <category>speech</category>
      <category>ai</category>
      <category>machinelearning</category>
    </item>
    <item>
      <title>On-Device Text-to-Speech for Wearables</title>
      <dc:creator>Sohaib Ahmad</dc:creator>
      <pubDate>Mon, 23 Nov 2026 16:41:43 +0000</pubDate>
      <link>https://dev.to/ahmasoh/on-device-text-to-speech-for-wearables-13dj</link>
      <guid>https://dev.to/ahmasoh/on-device-text-to-speech-for-wearables-13dj</guid>
      <description>&lt;p&gt;This article was originally published on &lt;a href="https://www.neuphonic.com/blog/on-device-text-to-speech-for-wearables" rel="noopener noreferrer"&gt;neuphonic.com&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F49gp7xznoct05yc987ph.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F49gp7xznoct05yc987ph.png" alt="A smartphone, smartwatch, earbuds and smart glasses floating against a black background." width="667" height="448"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Glasses, earbuds, watches and phones, speaking without the cloud.&lt;/p&gt;

&lt;p&gt;Smart glasses, rings and watches that have to ask the cloud how to say a sentence will always answer a beat late and sound robotic. On-device text to speech for wearables removes that trip.&lt;/p&gt;

&lt;p&gt;The voice is generated on hardware the user carries, or the phone it’s connected to, so it keeps working in a tunnel, on a flight or on a hospital ward, and the words it speaks stay on that hardware.&lt;/p&gt;

&lt;p&gt;NeuTTS-2M is our device-native speech model for this job. It has 62.4M active parameters (173.6M in total), runs on the CPU alone with no GPU or NPU, speaks seven languages, clones a voice from about three seconds of audio, and scored a 0.47% word error rate on 100 Seed-TTS English sentences in our 2026 internal benchmark.&lt;/p&gt;

&lt;p&gt;This guide covers why device teams move speech off the cloud and the challenges it faces to be deployed on wearable hardware.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why run text-to-speech on the device at all?
&lt;/h2&gt;

&lt;p&gt;On-device text to speech generates audio on the product’s own processor instead of a cloud server. For a wearable, that takes the network out of every spoken reply, keeps the text on the device, keeps the voice working with no connection, and swaps a per-character bill for a fixed cost per unit.&lt;/p&gt;

&lt;p&gt;Each of those four benefits matters more on a wearable than on a laptop or a call-centre server, because the wearable is small, mobile and personal.&lt;/p&gt;

&lt;h3&gt;
  
  
  Fast voice latency
&lt;/h3&gt;

&lt;p&gt;Wearables are designed to speak in short turns, a translated sentence, a navigation prompt, the answer to a question asked out loud. With cloud TTS, each turn waits for the request to leave the glasses, cross Bluetooth to the phone, travel over Wi-Fi or mobile data to a data centre, and come back as audio. Device teams we speak to report 1 to 2 seconds per turn in the field.&lt;/p&gt;

&lt;p&gt;On the device, the wait is compute time alone. That matters because text to speech is the last stage of a voice pipeline that also runs speech recognition and a language model. Every millisecond TTS doesn’t spend on the network goes back to those stages.&lt;/p&gt;

&lt;h3&gt;
  
  
  Text data stays on the device
&lt;/h3&gt;

&lt;p&gt;The text a wearable reads aloud is often the most personal data it handles, a private message, a medication reminder, a translated conversation with a doctor.&lt;/p&gt;

&lt;p&gt;With cloud TTS, that text goes to the vendor’s servers, and a contract governs what happens to it there. In the EU that’s a data processing agreement under GDPR; in US healthcare it’s a HIPAA Business Associate Agreement.&lt;/p&gt;

&lt;p&gt;On-device synthesis is structurally different, because the vendor never receives the text. Without outbound speech data flows, security and privacy reviews are significantly simplified. On-device TTS doesn’t make a product compliant by itself, since other data flows still count, but it removes speech from the list of things to defend.&lt;/p&gt;

&lt;h3&gt;
  
  
  Works offline
&lt;/h3&gt;

&lt;p&gt;Wearables are used everywhere, underground trains, flights, cold stores, mountain trails, hospital wards with poor signal. When a cloud voice loses its connection, the product either goes silent or falls back to the operating system’s built-in voice.&lt;/p&gt;

&lt;p&gt;On-device voice behaves the same with or without a signal. We demo NeuTTS running entirely on the CPU of a Samsung Galaxy S24 in airplane mode, with nothing going in or out of the phone.&lt;/p&gt;

&lt;h3&gt;
  
  
  How cost can scale
&lt;/h3&gt;

&lt;p&gt;Most wearables are sold once. Cloud TTS charges every time the device speaks, so the voice bill grows with every active user while revenue per unit stays flat. Here’s a worked example at published rate:&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Input&lt;/th&gt;
&lt;th&gt;Value&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Fleet size&lt;/td&gt;
&lt;td&gt;100,000 pairs of glasses&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Speech per device per day&lt;/td&gt;
&lt;td&gt;3,000 characters (about 3 minutes of audio)&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Characters per year&lt;/td&gt;
&lt;td&gt;109.5 billion&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Cloud cost at $33 to $43 per million characters&lt;/td&gt;
&lt;td&gt;$3.6M to $4.7M per year, rising with usage&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;On-device cost&lt;/td&gt;
&lt;td&gt;A licence per unit, paid once&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;Double daily usage and the cloud line doubles. The on-device line doesn’t change.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F13qq2npoakxmetd5r6bp.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F13qq2npoakxmetd5r6bp.png" alt="Bar chart: yearly cloud text-to-speech cost for 100,000 smart glasses is $3.6M to $4.7M at 3,000 characters a day, and $7.2M to $9.4M at double usage. On-device has no usage cost, only a licence per unit paid once." width="800" height="1000"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Yearly cloud TTS cost for 100,000 smart glasses at published rates.&lt;/p&gt;

&lt;h2&gt;
  
  
  Large voice TTS models can’t fit on most hardware
&lt;/h2&gt;

&lt;p&gt;Wearables are limited to three things cloud TTS providers take for granted: memory, sustained compute and battery. Rings, earbuds and basic fitness bands run microcontroller-class chips. Glasses with an application processor, smartwatches and the companion phone have far more headroom. Neural voices that sound human take hundreds of megabytes to gigabytes of RAM, which is why most voice that runs on the wearable itself either sounds dated or runs on the phone in the user’s pocket.&lt;/p&gt;

&lt;p&gt;Every on-device TTS decision comes down to two questions, which processor in the product does the speaking, and how much of its memory and CPU time can speech have?&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fru8kazslbqka5wogj8y6.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fru8kazslbqka5wogj8y6.png" alt="Log-scale bar chart: voice models NeuTTS-2M (610 MB), Kokoro (687 MB) and Phonon (311 MB) compared with total RAM in a phone (8 GB), a smartwatch (2 GB) and a ring chip (256 KB)." width="800" height="1000"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Voice model size against total device RAM, on a log scale.&lt;/p&gt;

&lt;h3&gt;
  
  
  GPU is not the real constraint, CPU native synthesis is
&lt;/h3&gt;

&lt;p&gt;Most wearables and edge boards are not fitted with a GPU. Many have a neural processing unit (NPU), but each chip vendor ships its own, with its own toolchain and operator support. A voice model that depends on one vendor’s NPU ties the product to that chip family for its whole hardware generation.&lt;/p&gt;

&lt;p&gt;The CPU is the one processor every device has. NeuTTS runs on the CPU alone, ships in GGML format, and has a C/C++ inference path. We run it on Raspberry Pi boards, NVIDIA Jetson modules, MacBooks and the Samsung Galaxy S24.&lt;/p&gt;

&lt;p&gt;The constraint of running on the CPU is that speech shares it with everything else. Speed per thread therefore matters as much as accuracy.&lt;/p&gt;

&lt;h2&gt;
  
  
  On-device TTS benchmark
&lt;/h2&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Model&lt;/th&gt;
&lt;th&gt;Parameters&lt;/th&gt;
&lt;th&gt;Languages&lt;/th&gt;
&lt;th&gt;Size on disk&lt;/th&gt;
&lt;th&gt;Peak RAM&lt;/th&gt;
&lt;th&gt;RTF, 1 thread (lower is faster)&lt;/th&gt;
&lt;th&gt;WER (Seed TTS)&lt;/th&gt;
&lt;th&gt;Voice cloning on device&lt;/th&gt;
&lt;th&gt;Runs on&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;NeuTTS 2M&lt;/td&gt;
&lt;td&gt;60M&lt;/td&gt;
&lt;td&gt;7&lt;/td&gt;
&lt;td&gt;245MB&lt;/td&gt;
&lt;td&gt;610MB&lt;/td&gt;
&lt;td&gt;0.55&lt;/td&gt;
&lt;td&gt;&amp;lt;0.5%&lt;/td&gt;
&lt;td&gt;Yes&lt;/td&gt;
&lt;td&gt;CPU&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Phonon Multilingual&lt;/td&gt;
&lt;td&gt;40M&lt;/td&gt;
&lt;td&gt;5&lt;/td&gt;
&lt;td&gt;74.6MB&lt;/td&gt;
&lt;td&gt;311MB&lt;/td&gt;
&lt;td&gt;0.36&lt;/td&gt;
&lt;td&gt;&amp;lt;0.5%&lt;/td&gt;
&lt;td&gt;No&lt;/td&gt;
&lt;td&gt;CPU&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Kokoro&lt;/td&gt;
&lt;td&gt;82M&lt;/td&gt;
&lt;td&gt;Single&lt;/td&gt;
&lt;td&gt;354MB&lt;/td&gt;
&lt;td&gt;687MB&lt;/td&gt;
&lt;td&gt;0.6&lt;/td&gt;
&lt;td&gt;&amp;lt;0.5%&lt;/td&gt;
&lt;td&gt;No&lt;/td&gt;
&lt;td&gt;CPU&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;NeuTTS Max&lt;/td&gt;
&lt;td&gt;1.7Bn&lt;/td&gt;
&lt;td&gt;44&lt;/td&gt;
&lt;td&gt;API&lt;/td&gt;
&lt;td&gt;API&lt;/td&gt;
&lt;td&gt;&amp;lt;0.05&lt;/td&gt;
&lt;td&gt;&amp;lt;0.5%&lt;/td&gt;
&lt;td&gt;API&lt;/td&gt;
&lt;td&gt;GPU or Accelerator&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;How we measured: We ran the internal benchmark on the first 100 Seed-TTS English test sentences, and scored a corpus wide word error rate using Whisper Large V3 Turbo. RTF is the mean compute time divided by audio duration on a single thread.&lt;/p&gt;

&lt;h2&gt;
  
  
  Built for wearables and smart glasses
&lt;/h2&gt;

&lt;p&gt;On-device text to speech for wearables runs in one of two places. Either the wearable synthesises speech itself, which needs an application processor and spare memory, or the companion phone synthesises it locally and streams the audio over Bluetooth.&lt;/p&gt;

&lt;p&gt;Both keep the text off the cloud. NeuTTS-2M creates the voice on the phones and connects to the wearable through Bluetooth.&lt;/p&gt;

&lt;h3&gt;
  
  
  Smart glasses
&lt;/h3&gt;

&lt;h3&gt;
  
  
  Hearables and earbuds
&lt;/h3&gt;

&lt;p&gt;Earbuds have no room for a neural TTS model, so the phone does the voice synthesis. The main requirement for on device hearables is consistency. The spoken notifications, workout cues and assistant replies have to come out in the same brand voice.&lt;/p&gt;

&lt;h3&gt;
  
  
  Wrist and fitness wearables
&lt;/h3&gt;

&lt;p&gt;A runner on a mountain trail wants pace and heart-rate cues without checking a screen, and often without coverage. Those cues are full of numbers, times and units, so the TTS has to read “5:42/km” and “162 bpm” correctly with no hand-written rules. Text normalisation (how the model turns numbers, times and units into spoken words) matters as much as voice quality here.&lt;/p&gt;

&lt;h2&gt;
  
  
  On-device vs. on-prem vs. cloud: which deployment fits?
&lt;/h2&gt;

&lt;p&gt;The right deployment depends on where the text is allowed to go, whether the product must work offline, and how cost should scale. On device suits products that must work without a signal and keep speech private. On prem suits regulated organisations that need server scale throughput inside their own walls. Cloud suits products with a reliable connection that want the largest model with no hardware to manage. One NeuTTS model family covers all three, with the same API and voices.&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;&lt;/th&gt;
&lt;th&gt;On-device&lt;/th&gt;
&lt;th&gt;On-prem&lt;/th&gt;
&lt;th&gt;Cloud API&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Where speech is generated&lt;/td&gt;
&lt;td&gt;The product’s own CPU or companion phone&lt;/td&gt;
&lt;td&gt;Your servers or private cloud&lt;/td&gt;
&lt;td&gt;Neuphonic’s servers&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Network needed&lt;/td&gt;
&lt;td&gt;No&lt;/td&gt;
&lt;td&gt;Your internal network only&lt;/td&gt;
&lt;td&gt;Yes&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Where the text goes&lt;/td&gt;
&lt;td&gt;Stays on the device&lt;/td&gt;
&lt;td&gt;Stays inside your infrastructure&lt;/td&gt;
&lt;td&gt;Sent to Neuphonic, with zero data retention&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Cost model&lt;/td&gt;
&lt;td&gt;Licence per unit&lt;/td&gt;
&lt;td&gt;Licence or platform fee&lt;/td&gt;
&lt;td&gt;Usage-based&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Hardware&lt;/td&gt;
&lt;td&gt;CPU only, about 610MB peak RAM for NeuTTS-2M&lt;/td&gt;
&lt;td&gt;CPU or consumer GPU; up to 50 concurrent streams on one RTX 4090&lt;/td&gt;
&lt;td&gt;None on your side&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Neuphonic models&lt;/td&gt;
&lt;td&gt;NeuTTS-2M (enterprise), NeuTTS Nano and NeuTTS Air (open weights)&lt;/td&gt;
&lt;td&gt;NeuTTS family&lt;/td&gt;
&lt;td&gt;NeuTTS-Max&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;Many products use more than one. Glasses might speak on-device by default and hand long form reading to the cloud when a connection is available. Because the models share an API and voices, that’s one integration, not two. Our guide to on-prem vs cloud vs on-device TTS covers the trade-offs for each setup in detail.&lt;/p&gt;

&lt;h2&gt;
  
  
  How to deploy NeuTTS on your device
&lt;/h2&gt;

&lt;p&gt;NeuTTS models ship as GGML/GGUF files that run on a CPU through a Python package or a C/C++ inference path, with no GPU and no network connection. The fastest way to evaluate is to run the open NeuTTS Nano or NeuTTS Air weights on your target hardware, measure peak RAM and real-time factor there, and then talk to us about NeuTTS-2M and porting to your chip.&lt;/p&gt;

&lt;h3&gt;
  
  
  Supported platforms and integration languages
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;Formats: GGML/GGUF, with 4-bit and 8-bit quantised variants of the open models.&lt;/li&gt;
&lt;li&gt;Languages: Python and a C/C++ inference path for embedded builds&lt;/li&gt;
&lt;li&gt;Hardware we run on: Raspberry Pi, NVIDIA Jetson, Apple Silicon MacBooks and Samsung Galaxy S24, all on CPU.&lt;/li&gt;
&lt;li&gt;Porting support: our engineers port, tune and integrate the models on your hardware, and benchmark them against your memory and latency targets.&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Open models you can inspect and adapt
&lt;/h3&gt;

&lt;p&gt;An open model lets engineers stress test the numbers themselves. NeuTTS Air is released under Apache 2.0, and NeuTTS Nano under the NeuTTS Open License 1.0. Both are on &lt;a href="https://huggingface.co/neuphonic" rel="noopener noreferrer"&gt;Hugging Face&lt;/a&gt;, with code on &lt;a href="https://github.com/neuphonic/neutts" rel="noopener noreferrer"&gt;GitHub&lt;/a&gt;, where the repository has 6,300 stars as of November 2026. NeuTTS-2M and NeuTTS-Max are available under an enterprise licence. Every NeuTTS output carries an inaudible Perth watermark, so generated speech can be identified. Our guide to open-source speech models and licensing explains what each licence allows in a shipped product.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://www.neuphonic.com/contact-us" rel="noopener noreferrer"&gt;Contact Us&lt;/a&gt;&lt;/p&gt;

</description>
      <category>tts</category>
      <category>speech</category>
      <category>ai</category>
      <category>machinelearning</category>
    </item>
    <item>
      <title>NeuDecide: A tiny decision model that turns speech into actions.</title>
      <dc:creator>Sohaib Ahmad</dc:creator>
      <pubDate>Mon, 23 Nov 2026 16:40:52 +0000</pubDate>
      <link>https://dev.to/ahmasoh/neudecide-a-tiny-decision-model-that-turns-speech-into-actions-1cog</link>
      <guid>https://dev.to/ahmasoh/neudecide-a-tiny-decision-model-that-turns-speech-into-actions-1cog</guid>
      <description>&lt;p&gt;This article was originally published on &lt;a href="https://www.neuphonic.com/blog/neudecide" rel="noopener noreferrer"&gt;neuphonic.com&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Interact with our demo below.&lt;/strong&gt; &lt;strong&gt;Choose a device. Tell it what to do.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Select a device then record your voice. NeuDecide turns your words into actions.&lt;/p&gt;

&lt;p&gt;NeuDecide demo: Choose a device and tell it what to do. Your voice becomes action - no transcription needed.&lt;/p&gt;

&lt;p&gt;We’re releasing a tiny audio-first decision model: at only 43mb size, running on a single thread of CPU, you can now embed voice interactions into all low powered hardware - including your browser.&lt;/p&gt;

&lt;p&gt;Today’s approach to voice control is to &lt;strong&gt;transcribe&lt;/strong&gt; the audio, pass the text to a tool-calling model, and validate the result before executing it. We wanted to see how much of that pipeline we could replace with a single small model.&lt;/p&gt;

&lt;p&gt;NeuDecide takes audio and tool definitions as inputs and predicts a tool call directly, without the need of a transcription.&lt;/p&gt;

&lt;h2&gt;
  
  
  Decision models: AI that answers software, not people
&lt;/h2&gt;

&lt;p&gt;A decision model turns messy input into a bounded output that code can act on: a choice, a score, a function call. It never writes paragraphs. We decided to build this model after working closely with robotic partners who needed voice control that could run locally on limited hardware.&lt;/p&gt;

&lt;p&gt;Since the TypeSafe release of their decision model Jev, we’ve seen many new releases and different interpretations of what a decision model should be. We’re exploring the same idea with speech as the input.&lt;/p&gt;

&lt;p&gt;Why it has to listen&lt;/p&gt;

&lt;p&gt;Real input is rarely clean text. An operator shouts across a warehouse. Someone mumbles to a smart phone on a windy street. A caller says "cancel it, no wait, just pause it."&lt;/p&gt;

&lt;p&gt;Text-only decision models need speech recognition in front of them. That adds a second model, adds latency, and discards hesitation and emphasis.&lt;/p&gt;

&lt;p&gt;NeuDecide takes the audio directly.&lt;/p&gt;

&lt;h2&gt;
  
  
  Built to listen
&lt;/h2&gt;

&lt;p&gt;NeuDecide is an end-to-end voice-action model: a pre-trained speech encoder joined to a compact tool-calling encoder–decoder, then trained as one system.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Tool definitions.&lt;/strong&gt; Tools are declared as JSON schemas, and the model answers with calls. Schemas are serialised exactly as Python's &lt;code&gt;json.dumps&lt;/code&gt; writes them, and the vocabulary has dedicated &lt;code&gt;&amp;lt;tools&amp;gt;&lt;/code&gt; and &lt;code&gt;&amp;lt;tool_call&amp;gt;&lt;/code&gt; tokens. Training also used an auxiliary contrastive head alongside the decoder.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Design approach.&lt;/strong&gt; Like Jev, NeuDecide treats a decision as something bounded, typed, and cheap enough to make thousands of times an hour. Jev's three primitives map neatly onto tool calls: a choice is which tool, a score is an argument, and null is the empty call.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Audio encoder.&lt;/strong&gt; A streaming English speech encoder turns audio straight into the representations the decision model reads, so there is no transcript step in between.&lt;/p&gt;

&lt;h2&gt;
  
  
  How it works
&lt;/h2&gt;

&lt;p&gt;NeuDecide is three ONNX graphs, 42.7 MB in total and roughly 60 million parameters. A request runs through them in order: encode the audio once, encode the tool list once, then decode the call one token at a time.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fjzguxzxjk2jqmxn0fa6z.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fjzguxzxjk2jqmxn0fa6z.jpg" alt="NeuDecide architecture: audio encoder, tool encoder and tool call decoder" width="800" height="533"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Only the small decoder runs in the loop, and it reuses cached keys and values, so each extra output token is cheap. Because the tool list is an input rather than baked into the weights, one model can operate a robot arm in the morning and a booking system in the afternoon. Changing the available actions therefore does not require any retraining. You change the JSON, not the model.&lt;/p&gt;

&lt;p&gt;Built small from the start&lt;/p&gt;

&lt;p&gt;NeuDecide was designed to be small from the start, rather than shrunk after training. Because the model learned to work at low precision during training, it keeps its accuracy at a fraction of the usual size.&lt;/p&gt;

&lt;p&gt;The &lt;code&gt;q4&lt;/code&gt; export is 43 MB, and in our device benchmarks peak RAM stayed between 146 MB and 174 MB.&lt;/p&gt;

&lt;h2&gt;
  
  
  How it compares
&lt;/h2&gt;

&lt;p&gt;The standard way to build a voice agent today is a cascade: transcribe with a speech recogniser, then hand the text to a tool-calling model. We tested NeuDecide against cascades built from Parakeet, one of the most practical open speech recognition models, paired with the Needle and FunctionGemma tool-calling models.&lt;/p&gt;

&lt;p&gt;With a fraction of the parameters, NeuDecide gets more commands exactly right.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F4l09xajnqx735y5p4983.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F4l09xajnqx735y5p4983.jpg" alt="NeuDecide compared with a standard transcribe-then-respond voice agent" width="800" height="533"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Highlights&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Model size: approximately 55M parameters:&lt;/strong&gt; NeuDecide has around 2.5× fewer parameters than the 137M Parakeet + Needle cascade and 12.5× fewer than the 687M version.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;97.0% tool selection accuracy on Fluent Speech Commands:&lt;/strong&gt; With ten tools available, NeuDecide selects the correct tool 97.0% of the time, compared with 90.1% for Parakeet 660M + Needle.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;85.3% argument accuracy on Fluent Speech Commands:&lt;/strong&gt; With ten tools available, this compares with 69.4% for Parakeet 660M + Needle.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Similar accuracy with five and ten tools:&lt;/strong&gt; On Neuphonic’s tool-only task, exact match changes from 95.0% to 94.8% as the tool count increases. The comparison cascade drops from 86.0% to 79.8%.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;94.8% exact match versus 47% for Parakeet + FunctionGemma:&lt;/strong&gt; Both results are for Neuphonic’s tool-only task with ten tools.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Full results for every dataset, tool count and checkpoint are in the attached technical report.&lt;/p&gt;

&lt;h2&gt;
  
  
  What it costs to run
&lt;/h2&gt;

&lt;p&gt;We tested NeuDecide on a MacBook Pro M3, Samsung S24+ and Raspberry Pi 5, running on a single CPU thread. Time to call ranged from 46 ms to 206 ms, and loading took less than half a second on all three. Peak RAM ranged from 146 MB to 174 MB.&lt;/p&gt;

&lt;h2&gt;
  
  
  Where it fits
&lt;/h2&gt;

&lt;p&gt;NeuDecide is designed for products with a defined set of actions that users can trigger by voice, without sending audio to the cloud. Here are a few applications.&lt;/p&gt;

&lt;p&gt;Call centres&lt;/p&gt;

&lt;p&gt;This is the strongest fit today. A contact centre makes the same few hundred decisions millions of times a day: route to billing or retention, flag a complaint, open a refund, escalate to a person. And it runs on servers, where NeuDecide's memory use is no problem.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Routing on the first sentence.&lt;/strong&gt; Run the caller's opening words against tools like &lt;code&gt;route_to(queue)&lt;/code&gt; and &lt;code&gt;escalate(reason)&lt;/code&gt; before any transcript exists.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Live agent assist.&lt;/strong&gt; Fire &lt;code&gt;suggest_article&lt;/code&gt;, &lt;code&gt;open_refund&lt;/code&gt; or &lt;code&gt;verify_identity&lt;/code&gt; into the agent's screen while the customer is still talking.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Every call, not a sample.&lt;/strong&gt; At roughly a tenth of a second of one CPU thread per decision, it is cheap enough to run on all traffic.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Data stays home.&lt;/strong&gt; Recordings never leave the operator's infrastructure, which simplifies GDPR and PCI reviews.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;On-prem and regulated sites&lt;/p&gt;

&lt;p&gt;Hospitals, banks, factories and government sites often cannot send voice data to an outside API. NeuDecide runs on an ordinary CPU through ONNX Runtime, with no GPU and no internet. A nurse says "log vitals for bed twelve" and the decision is made inside the building.&lt;/p&gt;

&lt;p&gt;Robotics&lt;/p&gt;

&lt;p&gt;A robot's action space is already a tool list: &lt;code&gt;move_to(zone)&lt;/code&gt;, &lt;code&gt;pick(item)&lt;/code&gt;, &lt;code&gt;stop()&lt;/code&gt;, &lt;code&gt;return_to_dock()&lt;/code&gt;. NeuDecide turns "grab the blue bin from aisle four" into &lt;code&gt;pick&lt;/code&gt; with typed arguments, on the robot's own computer. Commands keep working when the Wi-Fi drops, and the planner can validate the call before a motor moves. On a Raspberry Pi 5, we measured 206 ms time to call and 146 MB peak RAM, running on a single CPU thread.&lt;/p&gt;

&lt;p&gt;Wearables, next&lt;/p&gt;

&lt;p&gt;Rings, earbuds and glasses are where audio-to-action matters most: "remind me when I get home" works offline, and raw audio never leaves the body. The files already fit. The runtime memory does not yet, so this use case waits on an int4-native runtime.&lt;/p&gt;

&lt;p&gt;In every case, NeuDecide works best beside a larger model, not instead of one. It handles the fast, frequent, bounded decisions; anything it cannot place goes to a bigger model or a person.&lt;/p&gt;

&lt;h2&gt;
  
  
  Known limits
&lt;/h2&gt;

&lt;p&gt;A small, specialised model has sharp edges. These are the ones we found.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;It can be trigger happy at times:&lt;/strong&gt; Given 30 s of low-level noise, it still produced a &lt;code&gt;set_timer&lt;/code&gt;call. Put a gate in front: voice-activity detection, a confidence threshold, or an explicit "no action" tool. This export has no calibrated confidence score to threshold on, so the gate has to sit outside the model.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Memory depends on the runtime and workload.&lt;/strong&gt; Model files total 43 MB; peak RAM ranged from 146 MB to 174 MB in our device tests.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Long tool lists become inaccurate:&lt;/strong&gt; We recommend a maximum of 10 tools for accuracy.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;English only, 30 seconds max.&lt;/strong&gt; Inputs are capped at 30 s of audio, 1,536 tool tokens and 128 output tokens.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;It only knows the tools you give it.&lt;/strong&gt; Clear tool names and descriptions do most of the work.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Open-ended names are harder.&lt;/strong&gt; On SNIPS, where arguments are often free-form names such as artists and playlists, cascades that work from a transcript still fill arguments more accurately. Test it on your own tools and your users' voices before deploying.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  What comes next
&lt;/h2&gt;

&lt;p&gt;For many tasks, AI inside a product does not need to chat. NeuDecide shows that it does not need a transcript either: it can turn speech directly into a tool call. In our evaluations, one small model that listens and decides beats a chain of large ones.&lt;/p&gt;

&lt;p&gt;Next, we’re working on streaming inference, grammar-constrained decoding, and a confidence head to help applications decide when to escalate. We’re also exploring how to bring NeuDecide to smaller devices with tighter memory and power budgets. We’re also improving argument accuracy on harder datasets such as SNIPS.&lt;/p&gt;

&lt;h2&gt;
  
  
  Sources
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;&lt;a href="https://huggingface.co/Cactus-Compute/needle2" rel="noopener noreferrer"&gt;Needle 2 model card&lt;/a&gt;, Cactus Compute on Hugging Face&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;a href="https://thursdai.news/companies/typesafe-ai" rel="noopener noreferrer"&gt;TypeSafe AI: Jev&lt;/a&gt;, ThursdAI release coverage&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;NeuDecide &lt;code&gt;config.json&lt;/code&gt; and ONNX graphs (audio encoder, tool encoder, decoder step, q4f variant)&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Relevant Links
&lt;/h2&gt;

&lt;p&gt;Download the model from Hugging Face: &lt;a href="https://huggingface.co/neuphonic/neudecide" rel="noopener noreferrer"&gt;https://huggingface.co/neuphonic/neudecide&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Try out the demo on the Hugging Face space: &lt;a href="https://huggingface.co/spaces/neuphonic/neudecide" rel="noopener noreferrer"&gt;https://huggingface.co/spaces/neuphonic/neudecide&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Get the Python package: &lt;a href="https://github.com/neuphonic/neudecide" rel="noopener noreferrer"&gt;https://github.com/neuphonic/neudecide&lt;/a&gt;&lt;/p&gt;

&lt;h1&gt;
  
  
  DecisionModels
&lt;/h1&gt;

&lt;h1&gt;
  
  
  AudioToAction
&lt;/h1&gt;

&lt;h1&gt;
  
  
  ToolCalling
&lt;/h1&gt;

&lt;h3&gt;
  
  
  Bring Neuphonic into your product.
&lt;/h3&gt;

&lt;p&gt;Building something with voice AI? Talk to us about your use case,&lt;/p&gt;

&lt;p&gt;deployment requirements, and how Neuphonic can fit into your stack.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://www.neuphonic.com/contact-us" rel="noopener noreferrer"&gt;Contact Us&lt;/a&gt;&lt;/p&gt;

</description>
      <category>speech</category>
      <category>ai</category>
      <category>machinelearning</category>
      <category>python</category>
    </item>
  </channel>
</rss>
