News

⚡ OpenAI's Performance Factory uses Codex to keep ChatGPT fast

OpenAI has detailed an internal system called the Performance Factory, an automated pipeline designed to protect ChatGPT's speed as the product evolves. The system relies on Codex, OpenAI's AI coding agent, to investigate and fix performance regressions with far less manual effort than traditional approaches require.

Performance regressions, where a change to code or infrastructure makes a product slower, are a persistent challenge for any fast-moving service. For a product used as widely as ChatGPT, even small slowdowns can affect responsiveness for a very large number of people. Tracking down the cause typically means engineers sifting through recent changes, reproducing the issue, diagnosing the root cause, and then writing and validating a fix. That process is time-consuming and pulls skilled engineers away from other work.

According to OpenAI, the Performance Factory streamlines this workflow by handing much of the investigative and corrective work to Codex. Rather than relying solely on people to trace and resolve each slowdown, the system uses the agent to speed up both the detection and the remediation stages. The stated goal is to accelerate how quickly regressions are identified and resolved, helping ChatGPT remain fast even as new features and model updates ship continuously.

The approach is also notable as an example of OpenAI applying its own coding agent to its internal engineering operations. By using Codex on real, production-level reliability work, the company effectively demonstrates how AI agents can take on routine but demanding maintenance tasks, freeing human engineers to focus on higher-level design and optimization decisions.

While OpenAI has shared the concept and its purpose, the broader takeaway is clear: as AI products scale, automating performance upkeep with AI itself is becoming a practical strategy for keeping user experience consistent.