OpenAI: GPT-4.1 Mini
OpenAIModerated
openai/gpt-4.1-miniAbout 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", "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
1.329 TNDper 1M tokens
Output tokens
5.316 TNDper 1M tokens
1,000 requests with 1K input and 500 output tokens cost about 3.987 TND.
Specifications
- Provider
- OpenAI
- Context window
- 1,047,576 tokens
- Input modality
- Text
- Added
- Apr 14, 2025
- Supported parameters
max_completion_tokensmax_tokensresponse_formatseedstructured_outputstemperaturetool_choicetools