Back to Models
O

GPT-5.4 Nano

OpenAI/openai/gpt-5.4-nano
Chat

Fastest and cheapest GPT-5.4 variant

Input Price

$0.2

per 1M tokens

Output Price

$1.25

per 1M tokens

Context

200K

tokens

Modalities

text

Model ID

openai/gpt-5.4-nano

Pricing Breakdown

DirectionPer 1K tokensPer 1M tokens
Input$0.00020000$0.2000
Output$0.00125000$1.25

Quick Start

from openai import OpenAI

client = OpenAI(
    api_key="dg-your-api-key",
    base_url="https://api.doggiegateway.com/v1"
)

response = client.chat.completions.create(
    model="openai/gpt-5.4-nano",
    messages=[{"role": "user", "content": "Hello!"}]
)

print(response.choices[0].message.content)

How It Works

Doggie Gateway routes your request to OpenAI's API through OpenRouter. You get the best available pricing and automatic fallback if a provider is unavailable.

Pay-per-use pricing
No monthly fees
OpenAI-compatible API

Ready to use GPT-5.4 Nano?

Create an account, get your API key, and start making API calls in under a minute.