Back to All Models
OpenAI · Instant

GPT-5.4 Nano

openai/gpt-5.4-nano
Use Model Now

GPT-5.4 nano is the most lightweight and cost-efficient variant of the GPT-5.4 family, optimized for speed-critical and high-volume tasks.

Input Price / 1M Tokens
$0.27
Output Price / 1M Tokens
$1.69
Context Window
400K
VisionToolsReasoning
Python Example — openai/gpt-5.4-nano
from openai import OpenAI

client = OpenAI(
    base_url="https://relaystack-ai.vercel.app/v1",
    api_key="sk-rs-your-key-here",
)

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