OpenAI's MultiLangBench scores models building SQLite in 20 languages — GPT-6 Astra at 87.4%, COBOL still hardest

OpenAIBenchmarksAI CodingSQLiteCOBOLFortran+2High-Risk Claims
Screenshot of the OpenAI MultiLangBench README showing the initial_database, user_query, and validation_query test triple, the 51k-to-24k conversion count, and the recommendation to run the 272 tests starting with 00, 01, and 02.
Source: https://github.com/openai/MultiLangBench · Captured 2026-10-21 with headless Chromium · Credit: OpenAI repository README · License: Apache-2.0; screenshot by AI Newsroom

OpenAI published MultiLangBench on October 19, 2026: an Apache-2.0 eval that asks a model to implement SQLite 3.40.1 from its documentation in one of 20 programming languages. OpenAI reports GPT-6 Astra averaging 87.4%, with COBOL still weakest at 72%. The harness and tests are public; the results behind those numbers are not in the repository.

Every score below is OpenAI’s; this article does not independently reproduce them.

What happened

OpenAI’s post, “Advancing coding in low-resource programming languages,” describes two separate evaluations. MultiLangBench tests whether a model can build a SQLite-compatible engine from scratch. A second, unnamed COBOL migration evaluation tests whether a model can port existing programs to C++, Java, Kotlin, Python, or Rust. Their results should not be combined.

The public repository, openai/MultiLangBench, is Apache-2.0; its root holds the README, LICENSE, requirements.txt, scripts/, and tests/ (GitHub, accessed 2026-10-21). The README does not list the target languages. The post’s chart names 20: C, C#, C++, COBOL, Common Lisp, Fortran, Go, Java, JavaScript, Lean, OCaml, PHP, PowerShell, Python, Ruby, Rust, Scala, Swift, Visual Basic, and Zig.

Why it matters

How the eval actually works

Each test is a triple: initial_database creates a database file, user_query is the SQL the candidate must support, and validation_query runs against the candidate’s output using real SQLite 3.40.1. A test passes only on an exact output match (README, accessed 2026-10-21).

What OpenAI reports

At maximum reasoning effort, OpenAI reports these averages across the 20 languages:

ModelAverage pass rateEstimated API cost per sample
GPT-6 Astra87.4%not stated by OpenAI
GPT-6 Luna40.3%~$0.77
GPT-5.6 Sol (baseline)26.8%~$3.48

OpenAI says Astra scores above 83% in 19 of the 20 languages, with COBOL the exception at 72%. Its per-language chart gives the shape of the gains:

LanguageGPT-5.6 SolGPT-6 LunaGPT-6 Astra
COBOL10.9%17.1%72.1%
Fortran21.4%31.4%83.5%
OCaml25.6%34.1%85.8%
Visual Basic27.5%41.6%89.4%

Luna’s estimated cost is about 78% lower than GPT-5.6 Sol’s, according to OpenAI.

The COBOL migration number is from the other evaluation. OpenAI reports GPT-6.1 Sol at 86.6% with low reasoning effort, against 5.4% for GPT-5.6 Sol at the same setting, at 61% of the API cost. At higher reasoning effort it reaches 97.9%. Those tests are hidden and require byte-for-byte parity on observable outputs; a migration counts only if every test passes.

What the numbers don’t prove

The repository has no results table. As of 2026-10-21, the root contains only scripts/, tests/, .gitignore, LICENSE, README.md, and requirements.txt, with no results file or results table. The post says results ship “along with” the setup, but the per-language values live in its interactive chart, not the repo.

The test subset is unknown. The README recommends 272 tests; the post never says whether the headline scores used those 272 or all 24,000. Readers cannot tell whether model comparisons ran on the same sample.

The migration half is not reproducible. The hidden COBOL tests are not public. Cloning MultiLangBench reruns the SQLite harness, not the 86.6% or 97.9% migration results.

Contamination is a live concern. SQLite’s source and TCL tests are public and likely in training data. Hashing test names and converting files makes memorized tests less reusable, but does not rule out reconstructing SQLite from memory. Yash Thakker raised this at explainx.ai on 2026-10-19; it is an outside concern, not a demonstrated finding.

No independent reproduction existed as of 2026-10-21. Secondary coverage exists, including Gabriel Anhaia’s dev.to analysis and Ryan Daws’s developer-tech.com report, but no third party had published a rerun.

Practical takeaways for builders

Sources

ClaimSourceDate
20 languages; 87.4%, 40.3%, 26.8% averages; 19-of-20 result; COBOL 72%; per-language percentages; $0.77 and $3.48 estimated costs; Luna ~78% lowerOpenAI, “Advancing coding in low-resource programming languages”2026-10-19
COBOL migration 86.6%, 5.4%, 61% of cost, 97.9%; hidden tests and byte-for-byte parity; migration targetsOpenAI, same post2026-10-19
51k tests, 24k converted, 272-test subset, 60-second timeout, triple format, language rule, apsw pin, Apache-2.0openai/MultiLangBench README, LICENSE, repositoryaccessed 2026-10-21
SQLite 3.40.1 documentation bundle used as model inputsqlite.orgLast-Modified 2025-04-07
Repository root contents and absence of result filesopenai/MultiLangBench treeaccessed 2026-10-21
COBOL and Fortran context (banking, ATMs, forecasting, reactor safety)IBM · NOAA · US NRCaccessed 2026-10-21
Contamination concernYash Thakker, explainx.ai2026-10-19
Coverage reviewed for independent reruns (none found)Gabriel Anhaia, dev.to · Ryan Daws, developer-tech.com2026-10-20