ResearchOpenAI
OpenAI uses Codex to keep ChatGPT fast
Original title: How OpenAI’s Performance Factory keeps ChatGPT fast
- Date
- Company
- OpenAI
- Type
- Research
- Source
- OpenAIRead the source (opens in a new tab)

Plain language
- What it is
- OpenAI built an automated system called Performance Factory to find and fix performance issues and keep ChatGPT fast. It uses Codex and other AI models to handle these tasks automatically.
- How it works
- The system monitors performance alerts, investigates what caused a slowdown, and proposes a fix. Human engineers review the proposed fix before it is applied, and then the system checks if the speed has returned to normal.
- Where it is available
- This system is used internally in OpenAI's cloud environment to manage ChatGPT and other services. It is not stated in the source if it is available as a public product.
- Example
- In one case, the system investigated failing ChatGPT conversations and traced them to image download errors, which an automated reviewer then double-checked.
For developers
- What it is
- OpenAI developed Performance Factory, an autonomous performance engineering system powered by Codex to automate regression detection, root-cause analysis, and mitigation.
- How it works
- It consists of a task tracker with Markdown-configured workflows, a dispatch loop, a cloud execution API with access to internal repositories and observability tools, and event subscriptions. It runs a Regression Workflow where an agent diagnoses an alert, an adversarial agent reviews the diagnosis, Codex generates a pull request, and a final agent verifies recovery post-deployment.
- Where it is available
- It runs in OpenAI's internal cloud network, integrated with their code repositories, observability tools, and GitHub.
- Example
- The system was used to investigate ChatGPT first token latency regressions and to diagnose failing conversations by analyzing image download errors.
The original post
The headline and explanation on this page are based on OpenAI's post. The full details are in the original.
How OpenAI’s Performance Factory keeps ChatGPT fast
Read the source (opens in a new tab)