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.
Speech to text
Record a short clip from your microphone and the model transcribes it to text.
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 |
|---|
More models by xAI
| Model |
|---|