Skip to content
OpenAIModerated
openai/gpt-4o-mini

About this model

GPT-4o mini is OpenAI's newest model after [GPT-4 Omni](/models/openai/gpt-4o), supporting both text and image inputs with text outputs. As their most advanced small model, it is many multiples more affordable...

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-4o-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

0.498 TND

per 1M tokens

Output tokens

1.994 TND

per 1M tokens

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

Specifications

Provider
OpenAI
Context window
128,000 tokens
Input modality
Text, Image
Added
Jul 18, 2024
Supported parameters
frequency_penaltylogit_biaslogprobsmax_completion_tokensmax_tokenspredictionpresence_penaltyresponse_format