On October 19, 2026, OpenAI published two coding evaluations showing sharp gains for its GPT-6 models on COBOL, Fortran, Visual Basic, and 17 other low-resource programming languages. The headline figure: GPT-6.1 Sol reached 97.9% accuracy on a behavior-preserving COBOL migration test. For the roughly 40% of banking systems that still run on COBOL, that number deserves attention from every enterprise IT leader planning a modernization project.

The Scale of the Legacy Code Problem

COBOL is not a footnote. According to IBM estimates cited by OpenAI, the language runs more than 40% of online banking systems, processes 80% of in-person credit card transactions, and powers 95% of ATM transactions worldwide. Fortran still drives weather forecasting models and nuclear reactor safety systems. Visual Basic underpins large portions of corporate operations tooling built in the 1990s and 2000s.

The practical problem is not that these systems fail. They work. The problem is that the people who built them are retiring, documentation is sparse or nonexistent, and migrating to modern languages costs enterprises millions of dollars and years of project time. AI coding models have historically been weak on these languages because there is very little public training code to learn from, compared to Python or JavaScript.

OpenAI says developer and enterprise customer feedback guided its focus on this category. Teams maintaining older infrastructure reported that coding assistants simply did not function well on the languages those systems were written in.

MultiLangBench: A Harder Test Than It Looks

OpenAI’s new evaluation, MultiLangBench, asks a model to build a working SQLite-compatible database engine from scratch in a specified programming language. This is not a short code snippet task. The model must organize a full codebase, manage database state, handle error conditions, and add new features without breaking existing functionality.

The evaluation uses database files as a common interface across all languages. Each implementation receives an initial database and a SQL query, generates a modified file, and the reference SQLite engine checks whether that file matches the expected state. OpenAI adapted tests from SQLite’s existing test suite so the same functional standard applies across all 20 languages.

The results at maximum reasoning effort show a significant jump for GPT-6 models:

LanguageGPT-5.6 SolGPT-6 Astra
COBOL10.9%72.1%
Fortran21.4%83.5%
OCaml25.6%85.8%
Visual Basic27.5%89.4%
Average (20 languages)26.8%87.4%

GPT-6 Astra scored above 83% in 19 of the 20 languages tested. COBOL remained the hardest at 72.1%, a result OpenAI attributes to the language’s particularly sparse representation in public code corpora and its fixed-point arithmetic semantics that differ fundamentally from modern languages.

OpenAI also released the MultiLangBench evaluation setup and test suite on GitHub under Apache 2.0. Teams can run their own models or use the 272-test subset for routine evaluation, with the full suite of approximately 24,000 tests available for high-precision measurement.

The Migration Test: Behavior Preservation Under the Microscope

The second evaluation addresses a different and harder engineering task: rewriting an existing COBOL program in a modern language while keeping its observable outputs identical.

This matters because COBOL programs often encode business rules that exist nowhere else. Documentation may be absent. The original developers may no longer be with the organization. The program itself becomes the specification. A rewrite that produces slightly different numbers, handles missing records differently, or rounds decimal digits in a way the original code did not will produce incorrect results without triggering any compilation error.

OpenAI’s migration test requires byte-for-byte parity on observable outputs across every hidden test case. A migration counts as successful only when it passes every test, not a percentage of them.

The results for GPT-6.1 Sol:

Reasoning EffortGPT-5.6 SolGPT-6.1 Sol
Low5.4%86.6%
HighNot published97.9%

The jump from 5.4% to 86.6% at low reasoning effort represents a fundamental capability shift. Getting from there to 97.9% at higher reasoning effort is significant for enterprise teams weighing whether to use AI assistance as a first-pass migration tool.

At low reasoning effort, GPT-6.1 Sol also costs 39% less than GPT-5.6 Sol did, making the economics of AI-assisted migration more tractable for large codebases.

What This Means for Enterprise IT Teams

Three practical implications stand out.

First, AI-assisted migration is moving from “interesting prototype” to “viable first-pass tool.” A 97.9% migration accuracy does not mean enterprise teams can skip validation. But it does mean that a first-pass migration of a COBOL codebase no longer requires every program to be rewritten manually by a specialist. The AI handles the structural translation; the human expert reviews, validates against business rules, and signs off. That changes the economics of a project that previously required years and eight-figure budgets for large institutions.

Second, COBOL specialists are a finite and shrinking resource. Organizations that have delayed modernization because of cost and talent scarcity now have a materially different calculus. AI assistance does not replace the need for COBOL domain expertise, but it extends the reach of a small team of specialists across a larger codebase.

Third, Fortran modernization in scientific and engineering domains follows a similar pattern. The same models that improved COBOL performance showed comparable gains on Fortran (21.4% to 83.5% on MultiLangBench). Teams maintaining numerical simulation code for climate modeling, structural analysis, or industrial control systems face analogous modernization constraints.

There are real limits to acknowledge. OpenAI notes that production migrations require expert review and testing against actual business rules and dependencies, not just the hidden tests in its evaluation. A program that handles payment rounding or regulatory calculations must be validated against real workloads before deployment. The 2.1% of programs that fail the migration test at high reasoning effort are not evenly distributed: harder programs with unusual arithmetic or complex record handling are more likely to be in that fraction.

The Cost Dimension

For enterprises evaluating the cost of AI-assisted migration at scale, GPT-6 Luna provides a useful reference point.

Luna achieved a 40.3% average pass rate on MultiLangBench at maximum effort, well below Astra’s 87.4%. Its COBOL MultiLangBench result was 17.1%. But OpenAI estimates Luna’s average API cost at $0.77 per sample, compared to $3.48 for GPT-5.6 Sol, a 78% reduction.

For a migration project, this creates a practical workflow: use Luna for initial scanning and scoping of a codebase at low cost, then apply Astra or GPT-6.1 Sol to programs that require higher accuracy or handle critical financial logic. The combination allows teams to allocate compute budget where it matters most.

Where Enterprise AI Goes Next

The COBOL story is one chapter in a broader pattern: AI models moving from general-purpose coding assistance into specific, high-value enterprise workflows where they displace expensive, scarce specialist labor.

The enterprise AI adoption gap documented earlier this year showed that most large organizations recognized AI potential in IT operations but had not yet changed their project economics. Results like these shift that calculation. When a task that required a six-month specialist engagement becomes a weeks-long AI-assisted review process, the decision timeline changes.

For teams building or evaluating autonomous AI systems for enterprise operations, legacy code modernization is a clear near-term deployment target: constrained scope, measurable outcomes, and a direct path to reducing technical debt.

OpenAI’s MultiLangBench is available at GitHub under Apache 2.0 for teams that want to test their own models or evaluate specific languages in their portfolio before committing to a migration approach.

If you are mapping an AI-assisted modernization strategy for your organization, speak with the Enera team about how to structure the evaluation and implementation phase.


Sources: OpenAI, Advancing coding in low-resource programming languages (Oct 19, 2026); Engadget, OpenAI Says Its Models Can Help Banks Migrate From Old COBOL Programs (Oct 20, 2026); AI Affairs, OpenAI reports sharp gains for GPT-6 on COBOL and other coding tests (Oct 20, 2026); The Decoder, OpenAI says GPT-6 is much better with legacy programming languages (Oct 20, 2026)