Skip to content
OpenAIModerated
openai/gpt-4-turbo

About this model

The latest GPT-4 Turbo model with vision capabilities. Vision requests can now use JSON mode and function calling. Training data: up to December 2023.

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

33.226 TND

per 1M tokens

Output tokens

99.677 TND

per 1M tokens

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

Specifications

Provider
OpenAI
Context window
128,000 tokens
Input modality
Text, Image
Added
Apr 9, 2024
Supported parameters
frequency_penaltylogit_biaslogprobsmax_tokenspresence_penaltyresponse_formatseedstop