Leading LLMs in Code Generation Accuracy

Claude 3 Opus scored 84.9% on the HumanEval coding benchmark at its March 2024 launch, outperforming GPT-4's 67.0%, indicating strong capabilities in code generation and understanding.

The top 3

  1. Top 3 LLMs by HumanEval Pass Rate: Claude 3.5 Sonnet, GPT-4o, and DeepSeek-V3 currently hold the highest pass rates on the HumanEval coding benchmark, with all three models exceeding 85% accuracy in zero-shot Python code generation.
  2. Hardest Coding Challenges Where AI Struggles Most: AI models show the sharpest performance drop-off in 'Dynamic Programming' and 'Graph Theory' tasks, where accuracy often plummets by over 40% compared to standard array manipulation tasks.
  3. Proprietary vs. Open-Weights Coding Supremacy: While proprietary models like Claude Opus 5 dominate in complex reasoning, open-weights models like Qwen 2.5-Coder-32B have narrowed the gap to within 5 percentage points on industry-standard coding benchmarks.

Sources

Open the full topic