OpenAI/gpt-5-4-mini/Released Mar 2026

GPT 5.4 Mini

Fast model for coding, computer use

Commercial use
Text

About GPT 5.4 Mini

GPT 5.4 Mini is OpenAI's strongest mini model for coding, computer use, and subagent workloads. It is optimized for high-volume production use while retaining strong reasoning performance and broad tool support.

The model supports text and image inputs, provides a 400,000-token context window, and supports up to 128,000 output tokens. It also supports function calling, structured outputs, and a wide set of tools including web search, file search, image generation, code interpreter, hosted shell, apply patch, skills, computer use, MCP, and tool search.

MetricValue
Context Length400,000 tokens
Max Output Tokens128,000 tokens
MultilingualYes

Ready to build with GPT 5.4 Mini?

Try GPT 5.4 Mini in the Workbench to prompt it, compare outputs, and iterate on prompts without writing any code. When you're ready to ship, call the same model from our API and build your own apps on top of it.

curl -sSf -X POST https://hub.oxen.ai/api/ai/chat/completions \
    -H "Content-Type: application/json" \
    -H "Authorization: Bearer $OXEN_API_KEY" \
    -d '{
  "model": "gpt-5-4-mini",
  "messages": [
    {
      "role": "user",
      "content": "Try sending a message."
    }
  ]
}'

API endpoint

See the API reference for request and response formats.

POSThttps://hub.oxen.ai/api/ai/chat/completions