OpenAI

OpenAI: GPT-5.4 Mini

Chat-15%
openai/gpt-5.4-mini

GPT-5.4 mini brings the core capabilities of GPT-5.4 to a faster, more efficient model optimized for high-throughput workloads. It supports text and image inputs with strong performance across reasoning, coding, and tool use, while reducing latency and cost for large-scale deployments.

400K context window
128K max output tokens
Released: 2026-03-17
Supported Protocols:OpenAIopenaiAnthropicanthropic
Available Providers:AzureAzure
Capabilities:VisionFunction CallingReasoningPrompt CachingWeb Search

Providers

AzureAzure
-15%
Input Tokens
$0.638/M
$0.75/M
Output Tokens
$3.83/M
$4.5/M
Cache Read
$0.0638/M
$0.075/M
Web Search
$0.01/R
Protocols
OpenAIopenai/v1/chat/completions/v1/responses
Anthropicanthropic

Code Examples

from openai import OpenAI
client = OpenAI(
base_url="https://api.ofox.ai/v1",
api_key="YOUR_OFOX_API_KEY",
)
response = client.chat.completions.create(
model="openai/gpt-5.4-mini",
messages=[
{"role": "user", "content": "Hello!"}
],
)
print(response.choices[0].message.content)

Frequently Asked Questions

OpenAI: GPT-5.4 Mini on Ofox.ai costs $0.75/M per million input tokens and $4.5/M per million output tokens. Pay-as-you-go, no monthly fees.