Unlock exclusive introductory pricing for the newly launched Gemini 3.5 Flash.
O

GPT-5.4 nano

Input:$0.16/M
Output:$1/M
Cache Read:$0.016/M
سياق:400,000
الحد الأقصى للإخراج:128,000
تاريخ الإصدار:Mar 17, 2026

GPT-5.4 nano is designed for tasks where speed and cost matter most like classification, data extraction, ranking, and sub-agents.

جديد
شائع
الاستخدام التجاري

Playground لـ GPT-5.4 nano

استكشف Playground الخاص بـ GPT-5.4 nano — بيئة تفاعلية لاختبار النماذج وتشغيل الاستعلامات في الوقت الفعلي. جرب المطالبات، وضبط المعاملات، والتكرار فورًا لتسريع التطوير والتحقق من حالات الاستخدام.

Technical Specifications of GPT-5.4 Nano

ItemGPT-5.4 Nano (estimated from official + cross-validation)
Model familyGPT-5.4 series (ultra-lightweight “nano” variant)
ProviderOpenAI
Input typesText
Output typesText
Context window128,000 – 200,000 tokens (range based on nano tier patterns)
Max output tokens32,000 – 64,000 tokens (estimated)
Knowledge cutoff~May 31, 2024 (inherited mini/nano lineage)
Reasoning supportLimited (optimized for efficiency over depth)
Tool supportBasic function calling (limited agent capabilities)
PositioningUltra-low-cost, high-throughput inference model

What is GPT-5.4 Nano?

GPT-5.4 Nano is the smallest and most cost-efficient model in the GPT-5.4 family, designed for massive-scale, low-compute workloads. It prioritizes speed, throughput, and cost efficiency over deep reasoning, making it ideal for simple, repeatable tasks.

Unlike GPT-5.4 or GPT-5.4 Mini, Nano is optimized for high-frequency API usage, where millions of requests must be processed quickly and cheaply.


Key Features of GPT-5.4 Nano

  • Ultra-low latency inference: Designed for real-time pipelines and high-QPS systems
  • Extreme cost efficiency: Ideal for large-scale deployments (classification, tagging, routing)
  • Lightweight reasoning: Handles simple instructions reliably but not deep chains
  • High throughput optimization: Built for batch processing and parallel workloads
  • Stable structured output: Works well for JSON formatting, extraction, and labeling tasks
  • Pipeline-friendly design: Commonly used as a “worker model” in multi-model architectures

Benchmark Performance of GPT-5.4 Nano

  • Not positioned for frontier benchmarks (e.g., SWE-Bench, GPQA)
  • Optimized for:
    • Classification accuracy consistency
    • Structured output reliability
    • Latency benchmarks (substantially faster than Mini/Pro tiers)
  • Typically achieves high precision on narrow tasks but significantly lower performance on reasoning-heavy benchmarks

👉 If you're wondering whether to use the GPT-5.4 Nano or Mini, the key difference is: GPT-5.4 Nano excels in efficiency benchmarks, not reasoning leaderboards.


GPT-5.4-Nano vs Other Models

ModelStrengthContext WindowBest Use Case
GPT-5.4Maximum intelligence~1M tokensComplex reasoning, research
GPT-5.4 MiniBalanced performance + speed~400K tokensCoding, agents
GPT-5.4 NanoFastest + cheapest~400K tokensClassification, extraction
GPT-5 NanoOlder nano baseline~400K tokensBasic NLP tasks

👉 Key takeaway:

  • Use Nano for scale
  • Use Mini for balanced intelligence
  • Use Full/Pro for complex reasoning

Limitations of GPT-5.4 Nano

  • Poor performance on multi-step reasoning or complex logic tasks
  • Limited effectiveness in code generation or advanced analysis
  • Reduced multimodal capability (primarily text-focused)
  • Not suitable for decision-critical or high-accuracy reasoning tasks

Representative Use Cases

  1. Text classification & tagging — sentiment, categories, moderation
  2. Data extraction pipelines — structured JSON output at scale
  3. Routing & orchestration — decide which model/tool to call next
  4. Search indexing & preprocessing — chunk labeling, metadata generation
  5. High-volume automation tasks — millions of lightweight API calls

How to access GPT-5.4 Nano API

Step 1: Sign Up for API Key

Log in to cometapi.com. If you are not our user yet, please register first. Sign into your CometAPI console. Get the access credential API key of the interface. Click “Add Token” at the API token in the personal center, get the token key: sk-xxxxx and submit.

cometapi-key

Step 2: Send Requests to GPT-5.4 Nano API

Select the “gpt-5.4-nano” endpoint to send the API request and set the request body. The request method and request body are obtained from our website API doc. Our website also provides Apifox test for your convenience. Replace <YOUR_API_KEY> with your actual CometAPI key from your account. base url is Chat Completions and Responses.

Insert your question or request into the content field—this is what the model will respond to . Process the API response to get the generated answer.

Step 3: Retrieve and Verify Results

Process the API response to get the generated answer. After processing, the API responds with the task status and output data.

الأسئلة الشائعة

التسعير لـ GPT-5.4 nano

استكشف الأسعار التنافسية لـ GPT-5.4 nano، المصمم ليناسب الميزانيات المختلفة واحتياجات الاستخدام المتنوعة. تضمن خططنا المرنة أن تدفع فقط مقابل ما تستخدمه، مما يجعل من السهل التوسع مع نمو متطلباتك. اكتشف كيف يمكن لـ GPT-5.4 nano تحسين مشاريعك مع الحفاظ على التكاليف قابلة للإدارة.

ModelTierConditionComet Price (USD / M Tokens)Official Price (USD / M Tokens)Discount
gpt-5.4-nanostandard-
Input:$0.1600/M
Output:$1.0000/M
Cache Read:$0.0160/M
Input:$0.2000/M
Output:$1.2500/M
Cache Read:$0.0200/M
-20%
gpt-5.4-nano-2026-03-17standard-
Input:$0.1600/M
Output:$1.0000/M
Cache Read:$0.0160/M
Input:$0.2000/M
Output:$1.2500/M
Cache Read:$0.0200/M
-20%

نموذج الكود وواجهة برمجة التطبيقات لـ GPT-5.4 nano

احصل على أكواد نماذجية شاملة وموارد API لـ GPT-5.4 nano لتبسيط عملية التكامل الخاصة بك. توفر وثائقنا التفصيلية إرشادات خطوة بخطوة، مما يساعدك على الاستفادة من الإمكانات الكاملة لـ GPT-5.4 nano في مشاريعك.

#!/usr/bin/env bash
# Get your CometAPI key from https://api.cometapi.com/console/token
# Export it as: export COMETAPI_KEY="your-key-here"

response=$(curl --silent --location --request POST "https://api.cometapi.com/v1/responses" \
  --header "Authorization: Bearer $COMETAPI_KEY" \
  --header "Content-Type: application/json" \
  --header "Accept: application/json" \
  --data-raw '{
    "model": "gpt-5.4-nano",
    "input": "How much gold would it take to coat the Statue of Liberty in a 1mm layer?",
    "reasoning": {
      "effort": "none"
    }
  }')

if command -v jq >/dev/null 2>&1; then
  printf '%s
' "$response" | jq -r '(
    [
      .output[]?
      | select(.type == "message")
      | .content[]?
      | select(.type == "output_text")
      | .text
    ][0]
  ) // .output_text // .'
else
  printf '%s
' "$response"
fi

cURL Code Example

#!/usr/bin/env bash
# Get your CometAPI key from https://api.cometapi.com/console/token
# Export it as: export COMETAPI_KEY="your-key-here"

response=$(curl --silent --location --request POST "https://api.cometapi.com/v1/responses" \
  --header "Authorization: Bearer $COMETAPI_KEY" \
  --header "Content-Type: application/json" \
  --header "Accept: application/json" \
  --data-raw '{
    "model": "gpt-5.4-nano",
    "input": "How much gold would it take to coat the Statue of Liberty in a 1mm layer?",
    "reasoning": {
      "effort": "none"
    }
  }')

if command -v jq >/dev/null 2>&1; then
  printf '%s\n' "$response" | jq -r '(
    [
      .output[]?
      | select(.type == "message")
      | .content[]?
      | select(.type == "output_text")
      | .text
    ][0]
  ) // .output_text // .'
else
  printf '%s\n' "$response"
fi

Python Code Example

from openai import OpenAI
import os

# Get your CometAPI key from https://api.cometapi.com/console/token, and paste it here
COMETAPI_KEY = os.environ.get("COMETAPI_KEY") or "<YOUR_COMETAPI_KEY>"
BASE_URL = "https://api.cometapi.com/v1"

client = OpenAI(base_url=BASE_URL, api_key=COMETAPI_KEY)

response = client.responses.create(
    model="gpt-5.4-nano",
    input="How much gold would it take to coat the Statue of Liberty in a 1mm layer?",
    reasoning={"effort": "none"},
)

print(response.output_text)

JavaScript Code Example

import OpenAI from "openai";

// Get your CometAPI key from https://api.cometapi.com/console/token, and paste it here
const COMETAPI_KEY = process.env.COMETAPI_KEY || "<YOUR_COMETAPI_KEY>";
const BASE_URL = "https://api.cometapi.com/v1";

const client = new OpenAI({
  apiKey: COMETAPI_KEY,
  baseURL: BASE_URL,
});

const response = await client.responses.create({
  model: "gpt-5.4-nano",
  input: "How much gold would it take to coat the Statue of Liberty in a 1mm layer?",
  reasoning: {
    effort: "none",
  },
});

console.log(response.output_text);

Uptime

معدل نجاح الطلبات خلال الـ 30 يومًا الماضية، يعكس موثوقية كل مزوّد نماذج. تراقب CometAPI جميع المزودين المتصلين في الوقت الفعلي على مدار الساعة طوال أيام الأسبوع.

RespondLIVE
1507msAvg. Response
UptimeLIVE
100.0%Avg. Uptime

إصدارات GPT-5.4 nano

قد تشمل الأسباب وراء احتواء GPT-5.4 nano على لقطات متعددة عوامل محتملة مثل اختلاف المخرجات بعد التحديثات التي تتطلب اللقطات القديمة لضمان الاتساق، وتوفير فترة انتقالية للمطورين للتكيف والهجرة، وارتباط اللقطات المختلفة بنقاط النهاية العالمية أو الإقليمية لتحسين تجربة المستخدم. للاطلاع على الاختلافات التفصيلية بين الإصدارات، يرجى الرجوع إلى الوثائق الرسمية.

Version
gpt-5.4-nano
gpt-5.4-nano-2026-03-17