Skip to main content

Try GPT 4.1 mini in the Workbench

Run this model interactively, tune parameters, and compare outputs.
Model ID: gpt-4-1-mini-2025-04-14 GPT 4.1 Mini is an LLM designed for high performance at lower cost and latency. It excels in delivering intelligence levels comparable to GPT-4o while reducing latency by nearly half and cost by 83%, making it ideal for applications that require a balance between performance and efficiency. Some other noteworthy features of GPT 4.1 Mini include exceptional instruction following reliability and long context comprehension, making it particularly effective for powering AI agents or systems that independently accomplish tasks on behalf of users.
MetricValue
Parameter CountUnknown
Mixture of ExpertsUnknown
Context Length1 million 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-4-1-mini-2025-04-14",
  "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-4-1-mini-2025-04-14

Request parameters

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