GPT 5.4 mini
GPT-5.4 mini is a faster and more efficient model based on GPT-5.4, specifically designed for high-load workload scenarios.
byOPENAIInput TypetextimagefileOutput TypetextContext Window400KMax Output128K
Providers
This model is available from multiple providers. Select one to see its pricing and sample code.
OPENAIDefault
$0.6 / $3.6/ 1M tokens0.80× base price
Supported formatsOpenAI Chat CompletionsOpenAI Responses
Official OpenAI Channels
Azure
$0.45 / $2.7/ 1M tokens0.60× base price
Supported formatsOpenAI Chat CompletionsOpenAI Responses
Official Microsoft Azure Channels
Codex
$0.15 / $0.9/ 1M tokens0.20× base price
Supported formatsOpenAI Chat CompletionsOpenAI Responses
Sourced from ChatGPT Pro Membership,Recommended for Codex
Pricing
Transparent pay-as-you-go pricing by token usage — no subscriptions or hidden fees.
Per 1M tokens
Input
Prompt and context tokens
$0.6
Output
Generated completion tokens
$3.6
Cache read
Reused or stored prompt context
$0.06
Code
Copy an example below to start calling this model in minutes.
API / request example
Sample Code & API
from openai import OpenAI
client = OpenAI(
base_url="https://api.apipod.ai/v1",
api_key="<YOUR_API_KEY>",
)
# Chat Completions
completion = client.chat.completions.create(
model="gpt-5.4-mini",
messages=[
{
"role": "user",
"content": "What is the meaning of life?",
}
],
)
print(completion.choices[0].message.content)