LLM API Guide

ServiceNow Apriel Voice 27B Preview: Speech Reasoning, Benchmarks & Setup

Complete technical guide to ServiceNow's MIT-licensed Apriel Voice 27B Preview speech reasoning model, covering its 635M audio encoder + Gemma 4 26B-A4B MoE architecture.

Summary

  1. Apriel Voice 27B Preview combines a 635M speech encoder and 47M projection layer with a Gemma 4 26B-A4B reasoning MoE backbone under the MIT license.
  2. It eliminates the standalone STT bottleneck, scoring 98.90 on Big Bench Audio, 81.13 on BFCL voice tool calling (#1 among open-weight two-stage models).
  3. It achieves a 1.91s average latency on τ-Voice compared to 3.01s for a Parakeet + Gemma 4 cascade.
  4. Loading the full weights in bfloat16 requires ~55GB of VRAM.

When you build a production voice agent or customer support automation pipeline, the default architecture is almost always a three-stage cascade: a Speech-to-Text (STT) model transcribes user audio into text, an LLM processes that text to reason and trigger function calls, and a Text-to-Speech (TTS) engine reads the response back. While modular, that STT-to-LLM handoff creates two persistent bottlenecks. First, waiting for the STT model to finalize a transcript adds hundreds of milliseconds to over a second of dead air before the LLM even starts its prefill phase. Second, flattening raw speech into plain text strips out acoustic confidence, pacing, and phonetic nuance—so a slightly slurred account ID or homophone gets baked into a wrong transcript, causing the downstream LLM to fail its JSON tool call.

ServiceNow’s release of Apriel Voice 27B Preview (ServiceNow-AI/Apriel-Voice-27B-preview on Hugging Face, detailed in the technical paper arXiv:2610.40738) under a permissive MIT license tackles this exact bottleneck. Instead of forcing you to choose between a slow three-stage cascade and a closed, monolithic audio-in/audio-out model that locks you into a single synthetic voice, Apriel Voice 27B Preview uses a two-stage design. It feeds audio features directly into a reasoning Mixture-of-Experts (MoE) backbone, outputs text and structured tool calls, and lets you plug in whatever low-latency TTS engine your stack already uses.

Below is how the architecture works under the hood, how it stacks up against both cascades and proprietary real-time APIs in benchmarks, why its VRAM footprint catches local builders off guard, and how to run it via Hugging Face transformers or vLLM.


On this page

Core Architecture: Bypassing STT with a 635M Encoder and Gemma 4 26B-A4B MoE

The "27B" in Apriel Voice 27B Preview is not a single dense transformer. ServiceNow assembled the model by bridging a dedicated acoustic frontend directly into a sparse Mixture-of-Experts reasoning backbone, totaling roughly 26.7 billion parameters across three distinct components:

  • 635M Speech Encoder: Processes raw audio waveforms and mel-spectrogram frames into continuous acoustic representations, preserving phonetic ambiguity, prosody, and speaker emphasis that standard transcription discards.
  • 47M Modality Projection Layer: A lightweight adapter network that maps the high-dimensional acoustic embeddings from the 635M speech encoder directly into the token embedding space of the language model.
  • Gemma 4 26B-A4B Reasoning MoE Backbone: A 26-billion-parameter Mixture-of-Experts model that activates only 4 billion parameters (A4B) per token during forward passes, retaining native text and image comprehension alongside newly aligned speech reasoning.

Skipping the discrete text transcription step changes how the model handles ambiguous audio. In a cascade, if a caller says a parameter value that sounds like two different words, the STT model commits to one string—often the wrong one—before the LLM ever sees the tool schema. In Apriel Voice 27B Preview, the continuous audio embeddings hit the Gemma 4 26B-A4B attention layers right alongside your system prompt and JSON tool definitions. The reasoning backbone uses the context of the available function signatures to resolve what the speaker actually meant.

Just as importantly, keeping the output in text and structured JSON tokens makes the model practical for enterprise integration. End-to-end speech-to-speech models that generate audio tokens directly are notoriously difficult to audit for compliance, hard to steer for strict schema adherence, and tied to fixed voice profiles. With Apriel Voice 27B Preview, you get native audio comprehension and chain-of-thought reasoning on the input side, can inspect or guardrail the exact text and tool payload in the middle, and then stream the text output into your own TTS pipeline—or compare its total operating cost against hosted solutions like OpenAI Prompt-to-Voice and GPT-Live sessions.


Benchmarks: Latency, Voice Tool Calling, and Conversational Quality

To see whether dropping the standalone STT step actually pays off, we have to look at four specific metrics: audio reasoning accuracy, voice-driven function calling, end-to-end turn latency, and conversational naturalness.

Benchmark / Metric Apriel Voice 27B Preview Comparison Baseline Baseline Score / Latency What It Measures
Big Bench Audio 98.90 — — Complex logical and multi-step reasoning over spoken inputs
BFCL (Voice Tool Calling) 81.13 Open-Weight Two-Stage Models Ranks #1 in class Generating valid function calls and arguments directly from audio
τ-Voice (Average Latency) 1.91s Parakeet STT + Gemma 4 Cascade 3.01s End-to-end time to response in multi-turn voice agent tasks
EVA (Conversational Score) 74.13 Gemini 3.8 Live Extended Thinking 73.50 Overall conversational quality and instruction following
EVA (Conversational Score) 74.13 GPT-realtime-2.1 61.60 Overall conversational quality and instruction following

The standout figure for agent builders is the 1.91-second average latency on τ-Voice, compared to 3.01 seconds when running an NVIDIA Parakeet STT model in front of the exact same Gemma 4 backbone. Cutting 1.10 seconds off every conversational turn eliminates the awkward pause that causes users to repeat themselves or talk over the agent. Because only 4B parameters are active per token in the Gemma 4 MoE backbone, prefill and decoding remain fast even when reasoning tokens are enabled.

On the Berkeley Function Calling Leaderboard (BFCL) for voice, Apriel Voice 27B Preview scores 81.13, taking the top spot among open-weight two-stage speech models. If you have ever debugged tool calling on smaller open-weight models—such as the chat template and parser mismatches we covered in our guide on fixing LFM2.5-24B-A2B tool calling errors—you know how fragile structured output can be when input noise is high. Achieving 81.13 directly from audio inputs without an intermediate text cleanup step makes this model immediately viable for automated booking, database lookups, and CRM ticket routing.

Meanwhile, on the EVA conversational benchmark, its 74.13 score edges out Google’s proprietary Gemini 3.8 Live Extended Thinking (73.5) and beats OpenAI’s GPT-realtime-2.1 (61.6) by 12.53 points. That gap largely comes down to reasoning depth: realtime speech-to-speech models often trade away deep thinking to hit ultra-low audio frame latencies, whereas Apriel Voice leverages its MoE reasoning backbone before emitting tokens.

Two Practical Caveats Before You Deploy

First, if you test the model on the public Hugging Face ZeroGPU Space demo and wonder whether the -preview suffix on ServiceNow-AI/Apriel-Voice-27B-preview means the downloadable weights are a stripped-down checkpoint, they are not. The open-weight release on Hugging Face is the exact same model checkpoint running behind the official demo and evaluated in the arXiv paper.

Second, the published benchmark suite is heavily centered on English audio. While the underlying Gemma 4 26B-A4B text backbone has multilingual knowledge, the 635M speech encoder and 47M projection alignment are primarily validated on English tasks. Open-weight multimodal speech models frequently lose accuracy on non-English phonetics and accents, so if your production workload involves Spanish, Mandarin, French, or German callers, run a sample of your own audio recordings through the ZeroGPU Space before provisioning dedicated GPU servers.


Local VRAM Math: Why an "A4B" MoE Still Needs ~55GB of VRAM

When developers see that Apriel Voice 27B Preview uses a 26B-A4B backbone, a common assumption is that 4 billion active parameters should easily fit on a single 16GB or 24GB consumer GPU. In reality, trying to load the default checkpoint on a single 24GB card will immediately crash with a CUDA Out-Of-Memory (OOM) error.

In a Mixture-of-Experts architecture, the 4B active parameter count determines your compute speed (FLOPs) and memory bandwidth per token, not your static VRAM capacity. Because the MoE router can dynamically select any expert layer for any incoming audio or text token, the entire 26B language backbone, the 635M speech encoder, and the 47M projector must reside in GPU memory simultaneously.

Here is how the memory footprint breaks down in native bfloat16 (2 bytes per parameter):

Component / Buffer Parameter Count / Context Memory Required (bfloat16) Notes
Gemma 4 26B-A4B Backbone ~26.0B parameters ~52.0 GB All experts must stay loaded in VRAM
Speech Encoder + Projector 635M + 47M (682M total) ~1.36 GB Dense active layers for every audio frame
KV Cache & Activation Overhead 8K–32K working context ~2.0 GB – 6.0 GB Scales up to 262,144 max context length
Total Practical Footprint ~26.7B Total ~55 GB – 60 GB Minimum safe allocation for single-stream inference

Because static weights alone consume roughly 53.4 GB, you need ~55GB to 60GB of VRAM just to stand the model up cleanly with a usable context window.

If you are sizing hardware for local or on-premise deployment, you have three realistic configurations:

  1. Single Data-Center or Workstation GPU: A single 80GB H100, A100 80GB, or an RTX PRO 6000 (96GB) runs the full bfloat16 model in a single process with plenty of room for long-context audio KV caches.
  2. Multi-GPU Consumer Rig (3× to 4× 24GB GPUs): If you run local servers with multiple RTX 3090 or RTX 4090 cards—similar to the multi-card setups we tested in our RTX 3090 1-to-4 GPU scaling benchmarks—splitting the model across 4 GPUs (tensor-parallel-size 4) puts roughly 14GB of weights on each card, leaving 10GB per GPU for the KV cache and audio encoder activations.
  3. What About 4-Bit Quantization (llama.cpp / audio.cpp)? Currently, there is no plug-and-play 4-bit GGUF support for Apriel Voice 27B Preview in llama.cpp or audio.cpp. Because the model relies on custom multimodal fusion code (--trust-remote-code) bridging the 635M audio encoder and 47M projector into Gemma 4 MoE, standard C++ quantizers cannot parse the full graph out of the box. If you need to squeeze the model onto smaller hardware today, your only path is on-the-fly 4-bit NF4 quantization via bitsandbytes inside Python transformers, which drops VRAM usage to roughly 18GB–20GB at the cost of slower token generation and a slight dip in BFCL tool-calling precision.

How to Run Apriel Voice 27B Preview Locally

Depending on whether you are running batch evaluations in Python or standing up a concurrent API server for a voice agent, you can load the weights through Hugging Face transformers or serve them with vLLM.

Option 1: Direct Inference with Hugging Face transformers

First, install a recent nightly or latest release of transformers along with audio processing libraries:

bash
pip install -U torch transformers accelerate soundfile librosa

Because Apriel Voice 27B Preview uses a custom configuration and multimodal processor class hosted in its Hugging Face repository, you must pass trust_remote_code=True when initializing both the processor and the model. Using device_map="auto" allows accelerate to shard the 55GB footprint automatically across all visible GPUs:

python
import torch
import librosa
from transformers import AutoProcessor, AutoModelForCausalLM

model_id = "ServiceNow-AI/Apriel-Voice-27B-preview"

# Load processor and model with remote code enabled
processor = AutoProcessor.from_pretrained(model_id, trust_remote_code=True)
model = AutoModelForCausalLM.from_pretrained(
    model_id,
    torch_dtype=torch.bfloat16,
    device_map="auto",
    trust_remote_code=True
)

# Load a 16kHz mono audio file
audio_path = "customer_query.wav"
audio_array, sampling_rate = librosa.load(audio_path, sr=16000)

# Define tools and multimodal conversation messages
tools = [
    {
        "type": "function",
        "function": {
            "name": "lookup_order_status",
            "description": "Fetch the shipping status of a customer order by ID.",
            "parameters": {
                "type": "object",
                "properties": {
                    "order_id": {"type": "string", "description": "Alphanumeric order identifier"}
                },
                "required": ["order_id"]
            }
        }
    }
]

messages = [
    {
        "role": "system",
        "content": "You are a helpful voice support agent. Listen to the user audio and call tools when needed."
    },
    {
        "role": "user",
        "content": [
            {"type": "audio", "audio": audio_array, "sampling_rate": sampling_rate}
        ]
    }
]

# Prepare inputs and generate response
inputs = processor.apply_chat_template(
    messages,
    tools=tools,
    add_generation_prompt=True,
    tokenize=True,
    return_dict=True,
    return_tensors="pt"
).to(model.device)

with torch.no_grad():
    output_ids = model.generate(**inputs, max_new_tokens=512)

response = processor.batch_decode(output_ids[:, inputs["input_ids"].shape[1]:], skip_special_tokens=True)[0]
print(response)

Notice that you do not pass a transcribed text string in the user turn. The AutoProcessor converts the 16kHz audio_array into acoustic features that feed straight into the 635M speech encoder, while the system prompt and tools schema are tokenized directly for the Gemma 4 backbone.

Option 2: Serving an OpenAI-Compatible Endpoint with vLLM (And Why Stock vLLM Fails)

For low-latency voice agents that need continuous batching and streaming responses, vLLM is the standard choice. However, if you install the default PyPI package (pip install vllm) and run vllm serve ServiceNow-AI/Apriel-Voice-27B-preview, it will fail with an unsupported architecture error.

Here is why: ServiceNow submitted an official pull request (vllm-project/vllm#64683) implementing full Apriel Voice support—verified on an H100 across audio, text, image, reasoning, tool calling, and streaming. However, the vLLM maintainers declined to merge the model directly into the upstream vLLM repository tree because the newly released checkpoint had not yet hit their download volume threshold, advising that it be distributed as an out-of-tree vLLM plugin instead.

Until ServiceNow publishes a standalone pip-installable vLLM plugin package, the fastest way to run Apriel Voice in vLLM is to pull the model implementation from PR #64683 into your local vLLM installation:

bash
git clone https://github.com/vllm-project/vllm.git
cd vllm
git fetch origin pull/64683/head:apriel-voice
git checkout apriel-voice
pip install -e .

Once built, you can launch the OpenAI-compatible server across four GPUs using ServiceNow’s reference configuration:

bash
vllm serve ServiceNow-AI/Apriel-Voice-27B-preview \
  --tensor-parallel-size 4 \
  --dtype bfloat16 \
  --max-model-len 262144 \
  --trust-remote-code

If you are running on 4× 24GB GPUs rather than 80GB H100s, lower --max-model-len 262144 to --max-model-len 32768. Allocating a 262K context window across four 24GB cards will exhaust your remaining VRAM during the KV cache profiling step before the server even starts listening on port 8000.


Routing Voice Agent Endpoints and Managing API Configurations

Once your vLLM server is running on port 8000, you can point your voice agent framework at it by overriding the base_url in the OpenAI SDK—if you run into path suffix /v1 404 errors or credential validation bugs during that switch, check our guide on configuring base_url in the OpenAI Python SDK.

In practice, very few teams run a 55GB local model as their only endpoint without a cloud fallback. If you want to route requests across multiple hosted LLM and multimodal APIs with a single key and automatic failover when your local GPU box is saturated, you can use SeedRouter as your unified API gateway. And if you frequently switch custom base_url endpoints, test API keys, or debug gateway errors in developer tools like OpenAI Codex and Claude Code, I built the free, open-source LLM API Config GUI (available for Windows and macOS under Apache-2.0) so you can update endpoints through a desktop interface, export profiles to CC Switch, and immediately diagnose 401, 403, 404, 429, and timeout errors without digging through JSON dotfiles.

Sources and checks

  1. ServiceNow-AI/Apriel-Voice-27B-preview on Hugging Face
  2. arXiv:2610.40738
  3. Hugging Face ZeroGPU Space demo