xAI: Grok Voice API — Speech to Text

xai/grok-stt

xAI Grok Voice API — Speech to Text pricing

在Oxyy上,Grok Voice API — Speech to Text花费$0.040每小时 音频。 这是应用当前 60% 折扣后的按量付费价格(Launch Promo; standard price $0.100). 它接受 audio 作为输入并返回 text, 来自最大 50 MB 的音频文件。 For every xAI model and rate, see Grok API 定价.

xAI's speech-to-text transcription, available as batch REST or streaming.
模态音频文本
价格$0.040 每小时 音频All Grok API 定价

供应商

此模型的运行位置以及每个路由的费用。请求会自动发送到健康的提供商;如果某个提供商出错,网关会自动重试提供相同模型的另一个提供商。

提供方价格单位
xAI$0.040每小时 音频

功能特性 (1)

流式传输

定价

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.

价格
$0.040
每小时 音频 · standard price $0.100
当前折扣
60%
所有费率优惠
费率标准价格已扣费单位
每小时$0.100$0.040每小时 音频

折扣。 收费费率已包含所有费率的当前 "Launch Promo" 60% 折扣。

规格

Model ID
grok-stt
开发者
xAI
类型
语音转文字
输入
音频
输出
文本
分词器
Grok
系列
Grok Voice
音频输入
每个最大 50 MB
端点
/v1/audio/transcriptions

最适合

语音转文字转写流式传输

快速入门

调用 grok-stt 通过 POST 请求发送至 /v1/audio/transcriptions 开启 https://api.oxyy.ai,使用来自的 Oxyy API key OXYY_API_KEY 环境变量。 同一密钥适用于目录中的所有模型。

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)

可用性

过去一段时间内成功完成的该模型请求占比 30 天。 调用方取消的请求以及仍在处理中的请求不计入统计。 当上游供应商出错时,网关会自动重试提供同一模型的其他供应商,因此单个供应商的故障不一定会在此处显示。

请求数 (30 天)
6
成功率基于 100 个已完成的请求
有流量的天数
4
在过去的 30 天内

常见问题

什么是 Grok Voice API — Speech to Text?
xAI's speech-to-text transcription, available as batch REST or streaming.
Grok Voice API — Speech to Text 的价格是多少?
在Oxyy上,Grok Voice API — Speech to Text花费$0.040每小时 音频。 这是应用当前 60% 折扣后的按量付费价格(Launch Promo; standard price $0.100). 按请求付费,无需订阅。
Grok Voice API — Speech to Text 可以转录哪些音频文件?
Grok Voice API — Speech to Text 接受音频上传 每个最大 50 MB。
如何通过 API 调用 Grok Voice API — Speech to Text?
向 https://api.oxyy.ai/v1/audio/transcriptions 发送带有 "model": "grok-stt" 的 POST 请求,并使用你的 Oxyy API key 进行身份验证。 It is also served on /v1/audio/translations. 将音频作为 multipart 表单数据上传到 "file" 字段中。
xAI 还有哪些其他模型?
xAI 还通过 Oxyy 提供 Grok 4.3, Grok 4.5, Grok 4.6 and Grok 4.7。

替代方案: Grok Voice API — Speech to Text

其他供应商提供的同类模型,按价格从低到高排序。在 Oxyy 上按需付费,使用相同的 API Key。

探索更多模型

更多来自以下机构的模型 xAI