MODELS / OPENAI

GPT 5.2 Codex

GPT‑5.2-Codex is a version of GPT‑5.2⁠ further optimized for agentic coding in Codex, including improvements on long-horizon work through context compaction, stronger performance on large code changes like refactors and migrations, improved performance in Windows environments, and significantly stronger cybersecurity capabilities.

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

Call it in one request.

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

SHELL
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.2-codex",
    "messages": [{ "role": "user", "content": "Hello!" }],
    "stream": true
  }'
INPUT: image, textOUTPUT: textRELEASED: 2025-12-18