OpenAI's newest models get far better at COBOL and Fortran
OpenAI says GPT-6 Astra passes 87.4% of its new MultiLangBench tests across 20 languages and GPT-6.1 Sol hits up to 97.9% on COBOL migration, with the benchmark released on GitHub.

Coding models are usually strongest in Python and JavaScript, where there is endless code to learn from. OpenAI now says its latest models have made a big jump in "low-resource" languages such as COBOL, Fortran, OCaml and Visual Basic, which have far less public code and documentation but still run banking systems, card payments, weather forecasting and nuclear safety analysis.
Two new evaluations
To measure progress, OpenAI built two tests. MultiLangBench asks a model to build a SQLite-compatible database engine from scratch in one of 20 languages. Results are checked through the database files themselves: the program gets a database and a SQL query, produces a new database, and the reference SQLite tells whether the contents are right. The tests are adapted from SQLite's own suite.
The second test asks models to migrate COBOL programs to C++, Java, Kotlin, Python or Rust. Hidden tests demand byte-for-byte identical output, and a migration only counts if every test passes. That matters because COBOL details like fixed-point arithmetic that drops extra decimals can quietly change financial results if a rewrite rounds instead.
The results
At maximum reasoning effort, GPT-6 Astra reached an average pass rate of 87.4% across the 20 languages, up from 26.8% for GPT-5.6 Sol, and scored above 83% in 19 of them. COBOL is still the hardest at 72.1%, up from 10.9%. GPT-6 Luna, the cheaper option, averaged 40.3% at an estimated $0.77 per sample, compared with $3.48 for GPT-5.6 Sol.
On COBOL migration, GPT-6.1 Sol reached 86.6% accuracy at low reasoning effort, versus 5.4% for GPT-5.6 Sol, at 61% of the API cost. At higher effort it hit 97.9%, close to saturating the test.
OpenAI is publishing the MultiLangBench setup, test suite and per-language results on GitHub, so teams can check performance in the languages they actually use.
Why it matters for builders
Legacy modernization is one of the largest and least glamorous software markets, and it has been a weak spot for AI coding tools. If you maintain old systems, these models are worth a fresh test on real repositories. OpenAI itself notes that production migrations still need expert review and testing against business rules. For tool builders, the open benchmark is a useful way to compare models before choosing one for a code agent that works beyond mainstream languages.
Source: OpenAI. This article is PickAI’s own summary and analysis based on the original reporting, prepared with AI assistance under our editorial policy.