OpenAI Maintains Software with GPT-6: 1,400+ PRs, 800k Lines, 92%-for-14%
OpenAI's Core Experimentation team details GPT-6-powered maintenance: 1,400+ dead-code PRs, stale-experiment retirement, and a comparison where 6.1 Sol Ultra matched 92% of Astra's findings at 14% of the cost.
Marketing copy about OpenAI's models is everywhere; a first-person account by an OpenAI engineer of using those models to maintain the company's own software is rare. Maintaining software with the GPT-6 family appeared on the developers.openai.com blog with a page date of Oct 14, 2026, written by an engineer on the Core Experimentation team — the group that "builds and maintains the software that supports experiments across the company." This site fetched the full text on 2026-10-18; every number below comes from the post, and all of it is officially self-reported.
Dead code: a typo-laden one-liner replaces homegrown static analysis
Act one is dead code. The author recalls the pre-agentic setup — complex static-analysis systems wired into runtime logging — and the incidents when removals went wrong anyway. The turning point came in the GPT-5.6 Sol era: targeted prompts with clear validation criteria let the model write the static analysis and remove dead code itself, at similar reliability and lower maintenance cost. GPT-6 Astra lowered the bar further: one short prompt, typos and all, explicitly inviting the model to "check slack, statsig ... or any other source you need."
Astra's evidence trail is the most informative part of the post: it read past PRs, Slack threads, and internal project trackers, and inspected production performance profiling tables to confirm the deleted lines were never reached — explaining its rationale for each deletion. Five engineers then ran variations of the prompt across repositories, merging more than 1,400 PRs and deleting over 800k lines part-time over two weeks. The officially reported gains: one service's container image shrank from 3.31GB to 1.72GB (48%), and another cleanup removed about 400 visual snapshot variants from the test suite.
Stale experiments: having Astra write its own audit prompt
Act two is harder — stale experiments are not necessarily unused, and a wrong removal breaks production. The author brainstormed with Astra and had the model draft a /goal audit prompt: scan the whole repository for Statsig gates, configs, experiments, and layers (including indirect usages through enums, constants, wrappers, aliases, schemas, dynamically assembled names, and cross-service consumers), reconcile production-referenced constants, preserve killswitches, and "do not stop after producing a conservative shortlist."
The result: hundreds of experiments and feature flags retired. The showpiece case shows the model's judgment — a single line of Python from years ago mapped an internal override flag to all other flags, hiding among hundreds of similar mappings and causing significant CPU fan-out. Astra quantified the cost but escalated for human review because the flag was explicitly marked "Permanent" in the management console; after review it was removed, with an estimated 0.42% CPU saving in the main affected service.
The model comparison: 92% of the findings at 14% of the cost
Act three is cost. The author ran the same audit on three model/effort combinations, over subdirectories covering 6,000+ files and 1 million lines of Python, TypeScript, Go, and Rust, validating the findings by hand:
| Combination | API cost | Findings | Cost per finding |
|---|---|---|---|
| GPT-6 Astra Ultra | $109.06 | 142 | $0.77 |
| GPT-6.1 Sol Ultra | $15.12 | 131 | $0.12 |
| GPT-6.1 Sol Medium | $5.27 | 86 | $0.06 |
The official framing: GPT-6.1 Sol Ultra produced 92% as many findings as GPT-6 Astra Ultra at 14% of the API cost; Medium is cheaper still but finds less. Costs use standard API pricing and include research subagents and the follow-up turns Codex ran automatically. The discrepancy pattern is named too: on Ultra, most of the gap came from constant feature flags used as dependencies in other flags — Astra identified those, 6.1 Sol missed them — and OpenAI recommends folding such patterns into prompts while warning that future model releases can make the corrections obsolete.
CI speedups, and OpenAI's own caveat
The post closes by pointing the same method at CI: a prompt that ranks load-reduction ideas by estimated daily CI minutes saved led to about 30 optimization PRs; median CI completion fell from roughly 10 minutes to 4.5, and the 90th percentile from 12.5 to 6. One standalone fix — adding a missing mock — cut a 63-test resolver suite from 592.6 seconds to 29.8 seconds, a 95% reduction with all 63 tests retained.
The post declines to mythologize: some proposals, it says, added more complexity than their expected benefit justified, and prioritization and measurement remained an important part of the workflow — in larger codebases the models find more optimizations than a team can absorb, and instrumentation is what kept that from becoming noise.
Next steps
- Teams wanting to replicate: the three /goal prompts (flaky-test fixes, AGENTS.md instruction audits, CI load-reduction rankings) are copyable from the post; OpenAI suggests starting with GPT-6.1 Sol Medium and raising effort if results are promising.
- Tracking model positioning: this site's The GPT-6 family grows: gpt-6-sol, gpt-6-luna, gpt-6.1-sol land in the official SDKs holds the type-level facts on the four model IDs in the SDK enums; this post adds their official self-reported cost profile on a real task.
- Citation note: every figure here is OpenAI's own (including internal estimates like the 0.42% CPU saving); third parties cannot audit them, so cite with that framing.
Key points
- The author is on OpenAI's Core Experimentation team; the post lives on developers.openai.com's blog, page dated Oct 14, 2026 (fetched in full by this site on 2026-10-18); the two model leads are GPT-6 Astra and GPT-6.1 Sol, with GPT-5.6 Sol as the historical baseline
- Dead code: the starting point was one short prompt with typos intact (the original invites checking Slack and Statsig). Astra read past PRs, Slack threads, internal project trackers, and production performance profiling tables to confirm deleted lines were never reached; 5 engineers then ran prompt variations across repositories, merging more than 1,400 PRs and deleting over 800k lines part-time over two weeks
- Officially reported measurable gains: one service's container image shrank from 3.31GB to 1.72GB (a 48% reduction), and another cleanup removed about 400 visual snapshot variants from the test suite
- Stale experiments: Astra authored its own /goal audit prompt, scanning the whole codebase for Statsig gates, configs, experiments, and layers including indirect usages; hundreds of experiments and feature flags were retired. Showpiece case: a single line of Python mapping an internal override flag to all other flags was located as a CPU fan-out source — Astra escalated it for human review because the flag was marked Permanent in the management console; after review it was removed, with an estimated 0.42% CPU saving in the main affected service
- Same-task comparison (subdirectories covering 6,000+ files and 1M lines of Python/TypeScript/Go/Rust, findings human-validated): GPT-6 Astra Ultra cost $109.06 for 142 findings at $0.77 each; GPT-6.1 Sol Ultra $15.12 for 131 at $0.12; GPT-6.1 Sol Medium $5.27 for 86 at $0.06. Official framing: 6.1 Sol Ultra produced 92% as many findings as Astra Ultra at 14% of the API cost; costs use standard API pricing and include research subagents plus Codex's automatic follow-up turns
- CI and the caveat: the same method landed about 30 CI optimization PRs; median CI completion fell from roughly 10 minutes to 4.5 and the 90th percentile from 12.5 to 6; one missing-mock fix cut a 63-test resolver suite from 592.6s to 29.8s (a 95% reduction, all 63 tests retained). OpenAI's own caveat: some proposals added more complexity than their expected benefit justified — prioritization and measurement remained part of the workflow
Frequently asked questions
Official references
Related articles
Codex CLI 0.163.0, Explained: Daybreak On by Default, Instant Interrupts, /config Search
The 0.163 preview line closes into a stable release: Daybreak on by default for eligible accounts, instant interrupts by default, /config preference search, a leader key, parallel read-only tools — and the bundled zsh is gone.
Read articleCodex CLI 0.156–0.162, Explained: Voice by Default, GPT-6.1 Sol as Default Model, Worktrees and Command Center
Seven stable releases since our 0.155 coverage: voice on by default, GPT-6 Sol/Luna, GPT-6.1 Sol as default model, MCP OAuth client secrets, Git worktree tools, Command Center pinning — mapped against the official release notes.
Read articleCodex Cloud Setup: Environments, Cloud Tasks, and the codex cloud CLI
Codex Cloud (called Codex Web in the source) is the hosted Codex surface: tasks run in cloud environments organized per GitHub repo, and the codex cloud CLI submits, tracks, and pulls diffs back to your machine.
Read articleSubscribe to GPTMap Weekly
One email every Monday: curated OpenAI updates, deep dives, and best practices. No ads, unsubscribe anytime.
Submitting opens Buttondown in a new tab to confirm your subscription.