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
Contexto:400,000
Salida Mรกxima:128,000
Publicado: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.

Nuevo
Popular
Uso comercial

Playground para GPT-5.4 nano

Explora el Playground de GPT-5.4 nano โ€” un entorno interactivo para probar modelos y ejecutar consultas en tiempo real. Prueba prompts, ajusta parรกmetros e itera instantรกneamente para acelerar el desarrollo y validar casos de uso.

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.

Preguntas frecuentes

Precios para GPT-5.4 nano

Explora precios competitivos para GPT-5.4 nano, diseรฑado para adaptarse a diversos presupuestos y necesidades de uso. Nuestros planes flexibles garantizan que solo pagues por lo que uses, facilitando el escalado a medida que crecen tus requisitos. Descubre cรณmo GPT-5.4 nano puede mejorar tus proyectos mientras mantienes los costos manejables.

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%

Cรณdigo de ejemplo y API para GPT-5.4 nano

Accede a cรณdigo de muestra completo y recursos de API para GPT-5.4 nano para agilizar tu proceso de integraciรณn. Nuestra documentaciรณn detallada proporciona orientaciรณn paso a paso, ayudรกndote a aprovechar todo el potencial de GPT-5.4 nano en tus proyectos.

#!/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

Tasa de รฉxito de solicitudes en los รบltimos 30 dรญas, que refleja la fiabilidad de cada proveedor de modelos. CometAPI monitorea todos los proveedores conectados en tiempo real, las 24 horas del dรญa, los 7 dรญas de la semana.

RespondLIVE
1320msAvg. Response
UptimeLIVE
100.0%Avg. Uptime

Versiones de GPT-5.4 nano

La razรณn por la cual GPT-5.4 nano tiene mรบltiples instantรกneas puede incluir factores potenciales como variaciones en la salida tras actualizaciones que requieren instantรกneas anteriores para mantener la coherencia, ofrecer a los desarrolladores un perรญodo de transiciรณn para adaptaciรณn y migraciรณn, y diferentes instantรกneas que corresponden a endpoints globales o regionales para optimizar la experiencia del usuario. Para conocer las diferencias detalladas entre versiones, consulte la documentaciรณn oficial.

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