gpt-4o-audio-preview-2024-12-17
关于 gpt-4o-audio-preview-2024-12-17
The Audio API lets developers build speech-to-text and text-to-speech features. It supports speech recognition and generation in multiple languages, suitable for building voice assistants, transcription apps, and more.
各路由分组价格
创建 Key 时可在控制台选择分组,状态实时来自路由。 查看各分组实时状态 →
| 分组 | 分组状态 | 模型状态 | 倍率 | 输入 | 输出 | 缓存读取 | 缓存写入 |
|---|---|---|---|---|---|---|---|
Azure-Gpt-1 | … | ×0.0744 | $0.1844 | $0.7377 | — | — | |
Azure-Gpt-2 | … | ×0.169 | $0.4191 | $1.676 | — | — | |
Azure-Gpt-3 | … | ×0.3718 | $0.9221 | $3.688 | — | — | |
Azure-Gpt-4 | … | ×0.7436 | $1.844 | $7.377 | — | — | |
Azure-Gpt-5 | … | ×1.014 | $2.515 | $10.059 | — | — |
USD / 百万 Token
支持的接口
openai
一个请求调用 gpt-4o-audio-preview-2024-12-17
兼容 OpenAI SDK 及任何 OpenAI 格式的客户端,把 Key 换成你自己的即可。
curl https://api.nixapi.com/v1/chat/completions \
-H "Authorization: Bearer $NIXAPI_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "gpt-4o-audio-preview-2024-12-17",
"messages": [{"role": "user", "content": "Hello!"}]
}'from openai import OpenAI
client = OpenAI(base_url="https://api.nixapi.com/v1", api_key="sk-…")
resp = client.chat.completions.create(
model="gpt-4o-audio-preview-2024-12-17",
messages=[{"role": "user", "content": "Hello!"}],
)
print(resp.choices[0].message.content)import OpenAI from 'openai';
const client = new OpenAI({ baseURL: 'https://api.nixapi.com/v1', apiKey: process.env.NIXAPI_KEY });
const resp = await client.chat.completions.create({
model: "gpt-4o-audio-preview-2024-12-17",
messages: [{ role: 'user', content: 'Hello!' }],
});
console.log(resp.choices[0].message.content);关于 gpt-4o-audio-preview-2024-12-17 的常见问题
gpt-4o-audio-preview-2024-12-17 在 NixAPI 上多少钱?
在 Azure-Gpt-1 分组下,输入低至每百万 Token $0.1844,输出低至每百万 Token $0.7377,比官方价低约 93%。按量付费,以美元计价,没有月最低消费。
如何调用 gpt-4o-audio-preview-2024-12-17?
把任意兼容 OpenAI 格式的客户端指向 https://api.nixapi.com/v1,使用你的 NixAPI Key,并把 model 设为 "gpt-4o-audio-preview-2024-12-17" 即可。
哪些路由分组提供 gpt-4o-audio-preview-2024-12-17?
gpt-4o-audio-preview-2024-12-17 可在 5 个路由分组中使用:Azure-Gpt-1、Azure-Gpt-2、Azure-Gpt-3、Azure-Gpt-4、Azure-Gpt-5。其中 Azure-Gpt-1 分组价格最低。