Skip to content
OpenAIModerated
openai/gpt-4.1

About this model

GPT-4.1 is a flagship large language model optimized for advanced instruction following, real-world software engineering, and long-context reasoning. It supports a 1 million token context window and outperforms GPT-4o and...

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",    "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

6.645 TND

per 1M tokens

Output tokens

26.581 TND

per 1M tokens

1,000 requests with 1K input and 500 output tokens cost about 19.935 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