Description
GPT-5.1-Codex-Max is OpenAI’s latest agentic coding model, designed for long-running, high-context software development tasks. It is based on an updated version of the 5.1 reasoning stack and trained on agentic...
API Usage Examples
OpenAI Compatible Endpoint
Use this endpoint with any OpenAI-compatible library. Model: OpenAI: GPT-5.1-Codex-Max (openai/gpt-5.1-codex-max)
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-max",
"messages": [
{
"role": "user",
"content": "Explain the capabilities of the OpenAI: GPT-5.1-Codex-Max 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