Skip to content

GPT 5.4 Mini

GPT 5.4 Mini is the cost-efficient member of the GPT-5.4 family, delivering strong performance in code generation, tool orchestration, and multi-step browser interactions at a price point designed for agentic production workloads.

ReasoningTool UseVision (Image)File InputImplicit CachingWeb Search
index.ts
import { streamText } from 'ai'
const result = streamText({
model: 'openai/gpt-5.4-mini',
prompt: 'Why is the sky blue?'
})

About GPT 5.4 Mini

GPT 5.4 Mini became available on March 17, 2026 on AI Gateway as the cost-efficient variant of the GPT-5.4 model family. It handles code generation, tool orchestration, and multi-step browser interactions more reliably than previous mini-tier models, making it a strong default for agentic tasks.

The model supports verbosity and reasoning level parameters, giving you control over response detail and how much the model reasons before answering. This is useful for tuning the cost-quality tradeoff per request. It's built for sub-agent workflows where multiple smaller models coordinate on parts of a larger task.

With a context window of 400K tokens and the full API feature set, GPT 5.4 Mini provides the capabilities production applications need at a price point that scales. If you're migrating from GPT-5 mini, it offers measurable improvements in agentic task completion.