Free Grok STT on Cloudflare

Paid (Cloudflare Unified Billing): Grok speech-to-text keyless via Cloudflare — prepaid credits, xAI pass-through pricing.

Updated 6/8/2026Provider trust 99/1002 code examples

About the Model

Grok STT(语音转文字)

xAI 的语音识别模型。经 Cloudflare AI Gateway 调用,免单独 Key,但付费——统一计费、先充值(5% 手续费)、按 xAI 原价透传。模型 id:xai/grok-stt

How to Access for Free (via Cloudflare Workers AI)

计费:Cloudflare 统一计费(付费)

Grok 语音转文字经 Cloudflare AI Gateway 的统一计费扣费:先充值(5% 手续费),再按 xAI 原价透传、无加价计费,免单独 xAI Key。第三方模型无免费额度(免费 Neurons 仅对 @cf/ 模型有效)。

Try it in your browser

Pick a model, paste your own free key, and run. Your key is sent once to call the provider and never stored on our servers.

Pick a model, paste your own free key, and run. Your key is sent once to call the provider and never stored on our servers.

Code Examples

curl
curl https://api.cloudflare.com/client/v4/accounts/$CF_ACCOUNT_ID/ai/run/xai/grok-stt \
  -H "Authorization: Bearer $CF_API_TOKEN" \
  -H "Content-Type: application/octet-stream" \
  --data-binary @audio.mp3
javascript
const audio = await (await fetch('https://example.com/audio.mp3')).arrayBuffer();
const res = await env.AI.run('xai/grok-stt', { audio: [...new Uint8Array(audio)] });
Free Grok STT on Cloudflare - Free API, Quota & Code | Free AI API