Description
GPT-4o mini is OpenAI's newest model after [GPT-4 Omni](/models/openai/gpt-4o), supporting both text and image inputs with text outputs. As their most advanced small model, it is many multiples more affordable...
API Usage Examples
OpenAI Compatible Endpoint
Use this endpoint with any OpenAI-compatible library. Model: OpenAI: GPT-4o-mini (openai/gpt-4o-mini)
curl https://api.ridvay.com/v1/chat/completions -H "Content-Type: application/json" -H "Authorization: Bearer YOUR_API_KEY" -d '{
"model": "openai/gpt-4o-mini",
"messages": [
{
"role": "user",
"content": "Explain the capabilities of the OpenAI: GPT-4o-mini model"
}
],
"temperature": 0.7,
"max_tokens": 1024
}'Supported Modalities
- Text
- Images
API Pricing
- Input: 0.15$ / 1M tokens
- Output: 0.6$ / 1M tokens
Token Limits
- Max Output: 16,384 tokens
- Max Context: 128,000 tokens
Subscription Tiers
- free
- pro
- ultimate