OpenAI reports stronger AI coding results for COBOL and 19 other languages
NO IMAGE
AI Coding Tools

OpenAI reports stronger AI coding results for COBOL and 19 other languages

OpenAIOct 19, 2026

OpenAI says GPT-6 Astra and GPT-6.1 Sol improved on its new coding evaluations for building SQLite-compatible software and migrating COBOL programs.

OpenAI has published results from two evaluations designed to measure model performance on software tasks in programming languages with comparatively limited training material, including COBOL, Fortran and Visual Basic. The company’s October 19, 2026 report covers building a SQLite-compatible database engine across 20 languages and migrating COBOL programs while preserving their behavior.

On MultiLangBench, OpenAI reports that GPT-6 Astra achieved an average test pass rate of 87.4% across the 20 languages at maximum reasoning effort. That compares with 26.8% for GPT-5.6 Sol. Astra scored above 83% in 19 languages; COBOL was the most difficult, with a 72.1% pass rate. OpenAI also reported improvements in OCaml, Fortran and Visual Basic. GPT-6 Luna averaged 40.3%, with an estimated API cost of $0.77 per sample, compared with $3.48 for GPT-5.6 Sol—about 78% lower, according to the company.

The second evaluation tests translations from COBOL into C++, Java, Kotlin, Python or Rust. OpenAI says GPT-6.1 Sol reached 86.6% accuracy at low reasoning effort, versus 5.4% for GPT-5.6 Sol at the same setting, while costing 39% less. At higher reasoning effort, GPT-6.1 Sol reached 97.9% accuracy. The evaluation uses hidden tests and requires byte-for-byte parity on observable outputs for a migration to count as successful.

These tests target two distinct maintenance challenges: writing new software in less commonly supported languages and changing legacy code without altering its behavior. That distinction matters for older systems where business rules may be embedded in code or where details such as fixed-point arithmetic affect financial results. OpenAI cautions that production migrations still require expert review and testing against the system’s business rules and dependencies.

OpenAI says it is releasing the MultiLangBench setup and test suite, along with results by language. The published scores are company-reported evaluation results, rather than a guarantee that a model will preserve behavior in any particular production codebase.

Industry Impact

A stronger benchmark for legacy-code work

Software development and legacy IT modernization

Overview

OpenAI reports substantial gains on two distinct tasks: building SQLite-compatible software across 20 languages and migrating COBOL while preserving observable behavior. For developers, the results offer a reason to test models on less-supported languages and legacy translations, but they do not establish production reliability. Business leaders may see potential to accelerate modernization assessments; longer term, expert review and testing against real business rules and dependencies remain essential, particularly where fixed-point arithmetic can affect financial results.

Key Impact Points

GPT-6 Astra averaged an 87.4% pass rate across 20 languages, with COBOL the lowest at 72.1%.

GPT-6.1 Sol reached 86.6% COBOL migration accuracy at low reasoning effort and 97.9% at higher effort.

OpenAI cautions that company-reported benchmark results do not guarantee behavior preservation in a production codebase.

Opportunities

Pilot AI-assisted legacy migration

Software development and legacy IT modernization

Organizations maintaining COBOL systems can use these results to justify a limited evaluation of AI-assisted translation, paired with expert review and tests for behavioral parity. A practical workflow could compare translated programs with existing outputs and flag mismatches for engineers to investigate; OpenAI’s evaluation requires byte-for-byte parity on observable outputs and uses hidden tests. OpenAI says it is releasing the MultiLangBench setup and test suite, which can inform evaluation of less-supported languages. The article reports lower cost for GPT-6.1 Sol than GPT-5.6 Sol at low reasoning effort, but provides no evidence of customer demand or commercial returns.

  • COBOL migration assessment workflow

    Problem: Legacy COBOL programs can encode business rules that must be preserved during translation.

    Solution: Evaluate AI-assisted translations against existing outputs and business-specific tests, with engineers reviewing mismatches.

    Target Users: Software teams responsible for maintaining or modernizing COBOL systems.

    Business Value: Potential to accelerate migration assessment while keeping behavioral validation central; benchmark results alone are not a production guarantee.

    Revenue Potential: Could support paid migration services or API-backed assessment tooling, but the article provides no demand or revenue estimates.

Reference link

https://openai.com/index/low-resource-programming-languages

Image Source Link

https://media.wired.com/photos/69b092fdb9e03828e1c694b8/16:9/w_2496,h_1404,c_limit/FF_CODINGAGENTS_MJQ_20260209_SF_WIRED_OPENAI_1111.jpg

Community Discussion (0)

Loading discussions...