GPT-6 Astra Codes COBOL and Other Low-Resource Languages
On October 19, 2026, OpenAI published evaluation results that push the LLM benchmarks 2026 conversation into a corner most vendors avoid: legacy code. The headline is that GPT-6 Astra, run at maximum reasoning effort, reaches an average test pass rate of 87.4% across 20 programming languages on a new benchmark called MultiLangBench, up from 26.8% for the previous GPT-5.6 Sol. The languages where it matters most are the ones with the least training data — COBOL jumped from 10.9% to 72.1%, Fortran from 21.4% to 83.5%, OCaml from 25.6% to 85.8%, and Visual Basic from 27.5% to 89.4%. A separate COBOL migration evaluation shows GPT-6.1 Sol rewriting existing COBOL into modern languages at an 86.6% success rate at low reasoning effort, against 5.4% for the prior generation.
The reason to pay attention is not the scores themselves, which come from OpenAI’s own evaluations and need independent verification. It is that the benchmark finally measures the thing enterprises actually care about: whether a model can build a working program that operates correctly on a real file, not whether it can emit code that looks right.
What “low-resource” actually means
Low-resource programming languages are languages with far less source code and technical documentation available for model training than giants like Python and JavaScript. COBOL, Fortran, and Visual Basic are not dead languages; they run critical infrastructure and essential services around the world. COBOL alone still underpins banking, insurance, and government mainframes, and the US Nuclear Regulatory Commission references Fortran codes in its computer-code library.
The problem is structural, not stylistic. Documentation is often incomplete. The original developers may have left the company decades ago. Important business rules live only in the code itself, unstated anywhere else. OpenAI says the work was guided directly by feedback from developers and enterprise customers who told them that coding models consistently struggle with exactly these languages. Maintaining and modernizing that software is where the real cost and the real risk sit.
MultiLangBench: rebuilding SQLite, scored on the file
The interesting design decision in MultiLangBench is what it scores. The task is to build a SQLite-compatible database engine from scratch in a specified language, given the official SQLite 3.40.1 documentation as a reference. That means organizing a codebase, managing state, handling errors, and adding features while preserving existing behavior — the hard, unglamorous parts of software engineering.
What makes it unusual is the scoring interface. The candidate program receives an initial database file and a SQL query, and produces a modified database. The evaluator then uses the reference SQLite implementation to check whether the resulting file has the expected contents. Because every implementation is judged by the same on-disk format, the test works identically across 20 different languages, and it cleanly separates programs that genuinely process SQL from programs that merely accept a statement and print a plausible result. A program that updates the wrong bytes in the file fails, no matter how clean its code looks.
OpenAI adapted the benchmark from SQLite’s existing test suite, converting roughly 24,000 of SQLite’s 51,000 TCL tests. The README recommends a 272-test subset for routine evaluations, which matters when you read any score: the numbers are meaningful relative to that test set, not the entire upstream suite.
The per-language numbers
The headline average hides a meaningful spread. At maximum reasoning effort, GPT-6 Astra clears 83% in 19 of the 20 languages, with COBOL remaining the hardest at 72.1%. Here is the picture across the four languages OpenAI calls out, comparing GPT-5.6 Sol to GPT-6 Astra:
| Language | GPT-5.6 Sol | GPT-6 Astra | Gain |
|---|---|---|---|
| COBOL | 10.9% | 72.1% | +61.2 pts |
| Fortran | 21.4% | 83.5% | +62.1 pts |
| OCaml | 25.6% | 85.8% | +60.2 pts |
| Visual Basic | 27.5% | 89.4% | +61.9 pts |
The consistency of the gain — roughly 60 points across four very different languages — is the notable pattern. It suggests the improvement is not a language-specific patch but a general jump in the model’s ability to hold a codebase together over a long coding session in a language it has seen little of.
There is also a cost story. GPT-6 Luna, a lower-cost sibling, also improves on GPT-5.6 Sol in every language but lands at a 40.3% average at maximum effort, at an estimated $0.77 per sample versus $3.48 for GPT-5.6 Sol — roughly 78% cheaper. That is the tradeoff line a budget-conscious team has to draw: Astra for the hard rewrite, Luna for the high-volume, low-stakes work.
How the model family splits the work
The GPT-6 series is not one model but a family, and the naming matters for anyone trying to pick one. GPT-6 Astra is the top-tier coding model, the one behind the 87.4% figure, and it needs maximum reasoning effort to get there. GPT-6 Luna is the cost-optimized sibling, still beating the prior generation in every language but landing at a 40.3% average for roughly 78% less money. GPT-5.6 Sol is the previous generation these are measured against, and GPT-6.1 Sol is the model used in the COBOL migration evaluation.
The practical consequence is that “GPT-6” as a label tells you almost nothing until you know which tier and which reasoning effort. A team that reads “GPT-6 gets 87.4% on COBOL” and budgets accordingly will be surprised when they run the Luna tier and get 17.1% on the same COBOL test. The benchmark results are published per-language and per-model on GitHub, and the responsible move is to check the exact row that matches the model you can actually afford to run.
The COBOL migration evaluation
The second evaluation answers a different and, for banks, more urgent question: can a model rewrite an existing COBOL program into C++, Java, Kotlin, Python, or Rust while preserving its exact behavior? This is the “modernize without breaking the ledger” problem.
OpenAI reports GPT-6.1 Sol achieving an 86.6% success rate at low reasoning effort, against 5.4% for GPT-5.6 Sol under the same conditions, while holding API cost at 61% of the older model’s. At higher reasoning effort the success rate reaches 97.9%. The two figures are measured at different effort settings, so they should not be combined, but the gap between 5.4% and 86.6% at like-for-like effort is the number that matters. The pass criterion here is stricter than MultiLangBench: a migration passes only if its output exactly matches the original program on all hidden tests, down to rounding, missing-record handling, and exception behavior.
Why this matters for legacy systems specifically
The COBOL problem is a demographic problem wearing a technical costume. The code runs fine; the people who understand it are retiring. When a bank needs to change a business rule buried in a 40-year-old COBOL program, it often has no complete specification to hand a new engineer — the rule exists only in the code. OpenAI’s framing is that documentation may be incomplete, original developers may have left the company, and important business rules may exist only in code. That is not a hypothetical; it is the standard condition of legacy estates.
A model that can read COBOL, preserve behavior, and emit a working rewrite in a language the next generation of engineers actually wants to maintain attacks the root cause directly: it converts tacit knowledge locked in code into a maintainable artifact. The migration evaluation’s pass criterion — output must exactly match the original on hidden tests — is precisely the property a bank needs before it will consider touching a ledger-adjacent program. This is why the 86.6% low-effort migration number, more than the 87.4% MultiLangBench average, is the one enterprise architects should anchor on.
Where this fits an enterprise AI adoption guide
If you are writing an enterprise AI adoption guide for legacy modernization, this work changes the framing of the conversation. The old assumption was that COBOL modernization was too risky for AI to touch and too expensive for humans to do, leaving the systems frozen in place. These results suggest a middle path: an AI model drafts the migration, and a small team of engineers verifies behavior against a test harness.
But the guide should also carry a warning, and OpenAI states it plainly: production deployment requires expert review and testing that accounts for business rules and dependencies on external systems. A high benchmark score does not mean an existing system can be migrated at that rate, and a 97.9% migration success on an evaluation does not prove any specific business system can be moved safely. All of these figures come from OpenAI’s own evaluations, and whether they hold in real enterprise environments still needs to be verified independently.
The practical takeaway for a team is to measure the languages and codebases you actually use, not the 20-language average. And in migration specifically, confirm that the same inputs produce the same outputs before and after, all the way down to rounding and error cases.
Limitations and caveats
The first caveat is provenance. These are self-reported benchmarks from the model vendor, and the evaluation setup has been released on GitHub precisely so third parties can reproduce or dispute the numbers. Until independent labs run MultiLangBench against other models, the 87.4% should be treated as a strong claim, not an established fact.
The second caveat is that the benchmark tests a constrained, self-contained task — building a SQLite-compatible engine — not the messy reality of an enterprise codebase with decades of accumulated business rules, batch jobs, and third-party integrations. The COBOL migration evaluation is closer to reality but still operates on isolated programs rather than full systems.
The third caveat is cost and effort asymmetry. The 87.4% figure is at maximum reasoning effort, which is the most expensive way to run the model. Most teams will run somewhere between Luna and Astra, and the relevant number for them is the 40.3% line, not the 87.4% one.
Who should use this, and who should not
Use these models if you maintain COBOL, Fortran, OCaml, or Visual Basic systems and have a test harness that can verify behavioral equivalence — you are the audience this was built for. Use the Luna tier if you have high-volume, low-stakes maintenance tasks where a 40% hit rate at 78% lower cost is good economics.
Do not use this to unilaterally migrate a live financial or safety-critical system without human review, and do not read the headline as a green light to retire your COBOL engineers. The model is strongest exactly where a verification harness already exists, and weakest where behavior is undocumented and only a person knows what “correct” means.
The broader signal is worth stating plainly. For years the consensus was that low-resource languages were a permanent blind spot for coding models, because the training data simply did not exist. These results suggest the constraint was not the absence of data but the absence of the right kind of training and evaluation — and that the gap can be closed faster than anyone in the COBOL-maintenance business expected.