Skip to content
OpenAIModerated
openai/gpt-4o

About this model

GPT-4o ("o" for "omni") is OpenAI's latest AI model, supporting both text and image inputs with text outputs. It maintains the intelligence level of [GPT-4 Turbo](/models/openai/gpt-4-turbo) while being twice as...

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

8.306 TND

per 1M tokens

Output tokens

33.226 TND

per 1M tokens

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

Specifications

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