OpenAI puts GPT-6 Astra at 87.4% on 20-language coding benchmark
OpenAI’s MultiLangBench results test database implementation across 20 languages, while a separate COBOL migration evaluation requires exact output parity. Production use still needs expert review.

OpenAI’s GPT-6 Astra achieved an average test pass rate of 87.4% across 20 programming languages in the company’s MultiLangBench evaluation, DeveloperTech reports. The published work also includes a separate test of whether models can move existing COBOL programs into other languages without altering their observable behaviour.
MultiLangBench uses a database-building task rather than isolated programming questions. Each model must implement an engine compatible with SQLite in the language under evaluation. It receives a database file and an SQL query, makes the requested changes, and returns a database whose contents are checked against SQLite’s reference implementation.
The shared file interface lets the evaluation test implementations written in different languages. Its tests draw on SQLite’s established suite, and the published results track API expenditure alongside the proportion of tests passed. Completing the task requires code organisation, state management and error handling, with new features added without breaking functionality already implemented. OpenAI has made the evaluation setup, test suite and individual-language results available on GitHub.
At the highest reasoning setting, Astra exceeded 83% in 19 languages. Its weakest language was COBOL, with a 72% result. Visual Basic, OCaml and Fortran are also among the languages covered; developer and enterprise customer feedback informed OpenAI’s selection.
The work targets languages embedded in systems that are difficult to replace. OpenAI’s framing puts COBOL in more than 40% of online banking systems, 80% of credit-card transactions conducted in person and 95% of ATM transactions. Fortran is used in weather prediction and analysis of nuclear reactor safety.
Maintenance can depend on business rules preserved only in software, especially when documentation is incomplete or the original developers have departed. Bug fixes and migrations both need to retain the behaviour those systems rely on.
The separate migration evaluation starts with COBOL programs and asks models to translate them into C++, Java, Kotlin, Python or Rust. Success requires every hidden test to pass: observable output must match byte for byte. Arithmetic semantics can determine whether a translation qualifies. In COBOL, fixed-point operations drop surplus decimal digits unless rounding has been expressly requested.
At low reasoning effort, OpenAI’s GPT-6.1 Sol reached 86.6% accuracy on that migration task, compared with 5.4% for GPT-5.6 Sol under the same setting. OpenAI reported API spending 39% below the comparison model’s cost, equivalent to 61% of that cost. Raising reasoning effort brought accuracy to 97.9%; OpenAI characterises the evaluation as nearing saturation at that level.
GPT-6 Luna provides a different cost-and-accuracy comparison. OpenAI measured its MultiLangBench average at 40.3% with reasoning effort maximised, ahead of GPT-5.6 Sol in every tested language. Luna’s individual pass rates were 17.1% for COBOL, 31.4% for Fortran, 34.1% for OCaml and 41.6% for Visual Basic.
Its estimated mean API cost per sample was $0.77, against $3.48 for GPT-5.6 Sol, approximately 78% lower. Those figures concern running the evaluation, not measured savings from operating a migrated production system.
The models are available for coding through OpenAI’s API. OpenAI still requires expert review and testing against business rules and dependencies for production use: the evaluations establish performance on specified tests, not readiness to run live systems.




















