GPT-5.4 Nano

MultimodalNewAvailable
by OpenAIModel ID: gpt-5-4-nano

OpenAI's smallest and cheapest GPT-5.4 variant. Built for high-volume classification, extraction and coding subagents at edge-grade latency.

Price ยท 1M in / out
US$0.24 / US$1.50
Context
400,000 tokens
Max. output
32,000 tokens
Input โ†’ output
Text + Image โ†’ Text
Developer
OpenAI
Updated
23 September 2026
01

Playground

Try GPT-5.4 Nano

Chat

US$0.24/1M in
Try GPT-5.4 Nano

Send a message. The answer arrives in full once the model is done (no streaming).

System prompt
Max. answer length (tokens)

This run

at most US$0.0016 ยท 0.16 credits reserved

Billed by the tokens actually used; the unused part of the reservation is refunded.

New here?

10 free credits (US$0.10) when you sign up with Google

Usable 24 hours after sign-up, up to 5 runs per day and at most 2 credits per run. Other sign-in methods start without credits. Enough for 62 runs of this model.

02

About GPT-5.4 Nano

TL;DRAs of 23 September 2026

GPT-5.4 Nano is a model by OpenAI in the Multimodal category. On Railwail, GPT-5.4 Nano costs US$0.24 per 1M input tokens and US$1.50 per 1M output tokens. The context window holds 400,000 tokens, and one response can be up to 32,000 tokens long.

GPT-5.4 nano is the lightest member of the GPT-5.4 family, released alongside Mini in March 2026. 400K context window, vision input, optimized for classification, data extraction, ranking and coding subagents that handle simpler supporting tasks. A major upgrade over GPT-5 nano, designed for the subagent era of agentic workflows where orchestrator models delegate to many cheap workers.

Background

About OpenAI

Founded 2015 ยท San Francisco, USA

OpenAI is the AI research lab founded in December 2015 by Sam Altman, Elon Musk, Greg Brockman, Ilya Sutskever and others. The company shipped GPT-1 through GPT-5 and the unified GPT-5.x line (2025-2026). GPT-5.4 nano was released alongside GPT-5.4 mini on March 17, 2026 as the smallest, cheapest variant of the GPT-5.4 generation, aimed at the 'subagent era' of agentic workflows. OpenAI is backed by Microsoft and other major investors with a 2026 valuation above $300 billion.

Visit OpenAI

Architecture

Unified Transformer (small, optimized for high-throughput subagent workloads)

GPT-5.4 nano is the lightest member of the GPT-5.4 family, released March 17, 2026 as OpenAI's smallest and cheapest reasoning-capable model. It is heavily distilled from larger GPT-5.4 teacher models and trained to excel at classification, extraction, ranking and coding subagent tasks. Architecturally it retains the unified GPT-5.4 design: native text + image input, integrated 'Thinking' tier on demand, and full tool-use API including parallel tool calls. The 400K context window is unusually large for a nano-class model and supports long-document subagent work. Post-training emphasized reliability on structured outputs, JSON schema adherence and function calling, since nano-class models are typically deployed in deterministic pipelines.

Parameters
Undisclosed (estimated single-digit-billion-parameter class)
Context
400,000 tokens

Capabilities

  • Smallest and cheapest GPT-5.4 variant
  • 400K token context window
  • Native multimodal input: text and images
  • Integrated 'Thinking' tier for occasional harder tasks
  • Strong on classification, extraction, ranking and coding subagent tasks
  • Native tool use, function calling and parallel tool calls
  • Reliable structured JSON output and schema adherence
  • Edge-grade latency suitable for real-time pipelines
  • Major upgrade over GPT-5 nano on every measured benchmark
  • Available in ChatGPT (free tier) and the OpenAI API
  • Best for: classification, data extraction, ranking, coding subagents under an orchestrator.

Training & license

Heavily distilled from larger GPT-5.4 teacher models. Pretraining uses a multi-trillion-token mixture; post-training combines supervised fine-tuning, RLHF and RL against verifiable rewards with a strong emphasis on structured-output reliability. Knowledge cutoff approximately late 2025.

License: Proprietary commercial license via OpenAI API and Azure OpenAI.

Safety testing: Evaluated under OpenAI's Preparedness Framework with internal and external red-teaming.

Known limitations

  • Below GPT-5.4 mini on hard reasoning and agentic coding benchmarks
  • Limited depth on niche or long-tail topics
  • No native audio or video input
  • Knowledge cutoff in late 2025
  • Thinking mode is available but slow relative to model size
03

Pricing

Prices in US dollars. Usage is charged from prepaid credits.
InputUS$0.24 / 1M tokens
OutputUS$1.50 / 1M tokens
  • Billed by the tokens each request actually uses.
  • 1 credit = US$0.01

Cost calculator

Price calculator

/ req.
/ req.

Total

US$0.10

10 credits

Per request

US$0.001 ยท 0.1 credits

Each request is rounded up to 0.01 credits.

04

API

Call GPT-5.4 Nano with your Railwail API key. Use this model ID in the request:
curl https://railwail.com/api/v1/chat/completions \
  -H "Authorization: Bearer $RAILWAIL_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "gpt-5-4-nano",
    "messages": [
      {
        "role": "user",
        "content": "Explain what a vector database is in two sentences."
      }
    ],
    "max_tokens": 1024
  }'
Set your key as RAILWAIL_API_KEYCreate API key
05

Specifications

Model ID
gpt-5-4-nano
Developer
OpenAI
Category
Multimodal
Input
Text, Image
Output
Text
Context window
400,000 tokens
Max. output
32,000 tokens
Billing
By usage (tokens or GPU time)
Model size
Undisclosed (estimated single-digit-billion-parameter class)
License
Proprietary commercial license via OpenAI API and Azure OpenAI.
Catalog entry updated
23 September 2026

Input parameters

Inputs and settings from the model's input schema. The example in the API section shows which of them the API accepts.

  • promptrequired

    User message

    Type: Text
    Default: โ€“
    Allowed values: up to 32,000 characters
  • top_p
    Type: Number
    Default: 1
    Allowed values: 0 to 1
  • stream
    Type: Yes/no
    Default: false
    Allowed values: โ€“
  • image_url

    Optional image URL to analyze

    Type: Text
    Default: โ€“
    Allowed values: โ€“
  • max_tokens
    Type: Integer
    Default: 2048
    Allowed values: 1 to 32,000
  • temperature
    Type: Number
    Default: 1
    Allowed values: 0 to 2
  • system_prompt

    Optional system instruction

    Type: Text
    Default: โ€“
    Allowed values: up to 8,000 characters

Tags

  • openai
  • cost-efficient
  • low-latency
  • vision
  • subagents
  • edge
06

Use cases

What it is used for

  • Coding subagents under an orchestrator
  • Large-scale classification and routing
  • Structured data extraction from documents
  • Content moderation and tagging
  • Voice/IVR backends needing edge latency
  • Free-tier consumer chatbots
07

Frequently asked questions

What is GPT-5.4 Nano?

GPT-5.4 Nano is a model by OpenAI in the Multimodal category. On Railwail you can call it with an API key through the Railwail API.

How much does GPT-5.4 Nano cost on Railwail?

On Railwail, GPT-5.4 Nano costs US$0.24 per 1M input tokens and US$1.50 per 1M output tokens. You are charged for what each request actually uses. Usage is paid from prepaid credits; 1 credit equals US$0.01.

What is the context window of GPT-5.4 Nano?

The context window of GPT-5.4 Nano holds 400,000 tokens. One response can be up to 32,000 tokens long.

How fast is GPT-5.4 Nano?

There are not enough measured runs of GPT-5.4 Nano on Railwail yet to state a run time. It depends on the input, the settings and the load at the provider.

Is GPT-5.4 Nano better than BLIP?

That depends on the task. GPT-5.4 Nano (OpenAI) and BLIP (Salesforce) are both models in the Multimodal category. The comparison page shows their prices and specifications side by side.

Compare GPT-5.4 Nano and BLIP

Can GPT-5.4 Nano process images?

Yes. GPT-5.4 Nano accepts images as input in addition to text.

How do I use GPT-5.4 Nano through the API?

Create a Railwail API key and send your request with the model ID gpt-5-4-nano. Code examples for curl, Python and JavaScript are in the API section of this page.

08

Comparable models

All in this category

Use GPT-5.4 Nano via the API

One API key for every model on Railwail. Usage is charged from prepaid credits, 1 credit = US$0.01.