VISAI OpenSpeech Streaming (preview)
The streaming version of VISAI OpenSpeech: a 337M-parameter Thai, English and Chinese model that transcribes live audio as it arrives. A chunked FastConformer encoder with cached left context feeds a CTC head and a streaming attention decoder. It runs on CPU or GPU with the speech inference server.
| Setup | Decoding | Look-ahead | Use it for |
|---|---|---|---|
| Flash streaming | CTC greedy | 0, 320 or 1,040 ms (per session) | lowest cost; never loops; word boost |
| Normal streaming | streaming decoder, greedy | 320 ms | best accuracy |
| Parameters | 337M (encoder 247M, CTC head 16M, decoder 74M) |
| Languages | Thai, English, Chinese |
| Input | 16 kHz mono 16-bit PCM over a WebSocket, or an uploaded file |
| Output | partial transcripts as text appears, then a final transcript |
| Left context | 70 frames (5.6 s) |
| Format | ONNX (fp32), ONNX Runtime 1.20 or newer |
Quick start
git clone https://github.com/visai-ai/visai-openspeech-inference-server && cd visai-openspeech-inference-server
docker build -f Dockerfile.gpu -t speech-server:gpu . # or Dockerfile.cpu
export SPEECH_API_KEY="$(openssl rand -hex 24)" HF_TOKEN=hf_... # a token with access to this repository
docker run --rm --gpus all -p 127.0.0.1:8000:8000 -e SPEECH_API_KEY -e HF_TOKEN \
-e MODEL_REPO=VISAI-AI/visai-openspeech-streaming-flash-preview \
-e MODES=ctc-stream,dec-stream -v speech-models:/models speech-server:gpu
To serve this model next to the offline one, pass the offline repository in MODEL_REPO and this one in
STREAM_MODEL_REPO.
Open GET /stream as a WebSocket and send {"type": "start", "key": "<key>", "mode": "ctc-stream", "lookahead": 4}
("mode": "dec-stream" for Normal streaming), then binary 16 kHz mono 16-bit PCM frames. The server sends partial
messages as text appears and a final message after {"type": "stop"}. lookahead is in 80 ms frames: 0, 4 (320 ms)
or 13 (1,040 ms) for ctc-stream; the streaming decoder runs at 4. Optional start fields: word_boost (a JSON list
of up to 100 phrases), boost and ctc_beam for ctc-stream; lang, itn and pnc (JSON booleans) for
dec-stream. The demo page (GET /demo) streams from a microphone. See the server README for all options.
Results
Greedy decoding, no language model, public test sets only. CER (%) for Thai. Normal streaming runs in live session mode, as served (a new segment after a 640 ms pause or 30 s). Look-ahead is the encoder's algorithmic latency: text appears after its whole chunk (80, 400 or 1,120 ms) has arrived and been processed.
Thai: our setups and the commercial APIs ran as live streams in real time. PoopeyASR-50M ran as a stream through its own code, fed in 100 ms pieces as fast as it took them. Typhoon ASR Edge Streaming ran in one pass per clip with its 960 ms look-ahead streaming attention mask, which matches live context limits without chunked caching. Systems marked "whole clip" were decoded on complete clips, which favors them. English and Chinese: our results on the full test sets against the published results of other streaming models (chunk or delay in the label, see the tables below) and the Qwen-Audio 3.1 ASR Flash streaming service, which we ran as live streams in real time. Our labels give the look-ahead. The Chinese average leaves out FLEURS zh.
Thai (CER %; Thai ASR leaderboard sets and weighted index; every model run through the same pipeline)
| Model | Look-ahead | Index | FLEURS | Isan | TV | GigaSpeech2 | Meeting close | Meeting far |
|---|---|---|---|---|---|---|---|---|
| Streaming, Normal (decoder) | 320 ms | 14.74 | 7.63 | 6.53 | 6.11 | 11.10 | 20.07 | 45.90 |
| Streaming, Flash (CTC) | 1,040 ms | 15.21 | 7.91 | 7.43 | 6.51 | 11.88 | 20.00 | 46.87 |
| Streaming, Flash (CTC) | 320 ms | 16.26 | 8.77 | 8.56 | 7.09 | 13.04 | 21.08 | 48.68 |
| Streaming, Flash (CTC) | 0 ms | 20.50 | n/r | n/r | n/r | n/r | n/r | n/r |
| PoopeyASR-50M (streaming) | 640 ms chunk† | 13.84 | 7.81 | 6.80 | 5.73 | 10.58 | 16.83 | 45.84 |
| Typhoon ASR Edge Streaming | 960 ms‡ | 24.21 | 9.30 | 21.34 | 9.91 | 14.52 | 30.25 | 77.72 |
| VISAI OpenSpeech offline, Normal | full | 13.79 | 6.66 | 4.84 | 4.77 | 9.64 | 20.52 | 44.16 |
| VISAI OpenSpeech offline, Flash (CTC) | full | 15.23 | 7.36 | 5.69 | 6.21 | 10.83 | 21.74 | 48.49 |
| Pathumma STT FastConformer (offline) | full | 16.61 | 6.13 | 7.97 | 7.73 | 13.04 | 21.97 | 53.63 |
Index weights: FLEURS .15, Isan .15, TV .175, GigaSpeech2 .175, meeting close .25, meeting far .10. Our training data includes the FLEURS, Isan, GigaSpeech2 and LOTUSDIS (meeting) train splits (Isan test speakers may overlap). n/r: not reported. †PoopeyASR-50M (Paxa Labs, a co-maintainer of the leaderboard) ran in its own streaming mode, fed in 100 ms pieces. Its model card says a syllable's text is final 640 to 1,280 ms after its audio ends, which is not the same measure as our encoder look-ahead. Per its model card it also trains on these four corpora. ‡Typhoon ASR Edge Streaming (33M) ran in one pass per clip with its default streaming attention mask (960 ms look-ahead, about 10 s of past context). Per its model card it trains on the FLEURS, Isan and LOTUSDIS train splits.
English (WER %; 7 sets, as in the offline card)
| Model | Params | Chunk or delay | Avg (7) | LS clean | LS other | AMI | Earnings22 | GigaSpeech | SPGI | VoxPopuli |
|---|---|---|---|---|---|---|---|---|---|---|
| Streaming, Normal (decoder) | 337M | 0.40 s chunk | 9.12 | 4.12 | 9.57 | 12.30 | 14.42 | 11.51 | 3.32 | 8.60 |
| Streaming, Flash (CTC) | 337M | 1.12 s chunk | 10.14 | 5.22 | 10.83 | 12.69 | 15.68 | 12.11 | 4.76 | 9.69 |
| Streaming, Flash (CTC) | 337M | 0.40 s chunk | 10.96 | 5.68 | 11.85 | 14.16 | 16.72 | 12.94 | 4.99 | 10.36 |
| Streaming, Flash (CTC) | 337M | 0.08 s chunk | 13.22 | 7.03 | 14.53 | 17.72 | 19.49 | 15.01 | 6.32 | 12.43 |
| VISAI OpenSpeech offline, Normal | 337M | full (offline) | 7.53 | 3.42 | 7.11 | 10.24 | 12.02 | 10.44 | 2.44 | 7.06 |
| VISAI OpenSpeech offline, Flash (CTC) | 337M | full (offline) | 9.36 | 4.70 | 9.04 | 11.15 | 14.96 | 11.40 | 4.97 | 9.27 |
| Nemotron Speech Streaming EN 0.6B | 0.6B | 1.12 s chunk | 7.42 | 2.32 | 4.84 | 11.73 | 12.52 | 9.66 | 2.97 | 7.91 |
| Nemotron Speech Streaming EN 0.6B | 0.6B | 0.16 s chunk | 8.23 | 2.56 | 5.57 | 14.71 | 13.01 | 10.34 | 3.25 | 8.18 |
| Kyutai STT 2.6B EN | 2.6B | 2.5 s delay | 6.83 | 1.70 | 4.32 | 12.17 | 10.99 | 9.81 | 2.03 | 6.79 |
| Voxtral Mini 4B Realtime | 4.4B | 0.48 s delay | n/r | 2.08 | 5.54 | n/r | 11.71 | 11.05 | 1.96 | 7.87 |
Chinese (CER %; the average leaves out FLEURS zh, which the baselines do not report)
| Model | Params | Chunk or delay | Avg (3) | AISHELL-1 | WenetSpeech net | WenetSpeech meeting | FLEURS zh |
|---|---|---|---|---|---|---|---|
| Streaming, Normal (decoder) | 337M | 0.40 s chunk | 9.19 | 5.46 | 13.10 | 9.00 | 12.05 |
| Streaming, Flash (CTC) | 337M | 1.12 s chunk | 8.90 | 5.45 | 12.60 | 8.64 | 11.87 |
| Streaming, Flash (CTC) | 337M | 0.40 s chunk | 9.73 | 5.74 | 14.00 | 9.45 | 12.34 |
| Streaming, Flash (CTC) | 337M | 0.08 s chunk | 12.75 | 8.12 | 18.33 | 11.81 | 15.49 |
| VISAI OpenSpeech offline, Normal | 337M | full (offline) | 7.78 | 4.90 | 11.33 | 7.10 | 10.31 |
| VISAI OpenSpeech offline, Flash (CTC) | 337M | full (offline) | 7.93 | 4.91 | 11.39 | 7.48 | 10.64 |
| Paraformer-large-online | 220M | n/s | 7.25 | 3.34 | 7.78 | 10.64 | n/r |
| WeNet U2++ Conformer, CTC prefix beam | n/s | 0.64 s chunk | n/r | 5.81 | 11.14 | 16.37 | n/r |
Our rows use the full test sets, live session mode for Normal streaming, the Whisper English normalizer, and traditional-to-simplified conversion plus number normalization for Chinese. Our chunk lengths (0.08, 0.40 and 1.12 s) are the 0, 320 and 1,040 ms look-ahead plus one 80 ms encoder frame. Baselines are published results, not run in our pipeline: Nemotron (NVIDIA model card, March 2026 checkpoint), Kyutai (Open ASR Leaderboard), Voxtral (Mistral paper, no AMI), Paraformer (FunASR benchmark page, chunk setting not stated) and WeNet (one-pass recipe results, 16-frame chunks of 40 ms; AISHELL-1 and WenetSpeech come from separately trained models, so no average). Nemotron and Kyutai use Whisper-style English normalization, and the other sources do not state theirs, so small gaps are not meaningful. Several systems, ours included, train on the train splits of many of these corpora. Voxtral Realtime also reports 10.45% CER on FLEURS zh at 0.48 s. n/r: not reported. n/s: not stated.
Speed (one V100, fp32, one stream per process): Flash streaming at 1,040 ms RTF 0.018, at 320 ms 0.044, at 0 ms 0.19; Normal streaming at 320 ms 0.062.
Model
- Encoder: FastConformer, 18 layers, d=768, 12 heads, 8x subsampling (80 ms frames), SwiGLU, RoPE attention; chunked attention with 70 cached frames of left context and a key-value and convolution cache per stream.
- Heads: CTC (21,254 labels) and a 6-layer Transformer decoder (d=768) that emits text for the audio received so far and then a wait token until the next chunk.
- Tokenizer: SentencePiece unigram with byte fallback, 21,885 tokens.
- Trained from VISAI OpenSpeech: chunked fine-tune of the whole model over a mix of look-aheads, then a decoder-only stage at 320 ms.
Training data
The same data as VISAI OpenSpeech: 71.5k hours after deduplication and test-set decontamination (Thai 28.5k, English 31.4k, Chinese 11.6k), 54.3k from public corpora and 17.2k of in-house data. See the technical report for sources.
Limitations
- Thai, English and Chinese only.
- Shorter look-ahead costs accuracy: 0 ms is about 5 CER points worse than 1,040 ms on Thai.
- The streaming decoder restarts at pauses and does not keep context across segments. It can repeat itself on hard audio and does not take word boost yet. Flash streaming (CTC) never loops.
- Flash streaming handles about 12 minutes of audio per stream, and a live session ends after 15 minutes; both end
with a
finalmessage. - Far-field and overlapped speech remain hard (see the meeting columns).
- Prompt options: our test scores use normalized text, so they do not measure written or spoken numbers, dates
and units (
itn) or punctuation and case (pnc) for the streaming decoder. We also have not measured its test accuracy without a language tag (langset toautoor omitted). Check them on your own audio first. - Short clips and numbers: on clips under about 2 s, Flash streaming (CTC) can return empty text or characters of another
language. Thai numbers read one digit at a time (for example a year read "five four") can come out as a spoken
cardinal ("fifty-four"), because our training labels rendered every Thai integer as a cardinal. As a result, the
decoder's written-numbers option (
itn) does not always behave as expected for numbers. We intend to fix both in the next release. - Preview release: review transcripts before high-stakes use.
License
CC BY-SA 4.0.
Citation
@misc{chaksangchaichot2026visaiopenspeech,
title = {VISAI OpenSpeech: An Encoder-Decoder ASR Model with Adjustable Inference Cost},
author = {Chaksangchaichot, Chompakorn},
year = {2026},
publisher = {VISAI AI},
url = {https://huggingface.co/VISAI-AI/visai-openspeech-offline-flash-preview}
}
