Description
The preview GPT-4 model with improved instruction following, JSON mode, reproducible outputs, parallel function calling, and more. Training data: up to Dec 2023. **Note:** heavily rate limited by OpenAI while in preview.
API Usage Examples
OpenAI Compatible Endpoint
Use this endpoint with any OpenAI-compatible library. Model: OpenAI: GPT-4 Turbo Preview (openai/gpt-4-turbo-preview)
curl https://api.ridvay.com/v1/chat/completions -H "Content-Type: application/json" -H "Authorization: Bearer YOUR_API_KEY" -d '{
"model": "openai/gpt-4-turbo-preview",
"messages": [
{
"role": "user",
"content": "Explain the capabilities of the OpenAI: GPT-4 Turbo Preview model"
}
],
"temperature": 0.7,
"max_tokens": 1024
}'
Supported Modalities
- Text
API Pricing
- Input: 10$ / 1M tokens
- Output: 30$ / 1M tokens
Token Limits
- Max Output: 4,096 tokens
- Max Context: 128,000 tokens
Subscription Tiers
- free
- pro
- ultimate