openai/gpt-5-nano
GPT-5 Nano 低至3.4折
GPT-5-Nano is the smallest and fastest variant in the GPT-5 system, optimized for developer tools, rapid interactions, and ultra-low latency environments. While limited in reasoning depth compared to its larger counterparts, it retains key instruction-following and safety features. It is the successor to GPT-4.1-nano and offers a lightweight option for cost-sensitive or real-time applications.
上下文窗口400K
最大输出 Token360K
支持协议
发布日期—
能力与模态
当前模型版本支持的输入输出能力
输入模态
文本
图像
文件
输出模态
文本
模型价格
价格与能力以接口实时数据为准
输入价格
$0.017 / M$0.05
输出价格
$0.136 / M$0.4
缓存读取
$0.0017 / M$0.005
网页搜索
$0.0034 / 次$0.01
API 接口
当前模型可以使用的调用端点
原生协议 2
/v1/responses
/v1/chat/completions
转换协议 3
/v1/messages
/v1beta/models/{model}:streamGenerateContent
/v1beta/models/{model}:generateContent
API 接入示例
选择协议与语言,配置 API Key 后运行
调用接口
先在环境变量中配置平台密钥 AI_GATEWAY_API_KEY · 适用于 Bash / zsh / WSL。
POST
https://api.tikway.ai/v1/responsescurl --fail-with-body 'https://api.tikway.ai/v1/responses' \
-H "Authorization: Bearer $AI_GATEWAY_API_KEY" \
-H 'Content-Type: application/json' \
-d '{
"model": "openai/gpt-5-nano",
"input": "用三句话介绍 Tikway"
}'