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.

Models2 min readBy
OpenAI's newest models get far better at COBOL and Fortran
Image: OpenAI

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.

Enjoyed this story? Get PickAI Weekly

Get the week’s best new AI tools and news — one email a week, free. No spam, unsubscribe anytime.

Related AI news

All news →
OpenAI

OpenAI launches GPT-6.2 Astra and Sol, cheaper and stronger at work

OpenAI has released GPT-6.2 Astra for hard projects and GPT-6.2 Sol for everyday work, with better results on fewer output tokens. Both are in ChatGPT Work, Codex and the API for Plus, Pro, Enterprise and Edu users, and Astra's API prices are 20% lower than GPT-6 Astra's.

OpenAI

OpenAI shows Astra and Codex designing a physical device and speeding up CAD, PCB and simulation work

OpenAI says its hardware teams' token use has grown 23-fold since February, and that GPT-6 Astra designed the enclosure, circuit board and firmware of a Codex voice device with no direct human edits, though it missed manufacturing tolerances. It is also working with Chip Ganassi Racing and Mazda.

OpenAI

OpenAI plans a new AI-assisted security sprint with Cathedral and more than quadruples critical bug bounties

OpenAI will bring outside researchers from Cathedral together with its own teams to attack its systems using its models, and is raising Security Bug Bounty rewards for critical findings by more than four times. It also cites $1 billion in subsidized access for defenders through Daybreak.

Get the weekly AI tools drop

New tools and releases for builders, once a week. No spam, unsubscribe anytime.