OpenAI

GPT 5 Nano

OpenAI按量收費動態收費
Alias:gpt-5-nano

GPT-5 系列中快速、低成本的輕量推理模型,適合摘要和分類等目標明確的大規模任務。支援文字與影像輸入、文字輸出。上下文為 400,000 個詞元,最多輸出 128,000 個詞元。官方預計於 2026 年 12 月 11 日停用。官方 Standard 費率(美元/百萬詞元):輸入 0.05、快取讀取 0.005、輸出 0.40。

textimagestreamingfunction_callingtoolsstructured_outputjson_modevisioncachingreasoningcode_interpretercontext:400000
起始價格
查看完整計費明細
上下文
400K
最大輸入窗口
最大輸出
128K
單次回應最大 token 數
模態
→
知識截止
May 2024
發佈於
Aug 2025

Pricing by Supplier

比較同一模型在不同供應商的價格與服務表現。

供應商1
USD · 每 1M tokens效能 · Last 24 hours
供應商Discount輸入/M輸出/M緩存讀取/M
OpenAI

OpenAI 官方 API

省40%
$0.03$0.05
$0.24$0.4
$0.003$0.005
刪除線金額為標準價。效能統計涵蓋最近 24 小時,實際表現隨請求變化。

左右滑動表格,查看完整價格與效能。

能力 / 支援的模態

串流輸出函數呼叫工具結構化輸出視覺提示詞緩存推理代碼解釋器網絡搜尋
輸入
輸出

廠商與數據私隱

供應商
OpenAI文件
分詞器
o200k_base
許可證
Proprietary (commercial)商業閉源
數據保留30 日預設不會用於上游訓練

效能

基準測試

標準化評測得分。百分比越高越好,並展示排名百分位。

指標來源:Artificial Analysis 2026-09-30·GPT 5 Nano

目前基準快照不包含此模型。

缺少模型或測量值不代表零分。

基準圖表保留來源中的模型選擇和推理設定。缺少模型或測量值不代表零分,基準成本或速度也不是本站的服務承諾。

About GPT 5 Nano

GPT-5 系列中快速、低成本的輕量推理模型,適合摘要和分類等目標明確的大規模任務。支援文字與影像輸入、文字輸出。上下文為 400,000 個詞元,最多輸出 128,000 個詞元。官方預計於 2026 年 12 月 11 日停用。官方 Standard 費率(美元/百萬詞元):輸入 0.05、快取讀取 0.005、輸出 0.40。

查看介紹原文

为大量简单内容做快速整理

GPT-5 nano 是 GPT-5 系列中面向速度与成本的轻量选择,适合摘要、分类和常规信息提取。你可以用它整理消息要点、给用户反馈打标签、生成简短标题,或将内容转换成固定字段。任务规则清楚、结果容易检查时,更适合投入高频调用。

它支持文字与图片输入,输出文字。除了处理文章和对话,也可以根据截图提取可见信息,例如整理错误提示、识别表单缺失项或概括商品说明。对于细小文字、金额与编号,要求保留原文并允许标记不确定内容,有助于后续校验。

结构化输出与函数调用便于它融入应用。分类结果可以交给工单系统,提取字段可以交给表单校验,用户意图也可以转成查询工具的参数。实际查询与写入由业务程序执行,模型负责理解输入并组织结果。

设计批量任务时,应明确每个标签的边界和缺失值规则,并提供少量正反例。输出越精简,越方便程序处理与监测。复杂的跨文件排错、模糊决策或需要深入论证的分析,可以先由它归纳材料,再转交给更适合的处理流程。

应用中常问

怎样选择适合的任务? 优先考虑有固定规则、短输出和明确验收方式的工作,如分类、摘要与字段提取。

长文都放进去会更好吗? 应先说明要提取什么,按主题组织内容;无关材料可能增加成本,也让重点更难控制。

Use cases and prompting

Starting points for evaluation; supported inputs and options are listed in API access.

Use cases to explore

  • Draft and revise text with explicit audience, tone and format requirements.
  • Summarize supplied documents and compare answers against the original sources.

Practical tips

Separate instructions from source material, describe the desired output and provide an example. Test tool use or structured output only when listed as supported.

Example prompt

Summarize the following document in five bullet points. Separate confirmed facts from open questions, cite the relevant passages and do not invent missing information. Document: [paste your text]

查看使用指南原文

给轻量任务固定规则

列明输出字段与允许的取值,避免不必要的解释。

将这条产品反馈整理为 JSON:topic、sentiment、summary、needs_followup。
 topic 只选性能、价格、易用性、功能或其他;summary 不超过 25 字。
needs_followup 仅在用户明确提出待处理问题时为 true。
不要补充原文没有的产品信息。
反馈:{用户原文}

摘要任务规定长度和必须覆盖的主题;图片提取要求看不清的字段写 null。用真实边界样本检查分类与格式,设置复杂任务的转交规则,再扩大调用量。

API access

API 介面文件

呼叫示例

請求POST/v1/chat/completions
請求範例
參數
參數類型預設值 / 範圍說明資訊
temperature
number
=10 ~ 2
採樣溫度;越低越穩定
top_p
number
=10 ~ 1
核採樣累積概率
max_tokens
integer>= 1回應中最大 token 數
frequency_penalty
number
=0-2 ~ 2
懲罰高頻 token 的重複出現
presence_penalty
number
=0-2 ~ 2
鼓勵引入新話題
stop
array—最多 4 個停止生成的字串
seed
integer—盡量保證可復現的採樣種子
n
integer
=1>= 1
生成的候選條數
stream
boolean
=false
透過 SSE 串流返回 token
response_format
object—強制輸出 JSON 物件或符合 Schema 的結果
tools
array—模型可呼叫的工具 / 函數聲明
tool_choice
string
autononerequired
工具選擇策略或具體工具名
logprobs
boolean
=false
返回每個 token 的對數概率
top_logprobs
integer0 ~ 20每個 token 返回的 top 概率數量
logit_bias
object—按 token 的 logit 偏置映射
user
string—用於風險審計的終端用戶標識

替換 <YOUR_API_KEY> 替換為 API 金鑰頁面中的金鑰。

身份驗證

所有請求必須攜帶 Authorization: Bearer <TOKEN> 請求頭。Anthropic 格式的端點也接受 x-api-key 請求頭。

在「令牌」頁面生成 API Key,可以按模型、分組、IP、速率等維度精細化授權。

支援的參數

Generation parameters
參數類型預設值 / 範圍說明資訊
temperature
number
=10 ~ 2
採樣溫度;越低越穩定
top_p
number
=10 ~ 1
核採樣累積概率
max_tokens
integer>= 1回應中最大 token 數
frequency_penalty
number
=0-2 ~ 2
懲罰高頻 token 的重複出現
presence_penalty
number
=0-2 ~ 2
鼓勵引入新話題
stop
array—最多 4 個停止生成的字串
seed
integer—盡量保證可復現的採樣種子
n
integer
=1>= 1
生成的候選條數
stream
boolean
=false
透過 SSE 串流返回 token
response_format
object—強制輸出 JSON 物件或符合 Schema 的結果
tools
array—模型可呼叫的工具 / 函數聲明
tool_choice
string
autononerequired
工具選擇策略或具體工具名
logprobs
boolean
=false
返回每個 token 的對數概率
top_logprobs
integer0 ~ 20每個 token 返回的 top 概率數量
logit_bias
object—按 token 的 logit 偏置映射
user
string—用於風險審計的終端用戶標識

速率限制

供應商RPMTPMRPD
OpenAI無限制無限制無限制

無限制

Frequently asked questions about gpt-5-nano

What is gpt-5-nano?

GPT-5 系列中快速、低成本的輕量推理模型,適合摘要和分類等目標明確的大規模任務。支援文字與影像輸入、文字輸出。上下文為 400,000 個詞元,最多輸出 128,000 個詞元。官方預計於 2026 年 12 月 11 日停用。官方 Standard 費率(美元/百萬詞元):輸入 0.05、快取讀取 0.005、輸出 0.40。

How do I call gpt-5-nano?

Create an API key with access to gpt-5-nano, then use the exact model ID and a supported endpoint from the API access section. Request fields depend on the selected endpoint.

How is gpt-5-nano priced?

Pricing depends on the selected provider group and the model billing unit. The current input, output, request, or media prices are shown on this page before sign-up.

What is the context window of gpt-5-nano?

The model catalog lists a context window of 400000 tokens. Check the selected endpoint for request limits.

What is the maximum output of gpt-5-nano?

The model catalog lists a maximum output of 128000 tokens. Your request settings may set a lower limit.

How should I evaluate gpt-5-nano for my project?

Separate instructions from source material, describe the desired output and provide an example. Test tool use or structured output only when listed as supported.