Skip to content

OpenAI: GPT-4o (2024-05-13)

OpenAIModerated
openai/gpt-4o-2024-05-13

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-2024-05-13",    "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

16.613 TND

per 1M tokens

Output tokens

49.839 TND

per 1M tokens

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