Skip to main content

Try GPT 5.4 Mini in the Workbench

Run this model interactively, tune parameters, and compare outputs.
Model ID: 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
Parameter CountUnknown
Mixture of ExpertsUnknown
Context Length400,000 tokens
Max Output Tokens128,000 tokens
MultilingualYes
Quantized*Unknown
*Quantization is specific to the inference provider and the model may be offered with different quantization levels by other providers.

Example request

Use the Workbench as a request builder: configure parameters for this model in the UI, then open the API tab to copy the exact cURL or Python call.
curl -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": "Hello, what can you do?"
    }
  ]
}'

Fetch model details

The models endpoint returns the full model object, including its json_request_schema.
curl -H "Authorization: Bearer $OXEN_API_KEY" https://hub.oxen.ai/api/ai/models/gpt-5-4-mini

Request parameters

This model follows the standard OpenAI chat completions request body. See the chat completions reference for the full parameter list.