OpenAI: GPT-3.5 Turbo
OpenAIModerated
openai/gpt-3.5-turboAbout this model
GPT-3.5 Turbo is OpenAI's fastest model. It can understand and generate natural language or code, and is optimized for chat and traditional completion tasks. Training data up to Sep 2021.
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-3.5-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
1.661 TNDper 1M tokens
Output tokens
4.984 TNDper 1M tokens
1,000 requests with 1K input and 500 output tokens cost about 4.153 TND.
Specifications
- Provider
- OpenAI
- Context window
- 16,385 tokens
- Input modality
- Text
- Added
- May 28, 2023
- Supported parameters
frequency_penaltylogit_biaslogprobsmax_tokenspresence_penaltyresponse_formatseedstop