Description
This model offers four times the context length of gpt-3.5-turbo, allowing it to support approximately 20 pages of text in a single request at a higher cost. 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 16k (openai/gpt-3.5-turbo-16k)
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-16k",
"messages": [
{
"role": "user",
"content": "Explain the capabilities of the OpenAI: GPT-3.5 Turbo 16k model"
}
],
"temperature": 0.7,
"max_tokens": 1024
}'
Supported Modalities
- Text
API Pricing
- Input: 3$ / 1M tokens
- Output: 4$ / 1M tokens
Token Limits
- Max Output: 4,096 tokens
- Max Context: 16,385 tokens
Subscription Tiers
- free
- pro
- ultimate