AICredits logo
openaivision

OpenAI: GPT-5.1-Codex-Max

openai/gpt-5.1-codex-max

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...

Supported APIs

Chat APIResponses APIVision
Context
400K
Max output
Input / 1M
₹125.81
Cached / 1M
₹12.58
Output / 1M
₹1006.52

Pricing

Token typeUSD / 1MINR / 1M
Input$1.25₹125.81
Cached inputprompt cache read$0.12512.58
Output$10.00₹1006.52

INR prices include forex conversion. Billed per token in your wallet. See the cost calculator.

Quickstart

Call OpenAI: GPT-5.1-Codex-Max through the supported APIs shown above — just set the base URL and your AICredits key.

cURL — /v1/chat/completions
curl https://api.aicredits.in/v1/chat/completions \
  -H "Authorization: Bearer $AICREDITS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "openai/gpt-5.1-codex-max",
    "messages": [{ "role": "user", "content": "Hello!" }]
  }'

New here? Follow the quickstart guide or browse all models.