Description
GPT-5.1-Codex is a specialized version of GPT-5.1 optimized for software engineering and coding workflows. It is designed for both interactive development sessions and long, independent execution of complex engineering tasks....
API Usage Examples
OpenAI Compatible Endpoint
Use this endpoint with any OpenAI-compatible library. Model: OpenAI: GPT-5.1-Codex (openai/gpt-5.1-codex)
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",
"messages": [
{
"role": "user",
"content": "Explain the capabilities of the OpenAI: GPT-5.1-Codex model"
}
],
"temperature": 0.7,
"max_tokens": 1024
}'Supported Modalities
- Text
- Images
API Pricing
- Input: 1.25$ / 1M tokens
- Output: 10$ / 1M tokens
Token Limits
- Max Output: 128,000 tokens
- Max Context: 400,000 tokens
Subscription Tiers
- free
- pro
- ultimate