返回模型列表
OpenAI

GPT-5.4 Mini

GPT-5.4 mini brings the core capabilities of GPT-5.4 to a faster, more efficient model optimized for lower latency and cost.

快速参数

上下文

400K

最大输出

128K

出品方

OpenAI

规格数

2

模态

输入 file输入 image输入 text输出 text

规格与刊例价(每百万 tokens)

高质量
输入 $0.75输出 $4.5缓存读取 $0.075
高性价比
输入 $0.375输出 $2.25缓存读取 $0.0375

推荐套餐

GPT-5.4 Mini 体验套餐

充值即用,按量计费;新用户享 $1 体验额度。

购买套餐

API 接入

Model IDopenai/gpt-5.4-mini

cURL

curl https://intertoken.ai/v1/chat/completions \
  -H "Authorization: Bearer $TOKENPORTAL_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "openai/gpt-5.4-mini",
    "messages": [{"role": "user", "content": "Hello!"}]
  }'

Python

from openai import OpenAI

client = OpenAI(
    base_url="https://intertoken.ai/v1",
    api_key="$TOKENPORTAL_API_KEY",
)

resp = client.chat.completions.create(
    model="openai/gpt-5.4-mini",
    messages=[{"role": "user", "content": "Hello!"}],
)
print(resp.choices[0].message.content)

立即使用此模型

免费注册,获取 API Key,30 秒接入