Built for voice agents that can't wait 600ms

xAI: Grok Speech to Text

xai/grok-stt
active stt 1 provider
Playground

xAI's Grok speech-to-text: transcribes audio files in a single call or streams audio in real time over WebSocket with word-level timestamps, selected by endpoint (/v1/stt) rather than by a model parameter.

AuthorxAI
Languagesmultilingual
Statusactive

Providers

Different providers can host the same model. Choose one provider when you need a fixed backend, or let routing select among them.

ProviderSlugPer hourLatencyiFor TTS, latency is measured as time to first byte of audio. For STT, latency is measured as time to first token.ModesUptime
xAI 11 params
grok
From $0.1
—
Synchronous · Streaming

Supported languages

No reviewed language list for this model yet.

Features

Speech to text

Transcribes spoken audio to text.

speech_to_text
Streaming

Real-time streaming transcription over WebSocket (wss://api.x.ai/v1/stt).

streaming
Synchronous

Transcribes a fully-submitted audio file in a single synchronous request.

synchronous
Multilingual transcription

Supports 25 languages.

multilingual_transcription
Word-level timestamps

Returns a words array with text, start, and end.

word_timestamps

Code

Client
Mode
Language

ElevenLabs SDK streaming STT

Streams microphone or file audio through the ElevenLabs-compatible allmodels route.

import { ElevenLabsClient } from "elevenlabs";

const client = new ElevenLabsClient({
  apiKey: process.env.ALLMODELS_API_KEY,
  baseUrl: "https://api.allmodels.io/el"
});

const connection = await client.speechToText.realtime.connect({
  modelId: "xai/grok-stt",
  languageCode: "en"
}, {
  queryParams: {
    provider: {
      "only": [
        "grok"
      ]
    }
  }
});

// Send audio frames to connection, then handle transcript events.