This model has been retired from the live catalogue; the information below is archived.

Paraformer Realtime v2

transcription

Paraformer-Realtime-v2 is Alibaba Cloud's earlier-generation real-time speech recognition model, streaming audio in and transcripts out over a bidirectional connection.

Streaming transcription is billed by connection time, including silence; close the connection when finished. The catalog does not publish the runtime connection rate.

Specs & limits

Audio

Languages 7 languages: Chinese (Mandarin plus Cantonese, Wu, Hokkien and 15 regional accents), English, Japanese, Korean, German, French, Russian
Audio limits
  • Real-time WebSocket streaming, unlimited duration
  • hotwords + language_hints
  • word/sentence timestamps
  • zh dialects/EN/JA/KO/DE/FR/RU
Streaming transcription Yes
Timestamps Yes

Model

Modalities audio → text

Streaming-first Paraformer generation with hotword customization and multilingual coverage.

per Model specification source ↗

Use Paraformer Realtime v2 in 30 seconds

Binary PCM over WebSocket: send audio frames and read partial/final transcript events. WS /v1/audio/transcriptions/stream

# pip install websockets
# Prepare mono 16-bit little-endian PCM at 16 kHz:
# ffmpeg -i meeting.wav -f s16le -ac 1 -ar 16000 audio.pcm
import asyncio, contextlib, json, os
import websockets

MODEL = "paraformer-realtime-v2"
URL = "wss://synthorai.io/v1/audio/transcriptions/stream?model=" + MODEL + "&format=pcm&sample_rate=16000&bits=16&channels=1"

async def receive(ws):
    async for raw in ws:
        event = json.loads(raw)
        if event["type"] in ("partial", "final"):
            print(event["type"], event.get("text", ""))
        elif event["type"] == "error":
            raise RuntimeError(event.get("error", "ASR failed"))
        elif event["type"] == "done":
            return

async def main():
    async with websockets.connect(URL, additional_headers={
        "Authorization": "Bearer " + os.environ["SYNTHORAI_API_KEY"],
    }, open_timeout=15, close_timeout=5) as ws:
        reader = asyncio.create_task(receive(ws))
        try:
            with open("audio.pcm", "rb") as audio:
                while frame := audio.read(3200):  # 100 ms, sent at real-time speed
                    if reader.done():
                        await reader
                        return
                    await ws.send(frame)  # binary PCM, not JSON/base64
                    await asyncio.sleep(len(frame) / 32000)
            # No text finish message is supported. Allow a bounded receive window,
            # then close normally; a trailing final transcript is not guaranteed.
            await asyncio.sleep(1)
            await ws.close(code=1000)
            await reader
        finally:
            reader.cancel()
            with contextlib.suppress(asyncio.CancelledError):
                await reader

asyncio.run(main())

About Paraformer Realtime v2

  • It recognizes Chinese Mandarin along with an unusually wide set of regional dialects (Cantonese, Wu, Hokkien, Sichuan, and more) plus English, Japanese, Korean, German, French, and Russian, and supports a language_hints parameter for guiding detection.
  • That is a v2-only addition, as is acceptance of arbitrary sample rates where the previous version required 16 kHz.
  • Alibaba's docs now recommend Fun-ASR or Qwen-ASR for new projects, positioning this model for existing integrations.
  • What keeps it usable is a mature parameter surface: hotword tables for domain vocabulary, inverse text normalization on by default, punctuation prediction on by default with optional semantic punctuation, a configurable maximum sentence silence that closes an utterance, and an optional disfluency filter that strips filler words (a control the Fun-ASR realtime model does not document).
  • Sentence- and word-level timestamps are returned in milliseconds, and the connection accepts PCM, WAV, MP3, Opus, Speex, AAC and AMR.
  • Speaker diarization is not offered on the realtime path, and there is no emotion recognition.
  • Treat it as a stable endpoint for pipelines already tuned against it rather than the starting point for new work.
  • Synthorai continues to serve it via the OpenAI-compatible endpoint.

FAQ

Is the Paraformer Realtime v2 API free to try?

Yes: new accounts get 10 trial calls and up to $1 in free credit, no card required. That's enough to try Paraformer Realtime v2 against your real workload before adding a payment method.

What is Paraformer Realtime v2 best at?

Streams audio in, transcripts out; unusually wide Chinese regional dialect coverage; language_hints parameter guides detection. See the About section for the full picture from the vendor's own release notes.

How much does Paraformer Realtime v2 cost?

Streaming transcription is billed by connection time, including silence; close the connection when finished. The catalog does not publish the runtime connection rate.

Which languages does Paraformer Realtime v2 support?

Paraformer Realtime v2 supports 7 languages: Chinese (Mandarin plus Cantonese, Wu, Hokkien and 15 regional accents), English, Japanese, Korean, German, French, Russian. On Synthorai you call it through POST /v1/audio/transcriptions, the OpenAI transcription API shape.

How do I get access to Paraformer Realtime v2?

Call /v1/audio/transcriptions/stream with Paraformer Realtime v2 and a Synthorai API key. Follow the integration example on this page.

Related models

Compare

Specifications and vendor benchmarks link to their sources. Gateway support describes the Synthorai implementation. Archived examples are individual gateway requests, not a guarantee of general model performance. Prices use the public feed or its build snapshot.

Get your API key Compare your cost →