xAI: Grok Voice API — Speech to Text

xai/grok-stt

xAI Grok Voice API — Speech to Text pricing

Grok Voice API — Speech to Text costs $0.040 per hour of audio on Oxyy. That is the pay-as-you-go price after the current 60% discount (Launch Promo; standard price $0.100). It takes audio as input and returns text, from audio files of up to 50 MB. For every xAI model and rate, see Grok API pricing.

xAI's speech-to-text transcription, available as batch REST or streaming.
ModalitiesAudioText
Price$0.040 per hour of audioAll Grok API pricing

Providers

Where this model runs, and what each route costs. Requests are sent to a healthy provider automatically; if one errors, the gateway retries against another serving the same model.

ProviderPriceUnit
xAI$0.040per hour of audio

Capabilities (1)

Streaming

Pricing

What this model costs on Oxyy, pay as you go. "Charged" is the rate a request is billed at; the standard price is shown beside it for reference.

Price
$0.040
per hour of audio · standard price $0.100
Current discount
60%
off every rate
RateStandard priceChargedUnit
Per hour$0.100$0.040per hour of audio

Discount. Charged rates include the current "Launch Promo" discount of 60% on every rate.

Specifications

Model ID
grok-stt
Developer
xAI
Type
Speech to text
Input
Audio
Output
Text
Tokenizer
Grok
Series
Grok Voice
Audio input
Up to 50 MB each
Endpoint
/v1/audio/transcriptions

Best for

Speech to textTranscriptionStreaming

Quickstart

Call grok-stt with a POST to /v1/audio/transcriptions on https://api.oxyy.ai, using your Oxyy API key from the OXYY_API_KEY environment variable. The same key works for every model in the catalog.

import os
from openai import OpenAI

client = OpenAI(
    base_url="https://api.oxyy.ai/v1",
    api_key=os.environ["OXYY_API_KEY"],
)

with open("interview.mp3", "rb") as audio_file:
    response = client.audio.transcriptions.create(
        model="grok-stt",
        file=audio_file,
    )
print(response.text)

Availability

The share of requests to this model that completed successfully over the last 30 days. Requests the caller cancelled, and requests still in flight, are not counted. When an upstream provider errors, the gateway retries against another provider serving the same model, so a single provider incident does not necessarily show up here.

Requests (30 days)
66
A success rate is shown from 100 completed requests
Days with traffic
5
of the last 30 days

Frequently asked questions

What is Grok Voice API — Speech to Text?
xAI's speech-to-text transcription, available as batch REST or streaming.
How much does Grok Voice API — Speech to Text cost?
Grok Voice API — Speech to Text costs $0.040 per hour of audio on Oxyy. That is the pay-as-you-go price after the current 60% discount (Launch Promo; standard price $0.100). You pay per request, with no subscription.
What audio files can Grok Voice API — Speech to Text transcribe?
Grok Voice API — Speech to Text accepts audio uploads up to 50 MB each.
How do I call Grok Voice API — Speech to Text through the API?
Send a POST request to https://api.oxyy.ai/v1/audio/transcriptions with "model": "grok-stt", authenticated with your Oxyy API key. It is also served on /v1/audio/translations. Upload the audio as multipart form data in the "file" field.
What other models does xAI have?
xAI also offers Grok 4.20 (0309) Non-Reasoning, Grok 4.20 (0309) Reasoning, Grok 4.20 (0309) Multi-Agent and Grok 4.3 through Oxyy.

Alternatives to Grok Voice API — Speech to Text

Models of the same kind from other vendors, closest in price first. Prices are pay-as-you-go on Oxyy, through the same API key.

Explore more models

More models from xAI