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