# ElevenLabs Scribe v3 (Realtime) > ElevenLabs' Scribe v3 Live speech recognition over a WebSocket - stream base64 audio chunks and receive partial and committed transcripts while you speak, with optional voice-activity commits and word timestamps. Billed per second of audio sent (0.142083 credits/s, silence included), sessions up to 20 minutes. - **Provider**: elevenlabs-stt - **Model ID**: elevenlabs/scribe-v3/realtime - **Category**: speech_to_text - **Credits**: from 43 for the default configuration — varies by input, see Pricing - **Pricing Type**: input_based ## API Endpoint WebSocket: wss://api.core.today/v1/realtime/asr Not available via POST /predictions (returns 400 `realtime_only`). ## Authentication Header: `X-API-Key: YOUR_API_KEY` on the upgrade request. Runtimes that cannot set headers (browsers) put `"apiKey": "YOUR_API_KEY"` in the handshake JSON instead. ## Handshake Parameters Send as the first text frame. Unknown fields are rejected with an `error` event. - `model` (string, **required**): Model id. Required in the handshake. (Options: `elevenlabs/scribe-v3/realtime`) - `audio_format` (string, optional): Encoding of the audio in each chunk - raw 16-bit little-endian mono PCM at the given sample rate, or 8 kHz mu-law. pcm_16000 is recommended. (Default: `pcm_16000`; Options: `pcm_8000`, `pcm_16000`, `pcm_22050`, `pcm_24000`, `pcm_44100`, `pcm_48000`, `ulaw_8000`) - `commit_strategy` (string, optional): manual (upstream default) commits a segment only when a chunk carries commit true; vad commits automatically at the end of each utterance. (Options: `manual`, `vad`) - `customerId` (string, optional): End-customer id for reseller teams (same as the X-Customer-Id header on HTTP routes). Must come from the same source as the API key - header key with header id, or handshake apiKey with handshake customerId. - `include_language_detection` (boolean, optional): Add the detected language_code to partial and timestamped committed events. - `include_timestamps` (boolean, optional): Also send committed_transcript_with_timestamps (word and character times) after each committed_transcript. - `language_code` (string, optional): Language hint as an ISO 639-1 or 639-3 code (ko, en, kor ...). Omit for automatic detection. - `min_silence_duration_ms` (integer, optional): Shortest gap treated as silence, in milliseconds (upstream default 100). (Range: min: 50, max: 2,000) - `min_speech_duration_ms` (integer, optional): Shortest sound treated as speech, in milliseconds (upstream default 100). (Range: min: 50, max: 2,000) - `vad_silence_threshold_secs` (number, optional): Silence that ends an utterance when commit_strategy is vad (upstream default 1.5). (Range: min: 0.3, max: 3) - `vad_threshold` (number, optional): Voice-activity sensitivity when commit_strategy is vad (upstream default 0.4). (Range: min: 0.1, max: 0.9) ## Example Handshake ```json { "model": "elevenlabs/scribe-v3/realtime", "audio_format": "pcm_16000" } ``` ## Session Flow 1. Connect and send the handshake JSON → receive `{"type": "session", "sessionId": ...}` 2. Stream raw 16-bit mono PCM as binary frames at real-time pace (sample rate per `audioEncoding`) 3. Receive `transcript` events (`transcript`, `final`); `speechStart` / `speechEnd` mark speech boundaries and `speechComplete.transcript` carries the full text of a turn (the last `final` transcript may be empty) 4. Send `{"type": "endStream"}` → receive `usage` (`audioSeconds`, `credits`, `reason`), then the server closes with 1000 5. On failure an `error` event (`code`, `message`) precedes the close ## Pricing Charged by input. Rules are checked top to bottom and the first match applies: - Otherwise: 0.142083 credits per unit (`audio_seconds`, 1–1,200, default 300) Default configuration: 43 credits. These are list prices. A session is billed on the audio seconds actually processed: the default configuration above is reserved for each block when the session opens, and the unused part is refunded when it ends. `POST /predictions/estimate` with `{"model": "elevenlabs/scribe-v3/realtime", "input": {"audio_seconds": 60}}` returns the charge for a session of that length.