GPT-5.4 Mini API
Smaller, faster GPT-5.4 variant for lighter tasks
About this model
GPT-5.4 mini is the smaller version of OpenAI’s GPT-5.4, released in March 2026 together with GPT-5.4 nano. OpenAI’s models page names GPT-6 Luna as its replacement.
Use it when a smaller model is enough for the job, and GPT-5.4 or later families when you need more capability.
The catalog lists a 272,000-token context window and image input.
Use cases
- Quick summaries and drafts
- Lightweight coding help
- High-volume text tasks
Input and output
- Input
- Text and images
- Output
- Text, tool calls
Developer
OpenAI
Official site of OpenAI- Developer
- OpenAI
- Type
- Conversation
- Context
- 272,000 tokens
- Capabilities
- Image input
GPT-5.4 Mini request example
Use https://gatelum.com/v1 as the base URL and pass openai/gpt-5.4-mini in the model field. You create the key in your account after signing up.
curl --silent --show-error --fail-with-body \
--header 'Authorization: Bearer glt_YOUR_KEY' \
'https://gatelum.com/v1/chat/completions' \
--header "Content-Type: application/json" \
--data-binary @- <<'JSON'
{
"model": "openai/gpt-5.4-mini",
"messages": [
{
"role": "user",
"content": "Hi! Tell me about yourself in two sentences."
}
]
}
JSONClaude Code and Anthropic-protocol clients
For clients using the Anthropic protocol, point the address at ANTHROPIC_BASE_URL=https://gatelum.com with no /v1. The model ID does not change.
export ANTHROPIC_BASE_URL=https://gatelum.com
export ANTHROPIC_AUTH_TOKEN=glt_YOUR_KEY
export ANTHROPIC_MODEL=openai/gpt-5.4-mini
claudeWhere to use GPT-5.4 Mini
Guides with step-by-step instructions for the tools that support this model: