Description
GPT-5.1-Codex-Mini is a smaller and faster version of GPT-5.1-Codex
API Usage Examples
OpenAI Compatible Endpoint
Use this endpoint with any OpenAI-compatible library. Model: OpenAI: GPT-5.1-Codex-Mini (openai/gpt-5.1-codex-mini)
curl https://api.ridvay.com/v1/chat/completions -H "Content-Type: application/json" -H "Authorization: Bearer YOUR_API_KEY" -d '{
"model": "openai/gpt-5.1-codex-mini",
"messages": [
{
"role": "user",
"content": "Explain the capabilities of the OpenAI: GPT-5.1-Codex-Mini model"
}
],
"temperature": 0.7,
"max_tokens": 1024
}'Supported Modalities
- Text
- Images
API Pricing
- Input: 0.25$ / 1M tokens
- Output: 2$ / 1M tokens
Token Limits
- Max Output: 100,000 tokens
- Max Context: 400,000 tokens
Subscription Tiers
- free
- pro
- ultimate