GPT-5.4

by OpenAI

openai/gpt-5.4

An earlier flagship reasoning model, priced below GPT-5.5.

Modalities
Text, Image
In / out per 1M
$5 / $30
Context
1.1M
Released
Mar 5, 2026

Overview

An earlier flagship reasoning model, priced below GPT-5.5. It is billed from the same balance as every other model and API here, and the price of each call comes back in the response.

Pricing

The default plan, in USD per million tokens.

MeterPer 1M tokens
Input$5.00
Output$30.00
Cache read$1.25
Cache write$5.00

Your balance and per-call records come from /v1/credits and /v1/generation.

Use it

Point your client at the gateway and pass this model id. Nothing else changes.

import OpenAI from "openai";

const client = new OpenAI({
  baseURL: "https://gateway.agentsky.dev/v1",
  apiKey: process.env.AGENTSKY_API_KEY, // ast_…
});

const completion = await client.chat.completions.create({
  model: "openai/gpt-5.4",
  messages: [{ role: "user", content: "Summarise this ticket." }],
});
console.log(completion.usage.cost); // USD, in the response

Questions

GPT-5.4 — AgentSky