MODELS / OPENAI

GPT 5.1 Codex Max

GPT‑5.1-Codex-Max is purpose-built for agentic coding.

TEXTREASONINGFILE-INPUTIMPLICIT-CACHINGREASONINGTOOL-USEVISIONWEB-SEARCH
400K
CONTEXT WINDOW
128K
MAX OUTPUT TOKENS
$1.25
INPUT PRICE / 1M TOKENS
$10
OUTPUT PRICE / 1M TOKENS
QUICKSTART

Call it in one request.

OpenAI-compatible: change the base URL, and the setup is complete.

curl https://enterprise.blackbox.ai/v1/chat/completions \
  -H "Authorization: Bearer $BLACKBOX_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "blackboxai/openai/gpt-5.1-codex-max",
    "messages": [{ "role": "user", "content": "Hello!" }],
    "stream": true
  }'
SPECIFICATIONS

The full spec sheet.

Context, pricing, modalities, routing, and deployment: everything GPT 5.1 Codex Max supports, in one table.

MODEL ID
blackboxai/openai/gpt-5.1-codex-max
DEVELOPED BY
OpenAI
MODEL TYPE
Text
RELEASED
Nov 19, 2025
CONTEXT WINDOW
400K
MAX OUTPUT TOKENS
128K
INPUT MODALITIES
text, image, pdf
OUTPUT MODALITIES
text
INPUT PRICE
$1.25 / 1M tokens
OUTPUT PRICE
$10 / 1M tokens
CACHE READ
$0.125 / 1M tokens
REASONING
Supported
DATA RETENTION
Standard retention
DEDICATED DEPLOYMENT
Not available (closed-weight model)
SUPPORTED PARAMETERS
max_tokenstemperaturestoptoolstool_choicereasoninginclude_reasoning