OpenAI

GPT 5 Nano

OpenAIToken-based
Alias:gpt-5-nano
Create API Key

Compare gpt-5-nano API pricing, supported endpoints, capabilities and access options on Modelsell.

textimagestreamingfunction_callingtoolsstructured_outputjson_modevisioncachingreasoningcode_interpretercontext:400000
Starting price
Input / Output · 1M
Context
400K
Maximum input window
Max output
128K
Maximum tokens per response
Modalities
→
Knowledge cutoff
May 2024
Released
Aug 2025

Pricing by Supplier

OpenAI
-40%
Openai官方接口
Input$0.05$0.03/ 1M
Output$0.4$0.24/ 1M
Cache Read$0.005$0.003/ 1M
Azure
-40%
微软云API直连,稳定可靠
Input$0.05$0.03/ 1M
Output$0.4$0.24/ 1M
Cache Read$0.005$0.003/ 1M
GPT官+AZ 混合
-40%
适合生产环境,az 和官 key 混合渠道
Input$0.05$0.03/ 1M
Output$0.4$0.24/ 1M
Cache Read$0.005$0.003/ 1M

Capabilities / Supported modalities

StreamingFunction callingToolsStructured outputVisionPrompt cachingReasoningCode interpreterWeb search
Input
Output

Provider & data privacy

Provider
OpenAIDocs
Tokenizer
o200k_base
License
Proprietary (commercial)Proprietary
Data retention30 daysNot used for upstream training by default

Performance

Benchmarks

Scores on standardized evaluations. Higher percentages are better — and rank percentile shows

Metrics sourced fromArtificial Analysis 2026-09-30·GPT 5 Nano

This model is not included in the current benchmark snapshot.

Missing models or measurements are not zero scores.

Benchmark charts preserve the source model selection and reasoning settings. Missing models or measurements are not zero scores, and benchmark cost or speed is not this site’s service commitment.

About GPT 5 Nano

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

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

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

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

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

应用中常问

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

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

Use cases and prompting

给轻量任务固定规则

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

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

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

API access

API documentation

Code samples

RequestPOST/v1/chat/completions
Example request
Parameters
ParameterTypeDefault / rangeDescription
temperature
number
=10 ~ 2
Sampling temperature; lower is more deterministic
top_p
number
=10 ~ 1
Nucleus sampling probability mass
max_tokens
integer>= 1Maximum number of tokens in the response
frequency_penalty
number
=0-2 ~ 2
Penalises repetition of frequent tokens
presence_penalty
number
=0-2 ~ 2
Encourages introducing new topics
stop
array—Up to 4 strings that stop generation
seed
integer—Deterministic sampling seed (best-effort)
n
integer
=1>= 1
Number of completions to generate
stream
boolean
=false
Stream tokens via Server-Sent Events
response_format
object—Force JSON object or schema-conforming output
tools
array—Tool / function declarations the model may call
tool_choice
string
autononerequired
Tool-choice policy or specific tool name
logprobs
boolean
=false
Return per-token log probabilities
top_logprobs
integer0 ~ 20Number of top log probabilities returned per token
logit_bias
object—Per-token logit bias map
user
string—End-user identifier for abuse monitoring

Replace <YOUR_API_KEY> with the API key from your token settings.

Authentication

All requests must include Authorization: Bearer <TOKEN> header. Anthropic-formatted endpoints accept the x-api-key header instead.

Generate tokens from the Tokens page; you can scope them to specific models, groups, IPs, and rate-limits.

Supported parameters

Generation parameters
ParameterTypeDefault / rangeDescription
temperature
number
=10 ~ 2
Sampling temperature; lower is more deterministic
top_p
number
=10 ~ 1
Nucleus sampling probability mass
max_tokens
integer>= 1Maximum number of tokens in the response
frequency_penalty
number
=0-2 ~ 2
Penalises repetition of frequent tokens
presence_penalty
number
=0-2 ~ 2
Encourages introducing new topics
stop
array—Up to 4 strings that stop generation
seed
integer—Deterministic sampling seed (best-effort)
n
integer
=1>= 1
Number of completions to generate
stream
boolean
=false
Stream tokens via Server-Sent Events
response_format
object—Force JSON object or schema-conforming output
tools
array—Tool / function declarations the model may call
tool_choice
string
autononerequired
Tool-choice policy or specific tool name
logprobs
boolean
=false
Return per-token log probabilities
top_logprobs
integer0 ~ 20Number of top log probabilities returned per token
logit_bias
object—Per-token logit bias map
user
string—End-user identifier for abuse monitoring

Rate limits

SupplierRPMTPMRPD
AzureUnlimitedUnlimitedUnlimited
GPT官+AZ 混合UnlimitedUnlimitedUnlimited
OpenAIUnlimitedUnlimitedUnlimited

No restriction

Frequently asked questions about gpt-5-nano

What is gpt-5-nano?

Compare gpt-5-nano API pricing, supported endpoints, capabilities and access options on Modelsell.

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?

Start with the use cases and prompting guidance on this page, then evaluate the model with representative inputs from your project.