OpenAI: GPT-5.4 API
GPT-5.4 is OpenAI’s latest frontier model, unifying the Codex and GPT lines into a single system. It features a 1M+ token context window (922K input, 128K output) with support for text and image inputs, enabling high-context reasoning, coding, and multimodal analysis within the same workflow.The model delivers improved performance in coding, document understanding, tool use, and instruction following. It is designed as a strong default for both general-purpose tasks and software engineering, capable of generating production-quality code, synthesizing information across multiple sources, and executing complex multi-step workflows with fewer iterations and greater token efficiency.
关键参数
- 厂商:OpenAI
- 模型 ID:gpt-5.4
- 上下文长度:1050000 tokens
- 最大输出:128000 tokens
- 输入模态:text、image
- 输出模态:text
- 能力:chat、function_calling、cache、vision、reasoning、web_search
如何调用
apiget 兼容 OpenAI 接口,把 base_url 指向 https://api.apiget.cc/v1,用你的 API Key 调用:
curl https://api.apiget.cc/v1/chat/completions \
-H "Authorization: Bearer $APIGET_KEY" \
-H "Content-Type: application/json" \
-d '{"model":"gpt-5.4","messages":[{"role":"user","content":"你好"}]}'价格
按量计费、无月费,支持人民币充值。最新价格见 定价页。
常见问题
- 国内能直接调用 OpenAI: GPT-5.4 API 吗?
- 可以。通过 apiget 聚合网关调用,免翻墙、OpenAI 兼容,把 base_url 指向 https://api.apiget.cc/v1 配置 API Key 即可接入。
- OpenAI: GPT-5.4 怎么计费?
- 按量计费、无月费,支持支付宝/微信充值。
- OpenAI: GPT-5.4 的上下文有多大?
- OpenAI: GPT-5.4 最大支持 1050000 tokens 上下文。