gpt-4-turbo-2024-04-09
关于 gpt-4-turbo-2024-04-09
GPT-4 Turbo with Vision is the latest-generation model. More capable than its predecessors, it features an April 2023 knowledge cutoff, a 128k context window, and accepts text or image inputs, solving difficult problems with greater accuracy.
各路由分组价格
创建 Key 时可在控制台选择分组,状态实时来自路由。 查看各分组实时状态 →
| 分组 | 分组状态 | 模型状态 | 倍率 | 输入 | 输出 | 缓存读取 | 缓存写入 |
|---|---|---|---|---|---|---|---|
Azure-Gpt-1 | … | ×0.0744 | $0.7436 | $2.231 | — | — | |
Azure-Gpt-2 | … | ×0.169 | $1.69 | $5.07 | — | — | |
Azure-Gpt-3 | … | ×0.3718 | $3.718 | $11.154 | — | — | |
Azure-Gpt-4 | … | ×0.7436 | $7.436 | $22.308 | — | — | |
Azure-Gpt-5 | … | ×1.014 | $10.14 | $30.42 | — | — |
USD / 百万 Token
支持的接口
anthropicopenai
一个请求调用 gpt-4-turbo-2024-04-09
兼容 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-4-turbo-2024-04-09",
"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-4-turbo-2024-04-09",
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-4-turbo-2024-04-09",
messages: [{ role: 'user', content: 'Hello!' }],
});
console.log(resp.choices[0].message.content);关于 gpt-4-turbo-2024-04-09 的常见问题
gpt-4-turbo-2024-04-09 在 NixAPI 上多少钱?
在 Azure-Gpt-1 分组下,输入低至每百万 Token $0.7436,输出低至每百万 Token $2.231,比官方价低约 93%。按量付费,以美元计价,没有月最低消费。
如何调用 gpt-4-turbo-2024-04-09?
把任意兼容 OpenAI 格式的客户端指向 https://api.nixapi.com/v1,使用你的 NixAPI Key,并把 model 设为 "gpt-4-turbo-2024-04-09" 即可。
哪些路由分组提供 gpt-4-turbo-2024-04-09?
gpt-4-turbo-2024-04-09 可在 5 个路由分组中使用:Azure-Gpt-1、Azure-Gpt-2、Azure-Gpt-3、Azure-Gpt-4、Azure-Gpt-5。其中 Azure-Gpt-1 分组价格最低。