Developer Reverse Engineers OpenAI's Codex CLI to Access GPT-5-Codex-Mini Model Directly
By
simonw
A baker's-dozen of insight crammed into one ring.
Summary
A developer reverse-engineered OpenAI's Codex CLI tool to gain direct access to the newly released GPT-5-Codex-Mini model, which OpenAI had only made available through their CLI and VS Code extension. The article documents the process of bypassing OpenAI's intended access restrictions to prompt the model directly, including creating a video demonstration of the results. The author acknowledges this approach is somewhat cheeky since OpenAI clearly didn't intend for direct model access yet.
Key quotes
· 4 pulledOpenAI partially released a new model yesterday called GPT-5-Codex-Mini, which they describe as 'a more compact and cost-efficient version of GPT-5-Codex'
It's currently only available via their Codex CLI tool and VS Code extension, with proper API access 'coming soon'
I decided to use Codex to reverse engineer the Codex CLI tool and give me the ability to prompt the new model directly
This is a little bit cheeky - OpenAI clearly don't intend for people to access this model directly
You might also wanna read
OpenAI's Codex 3.0 becomes an autonomous cross-app coding agent with GPT-5.5
OpenAI's Codex 3.0, powered by GPT-5.5, has evolved into a cross-app coding agent that can autonomously navigate browsers, interact with web
OpenAI Launches Daybreak: AI-Powered Cyber Defense Platform for Development Security
OpenAI has launched Daybreak, a cyber defense platform that combines GPT-5.5 and Codex Security to integrate AI-powered threat modeling, vul

OpenAI brings Codex desktop AI tool access to ChatGPT mobile app
OpenAI is rolling out mobile access to Codex, its desktop AI coding tool, through the ChatGPT app on iOS and Android. Users can remotely com
OpenAI brings Codex computer control and mobile access features to Windows
OpenAI has released version 26.527 of the Codex app for Windows, bringing two major features previously exclusive to Mac users: background c
OpenAI's Codex gains autonomous Windows 11 control with remote mobile access
OpenAI has expanded its Codex app to Windows 11 with a new "Computer Use" feature that allows the AI to autonomously control programs, test
OpenAI expands ChatGPT mobile remote access to Codex on Windows
OpenAI has expanded remote access to Codex from ChatGPT's mobile app to Windows users. Previously available only for Mac, ChatGPT for iOS an
9to5mac.com·2d ago