Elixir Tops AI Code Benchmarks: 97.5% Completion Rate

Tencent's AutoCodeBench study revealed Elixir achieved the highest problem completion rate among 20 languages at 97.5% across 30+ AI models. Individually, Claude Opus 4 scored 80.3% on Elixir tasks, leading over C# (74.9%) and Kotlin (72.5%).

The top 3

  1. Tencent's AutoCodeBench: Elixir Tops All Languages: In Tencent's 2025 AutoCodeBench study, Elixir achieved a 97.5% problem completion rate across 30+ AI models, the highest among 20 programming languages tested. Notably, Claude Opus 4 alone scored 80.3% on Elixir tasks, marking its best performance across all languages.
  2. Elixir's Core Design Fuels AI Code Success: Elixir's inherent characteristics, such as immutable data structures, first-class documentation with testable examples (doctests), and a stable core language, provide AI models with highly consistent, predictable, and quality training data, significantly reducing errors and improving code generation accuracy.
  3. Human-First Design Unlocks AI's Best Elixir Code: Elixir's design philosophy, focused on helping human developers reason about concurrent systems through explicit state, immutability, and pattern matching, inadvertently created a language structure that AI models find highly tractable, enabling them to generate more idiomatic and correct code.

Sources

Open the full topic