Skip to content

OpenAI: GPT-4.1 Mini (batch)

OpenAIModerated
openai/gpt-4.1-mini:batch

About this model

GPT-4.1 Mini is a mid-sized model delivering performance competitive with GPT-4o at substantially lower latency and cost. It retains a 1 million token context window and scores 45.1% on hard...

Make a request

OpenAI-compatible: set the base URL and your Promptix API key, keep your existing SDK.

curl https://promptix.tn/api/v1/chat/completions \  -H "Authorization: Bearer $PROMPTIX_API_KEY" \  -H "Content-Type: application/json" \  -d '{    "model": "openai/gpt-4.1-mini:batch",    "messages": [      {"role": "user", "content": "Hello! What can you do?"}    ]  }'

Pricing

In TND per 1M tokens. VAT and the platform fee are added at top-up.

Input tokens

0.665 TND

per 1M tokens

Output tokens

2.658 TND

per 1M tokens

1,000 requests with 1K input and 500 output tokens cost about 1.994 TND.

Specifications

Provider
OpenAI
Context window
1,047,576 tokens
Input modality
Text
Added
Apr 14, 2025
Supported parameters
max_tokensresponse_formatseedstructured_outputstemperaturetool_choicetoolstop_p