OpenAI's MultiLangBench has models build SQLite from scratch in 20 languages, COBOL included
The open eval (GitHub) checks a from-scratch SQLite 3.40.1 engine against 272 tests adapted from SQLite's own suite and scores pass rate alongside API cost; OpenAI says GPT-6 Astra averages 87.4% (COBOL hardest at 72.1%) vs 26.8% for GPT-5.6 Sol, while cheaper GPT-6 Luna hits 40.3% at about 78% lower cost. A separate COBOL migration eval has GPT-6.1 Sol at 97.9% on high reasoning, though all figures are OpenAI's own runs.