xAI models API
Call 2 xAI models through one PopNow API key: Grok STT and Grok TTS. Prices start at $0.00003 per second.
- models
- 2
- endpoints
- 2
- starting price, per second
- $0.00003
xAI models
xAI API prices
See pricing| Model | Best for | List price | PopNow price | You save |
|---|---|---|---|---|
Grok STTxai/grok-stt/speech-to-text | Speech to Text | — | $0.00003per second | |
Grok TTSxai/grok-tts/text-to-speech | Text to Speech | — | $0.018per 1,000 characters |
List prices are each maker's own published price for the same output, checked on Oct 14, 2026. Prices shown are starting prices; open a model for every tier.
Latest xAI additions
ChangelogCall a xAI model
The same request works for every model: change the model name and its input.
curl -X POST https://api.popnow.ai/api/v1/jobs/createTask \
-H "Authorization: Bearer $POPNOW_API_KEY" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{
"model": "xai/grok-stt/speech-to-text",
"input": {
"audio_url": "https://media.popnow.ai/shortfilm/voices/Aoede-46e4c427.mp3"
}
}'import os, uuid, requests
res = requests.post(
"https://api.popnow.ai/api/v1/jobs/createTask",
headers={
"Authorization": f"Bearer {os.environ['POPNOW_API_KEY']}",
"Idempotency-Key": str(uuid.uuid4()),
},
json={
"model": "xai/grok-stt/speech-to-text",
"input": {
"audio_url": "https://media.popnow.ai/shortfilm/voices/Aoede-46e4c427.mp3"
}
},
timeout=30,
)
body = res.json()
if body["code"] != 200:
raise RuntimeError(f'{body["code"]} {body["msg"]}')
print(body["data"]["taskId"]) # poll this id, or wait for your callBackUrlconst res = await fetch("https://api.popnow.ai/api/v1/jobs/createTask", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.POPNOW_API_KEY}`,
"Content-Type": "application/json",
"Idempotency-Key": crypto.randomUUID(),
},
body: JSON.stringify({
"model": "xai/grok-stt/speech-to-text",
"input": {
"audio_url": "https://media.popnow.ai/shortfilm/voices/Aoede-46e4c427.mp3"
}
}),
});
const { code, msg, data } = await res.json();
if (code !== 200) throw new Error(`${code} ${msg}`);
console.log(data.taskId); // poll this id, or wait for your callBackUrlFrequently asked questions
How do I call xAI models with PopNow?
Create an API key, then send a task with the model name (for example xai/grok-stt/speech-to-text) and its input. You get a task ID back and read the result when it is ready, or receive it on your webhook.
How much do xAI models cost on PopNow?
Prices start at $0.00003 per second. Each model page lists every tier, and you get an exact quote before every run.
Which xAI models are available?
Grok STT and Grok TTS. New models are added as they are released; see the changelog.
Other model makers
All model makers- Alibaba40 models−33%Wan 3.0 · Qwen Image 2.1 Pro · Qwen Image 2.1 Turbo · Qwen Image 2.1From $0.01 per image
- Black Forest Labs21 models−33%FLUX.2 Max · FLUX 3 Klein Base LoRA · FLUX 3 Klein Base · FLUX 3From $0.006 per image
- ByteDance17 models−30%Seedance 2.5 · Seedream 5.0 Pro · Seed Audio 1.0 · Seedream 5.0 FlashFrom $0.026 per image
- PopNow14 modelsBackground Remover · Image Upscaler · Object Eraser · Video UpscalerFrom $0.0012 per second
- MiniMax10 models−55%MiniMax H3 · MiniMax Speech 2.8 HD · MiniMax Music 3.0 · MiniMax H3 Singularity LoRAFrom $0.042 per image
- Kuaishou8 models−20%Kling 3.0 · Kling O3 · Kling 4.0 · Kling 3.0 TurboFrom $0.175 for a 5-second clip
Start building in minutes
One key for every model, a USD balance you top up when you need to, and an exact price before every run.