---
title: "GPT-5.4 Nano"
description: "OpenAI GPT-5.4 Nano：400K 上下文。在模型页查看服务商价格与适用计价条件，按量付费。"
canonical: https://pirouter.ai/zh/models/openai/gpt-5.4-nano
last-updated: 2026-10-15
---

# GPT-5.4 Nano

> OpenAI GPT-5.4 Nano：400K 上下文。在模型页查看服务商价格与适用计价条件，按量付费。

GPT-5.4 Nano 是 GPT-5.4 家族中最小、成本最低的模型，面向最看重速度与成本的任务。适合分类、数据抽取、排序与子 agent，上下文 400K token，支持图片输入，最多输出 128K。

## 概览

- 模型 ID: `openai/gpt-5.4-nano`
- 其他可用 ID: `gpt-5.4-nano`
- 厂商: OpenAI
- 类别: text
- 开放程度: 闭源
- 官方页面: https://developers.openai.com/api/docs/models/gpt-5.4-nano
- 上下文: 400,000 tokens
- 最大输出: 128,000 tokens
- 上线日期: 2026-03-17
- 知识截止: 2025-08-31
- 状态: 可用

## 价格（美元 / 百万 tokens）

|  | 输入 | 输出 | 缓存读取 | 缓存写入 | 推理 |
|---|---|---|---|---|---|
| 标准 | $0.14 ~~$0.2~~ | $0.875 ~~$1.25~~ | $0.014 ~~$0.02~~ | $0.175 ~~$0.25~~ | $0.875 ~~$1.25~~ |

限时 7 折 · 截至 2026-10-31 23:59（香港时间） · 所有服务商同价 · 计费即按此价.

## 能力

- 函数调用
- 指定工具
- 并行工具调用
- 结构化输出
- 响应 Schema
- 推理
- 提示缓存
- 系统消息
- 流式输出
- 视觉
- PDF 输入

## 推理强度

- xhigh, high, medium, low, minimal, none (默认: none)

## 调用方式

一个 pirouter API Key 适用于下列所有 API 格式，在控制台创建。请使用下列格式之一，未列出的格式此模型不支持。

- API Key: https://app.pirouter.ai/sign-in

### OpenAI Responses

- 端点: `POST /v1/responses`（https://api.pirouter.ai）
- 鉴权: `Authorization: Bearer <key>`
- SDK base URL: https://api.pirouter.ai/v1
- 接口参考: https://pirouter.ai/zh/docs/api/responses

```bash
curl https://api.pirouter.ai/v1/responses \
  -H "Authorization: Bearer $PIROUTER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "openai/gpt-5.4-nano",
    "input": "Hello!"
  }'
```

### OpenAI Chat

- 端点: `POST /v1/chat/completions`（https://api.pirouter.ai）
- 鉴权: `Authorization: Bearer <key>`
- SDK base URL: https://api.pirouter.ai/v1
- 接口参考: https://pirouter.ai/zh/docs/api/chat-completions

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

## 服务商

每个服务商一行，pirouter 为每次请求自动选择可用的服务商。

| 服务商 | API 格式 | 上下文 | 最大输出 | 输入 /M | 输出 /M | 用你的数据训练 | 数据保留 |
|---|---|---|---|---|---|---|---|
| azure | openai | 400,000 | 128,000 | $0.14 ~~$0.2~~ | $0.875 ~~$1.25~~ | 不会 | 限期保留 |

## 排行

这个模型在各盲测排行榜上的全场名次，只列出进入前 100 的榜单；点开可看完整榜单。

| 榜单 | 名次 | 分数 |
|---|---|---|
| [视觉理解](https://pirouter.ai/zh/rankings/vision) | #76 / 144 | 1200 |

数据：[LMArena leaderboard dataset](https://huggingface.co/datasets/lmarena-ai/leaderboard-dataset)，按 [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · 更新于 2026-09-28

## 支持的参数

`tools`, `tool_choice`, `parallel_tool_calls`, `response_format`, `structured_outputs`, `max_tokens`, `max_completion_tokens`, `seed`, `reasoning`, `include_reasoning`, `stream`, `n`, `verbosity`

## 链接

- HTML: https://pirouter.ai/zh/models/openai/gpt-5.4-nano
- JSON: https://pirouter.ai/api/models/openai/gpt-5.4-nano
- 服务商 JSON: https://api.pirouter.ai/v1/models/openai/gpt-5.4-nano/endpoints
- 排行名次（JSON）: https://pirouter.ai/api/models/openai/gpt-5.4-nano/rankings
- 模型目录: https://pirouter.ai/zh/models
- 快速开始: https://pirouter.ai/zh/docs/quickstart
- 路由机制说明: https://pirouter.ai/zh/docs/routing
- llms.txt: https://pirouter.ai/llms.txt

---

HTML 版: https://pirouter.ai/zh/models/openai/gpt-5.4-nano · 机读索引: https://pirouter.ai/llms.txt
