Skip to content

Xai: grok-stt-1.0

Active on this gateway Audio

Grok STT is SpaceXAI's speech-to-text model, available via the REST /v1/stt endpoint. It supports transcription with word-level timestamps, optional speaker diarization, and multichannel audio.

AcceptsAudio
ProducesAudio

Pricing

Current price per 1,000,000 tokens. Every request is billed automatically from its exact usage.

Input 9,966,667 Toman$33,33 / 1M tokens ≈ 9,966,67 Toman / 1K tokens≈ $0,03333 / 1K tokens
Output 0 Toman$0,00 / 1M tokens ≈ 0,00 Toman / 1K tokens≈ $0,00000 / 1K tokens

Statistics

Live performance and usage of this model, aggregated across all users.

API

Send an audio file and get its transcription back, using your API token.

POST https://apiex.cloud/api/v1/audio/transcriptions
<?php
$ch = curl_init( "https://apiex.cloud/api/v1/audio/transcriptions" );

curl_setopt_array( $ch, array(
    CURLOPT_RETURNTRANSFER => true,
    CURLOPT_POST           => true,
    CURLOPT_HTTPHEADER     => array( "Authorization: Bearer YOUR_API_KEY" ),
    CURLOPT_POSTFIELDS     => array(
        "model" => "x-ai/grok-stt-1.0",
        "file"  => new CURLFile( "recording.mp3" ), // mp3, wav, m4a, ...
    ),
) );

$response = json_decode( curl_exec( $ch ), true );
echo $response["text"];
Example response
{
  "text": "The transcribed text appears here.",
  "usage": {
    "type": "duration",
    "seconds": 12.4
  }
}

Authentication Every request must include an Authorization: Bearer <TOKEN> header. Generate a token from your account's API Keys page — you can set its rate limit and IP restrictions.

Supported parameters

Parameter Type Description
model string, required This model's ID, exactly as shown above.
file file, required The audio to transcribe, sent as a multipart upload. Up to 25 MB; mp3, mp4, mpeg, mpga, m4a, wav, webm, ogg, flac, aac or opus.
language string, optional The spoken language as a short code such as en or fa. It is detected automatically when left out.

Frequently asked questions

What is grok-stt-1.0?

Grok STT is SpaceXAI's speech-to-text model, available via the REST /v1/stt endpoint. It supports transcription with word-level timestamps, optional speaker diarization, and multichannel audio.

How much does grok-stt-1.0 cost?

Input tokens are priced at $33,33 per 1,000,000 tokens and output tokens at $0,00 per 1,000,000 tokens. Pricing is billed automatically per request; no separate plan is required.

Does grok-stt-1.0 support image input?

grok-stt-1.0 currently accepts text input only.

Which provider is grok-stt-1.0 from?

grok-stt-1.0 is developed by Xai and made available on this gateway through our routing infrastructure.

When was grok-stt-1.0 added to this gateway?

grok-stt-1.0 has been available on this gateway since October 28, 2026.

Is grok-stt-1.0 currently available?

Yes, grok-stt-1.0 is active and can be used right now through this gateway.

Ready to build with one API?

Create an account, make a key and send your first request in a few minutes.

Create your account