Description
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.
API Usage Examples
OpenAI Compatible Endpoint
Use this endpoint with any OpenAI-compatible library. Model: OpenAI: GPT-3.5 Turbo (openai/gpt-3.5-turbo)
curl https://api.ridvay.com/v1/chat/completions -H "Content-Type: application/json" -H "Authorization: Bearer YOUR_API_KEY" -d '{
"model": "openai/gpt-3.5-turbo",
"messages": [
{
"role": "user",
"content": "Explain the capabilities of the OpenAI: GPT-3.5 Turbo model"
}
],
"temperature": 0.7,
"max_tokens": 1024
}'
Supported Modalities
- Text
API Pricing
- Input: 0.5$ / 1M tokens
- Output: 1.5$ / 1M tokens
Token Limits
- Max Output: 4,096 tokens
- Max Context: 16,385 tokens
Subscription Tiers
- free
- pro
- ultimate