Skip to content

OpenAI: GPT-4o-mini (batch)

OpenAIModerated
openai/gpt-4o-mini:batch

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: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.249 TND

per 1M tokens

Output tokens

0.997 TND

per 1M tokens

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

Specifications

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