News

日本語 · English · 中文

OpenAI Announces Improved Coding Performance for Low-Resource Programming Languages – Achieves 97.9% Accuracy in COBOL Transition

OpenAI demonstrated coding performance in programming languages with limited training data, such as COBOL and Fortran, using two proprietary evaluations on October 19, 2026. In MultiLangBench, which involves creating a SQLite-compatible engine across 20 languages, GPT-6 Astra achieved an average pass rate of 87.4% (compared to 26.8% for GPT-5.6 Sol). In the COBOL migration evaluation, GPT-6.1 Sol scored 97.9% under high reasoning effort settings. The framework and tests for the MultiLangBench evaluations are published on GitHub.

US-based OpenAI announced on October 19, 2026, that its coding capabilities have improved for "low-resource programming languages" such as COBOL, Fortran, and Visual Basic, which have limited training data. According to the company, while these languages have significantly less code and documentation available for model training compared to Python and JavaScript, they underpin critical global infrastructure. COBOL supports more than 40% of online banking systems, 80% of in-person credit card transactions, and 95% of ATM transactions. Meanwhile, Fortran is used in weather forecasting and nuclear reactor safety analysis.

Measuring performance with two evaluations

The company developed two evaluations to measure performance. The first, "MultiLangBench," tests whether a model can build a SQLite-compatible database engine from scratch in 20 programming languages. The model must organize the codebase, manage state, handle errors, and add new features while preserving existing functionality. The evaluation uses the database file as a common interface and verifies result accuracy by comparing it against SQLite’s reference implementation. By adapting SQLite’s existing test suite to this format, the evaluation measures how much functionality can be built during extended coding sessions based on test pass rates and API costs.

The second evaluation tests the ability to migrate COBOL programs to C++, Java, Kotlin, Python, and Rust while maintaining their behavior. COBOL programs often handle financial transactions and business records, with details such as rounding rules and handling of missing records reflecting business requirements. For example, in COBOL’s fixed-point arithmetic, extra decimal places are truncated unless rounding is explicitly specified. If these values are rounded during rewriting, even if execution proceeds without errors, it could produce different financial outcomes. Therefore, hidden tests verify whether observable outputs match byte-for-byte, and migration is considered successful only if all tests pass.

Results of MultiLangBench

In its measurements, with maximum reasoning effort, GPT-6 Astra achieved an average test pass rate of 87.4% across 20 languages, improving from GPT-5.6 Sol’s 26.8%. Improvements were observed in all languages: COBOL rose from 10.9% to 72.1%, OCaml from 25.6% to 85.8%, Fortran from 21.4% to 83.5%, and Visual Basic from 27.5% to 89.4%. Astra scored above 83% in 19 out of 20 languages, with COBOL remaining the most challenging at 72%.

The low-cost version, GPT-6 Luna, also outperformed GPT-5.6 Sol in all languages. With maximum reasoning effort, the average pass rate was 40.3%, with improvements in COBOL from 10.9% to 17.1%, OCaml from 25.6% to 34.1%, Fortran from 21.4% to 31.4%, and Visual Basic from 27.5% to 41.6%. The estimated average API cost was $0.77 per sample, which is approximately 78% lower than GPT-5.6 Sol’s $3.48.

The company has published the MultiLangBench evaluation set and test suite on GitHub, along with results for each language. Developers can review the evaluation content and assess performance in the languages they use.

Results of the COBOL Migration Evaluation

In the COBOL migration evaluation, GPT-6.1 Sol achieved an accuracy of 86.6% under low reasoning effort settings. GPT-5.6 Sol under the same setting scored 5.4%, while GPT-6.1 Sol’s API cost was 61% (39% lower) of GPT-5.6 Sol’s. Under high reasoning effort, accuracy reached 97.9%, with the evaluation considered nearly saturated. The company states that these results demonstrate progress toward more accurate and affordable code migration for teams maintaining and modernizing legacy systems.

How to interpret

All figures presented are OpenAI’s internal evaluations. MultiLangBench publishes its evaluation methodology and tests on GitHub, allowing external developers to verify them under the same conditions. In contrast, the COBOL migration evaluation uses hidden tests, and the problems and tests are not public. The 97.9% figure is based on high reasoning effort settings, for which no cost information is provided.

The comparison targets are previous-generation GPT-5.6 Sol models. MultiLangBench’s 87.4% (GPT-6 Astra) and 40.3% (GPT-6 Luna) are both values achieved with maximum reasoning effort. Costs are only shown for Luna; Astra’s costs are not disclosed.

OpenAI states that the latest models can be tried via API. Furthermore, it notes that for use in production systems, expert review and testing against business rules and dependencies remain essential.

This article was translated from the Japanese original. 日本語で読む

← Latest articles