OpenAI: GPT-4
OpenAIModerated
openai/gpt-4About this model
OpenAI's flagship model, GPT-4 is a large-scale multimodal language model capable of solving difficult problems with greater accuracy than previous models due to its broader general knowledge and advanced reasoning...
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", "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
99.677 TNDper 1M tokens
Output tokens
199.355 TNDper 1M tokens
1,000 requests with 1K input and 500 output tokens cost about 199.355 TND.
Specifications
- Provider
- OpenAI
- Context window
- 8,191 tokens
- Input modality
- Text, Image
- Added
- May 28, 2023
- Supported parameters
frequency_penaltylogit_biaslogprobsmax_completion_tokensmax_tokenspresence_penaltyresponse_formatseed