Skip to content
Dashboard

Grok STT

Transcribe audio to text in 25 languages with batch and streaming modes.

index.ts
import { experimental_transcribe as transcribe } from 'ai';
import { gateway } from '@ai-sdk/gateway';
import { readFile } from 'node:fs/promises';
const result = await transcribe({
model: gateway.transcriptionModel('xai/grok-stt'),
audio: await readFile('audio.mp3'),
});

Playground

Try out Grok STT by xAI. Usage is billed to your team at API rates. Free users (those who haven't made a payment) get $5 of credits every 30 days.

xai logo

Speech to text

Record a short clip from your microphone and the model transcribes it to text.

Idle
xai logo

Record a clip to see the transcript here.

Providers

Route requests across multiple providers. Copy a provider slug to set your preference. Visit the docs for more info. Using a provider means you agree to their terms, listed under Legal.

Provider
Context
Latency
Throughput
Input
Output
Cache
Web Search
Per Query
Capabilities
ZDR
No Training
Release Date
xAI
$0.10/hour——
03/16/2026

More models by xAI

Model
Context
Latency
Throughput
Input
Output
Cache
Web Search
Per Query
Capabilities
Providers
ZDR
No Training
Release Date
256K
0.4s
188tps
$1.00/M
$2.00/M
Read:
$0.2/M
Write:
—
$5/K
+ input costs
—
+3
xai logo
05/20/2026
1M
1.1s
73tps
$1.25/M
$2.50/M
Read:
$0.2/M
Write:
—
$5/K
+ input costs
—
+4
vertex logo
xai logo
04/30/2026
2M
0.4s
182tps
$1.25/M
$2.50/M
Read:
$0.2/M
Write:
—
$5/K
+ input costs
—
+3
vertex logo
xai logo
03/09/2026
2M
1.3s
$1.25/M
$2.50/M
Read:
$0.2/M
Write:
—
$5/K
+ input costs
—
+4
xai logo
03/09/2026
1M
0.3s
103tps
$0.20/M$0.50/M
Read:$0.05/M
Write:—
——
+2
vertex logo
07/09/2025
1M
0.8s
75tps
$0.20/M$0.50/M
Read:$0.05/M
Write:—
——
+3
vertex logo
07/09/2025