CRUXEval-Output-CoT

CRUXEval-O (output prediction) with Chain-of-Thought prompting. Part of the CRUXEval benchmark consisting of 800 Python functions (3-13 lines) designed to evaluate code reasoning, understanding, and execution capabilities. The output prediction task requires models to predict the output of a given Python function with specific inputs, evaluated using chain-of-thought reasoning methodology.

Qwen2.5-Coder 7B Instruct from Alibaba Cloud / Qwen Team currently leads the CRUXEval-Output-CoT leaderboard with a score of 0.560 across 1 evaluated AI models.

Paper
About this benchmark

What CRUXEval-Output-CoT measures

CRUXEval-Output-CoT is a text benchmark that evaluates large language models on reasoning tasks. LLM Stats tracks 1 model on this benchmark, with a maximum possible score of 1. Current average across reported models is 0.6, with the leader reaching 0.6.

Compare leaders on the best AI for reasoning leaderboards.

Publication

Paper
CRUXEval: A Benchmark for Code Reasoning, Understanding and Execution
Authors
Alex Gu, Baptiste Rozière, Hugh Leather, Armando Solar-Lezama, and 2 others
Published

Abstract

We present CRUXEval (Code Reasoning, Understanding, and eXecution Evaluation), a benchmark consisting of 800 Python functions (3-13 lines). Each function comes with an input-output pair, leading to two natural tasks: input prediction and output prediction. First, we propose a generic recipe for generating our execution benchmark which can be used to create future variation of the benchmark. Second, we evaluate twenty code models on our benchmark and discover that many recent high-scoring models on HumanEval do not show the same improvements on our benchmark. Third, we show that simple CoT and fine-tuning schemes can improve performance on our benchmark but remain far from solving it. The best setup, GPT-4 with chain of thought (CoT), achieves a pass@1 of 75% and 81% on input and output prediction, respectively. In contrast, Code Llama 34B achieves a pass@1 of 50% and 46% on input and output prediction, highlighting the gap between open and closed source models. As no model is close to acing CRUXEval, we provide examples of consistent GPT-4 failures on simple programs as a lens into its code reasoning capabilities and areas for improvement.

Alibaba Cloud / Qwen TeamQwen2.5-Coder 7B Instruct leads with 56.0%.

Progress Over Time

Interactive timeline showing model performance evolution on CRUXEval-Output-CoT

State-of-the-art frontier
Open
Proprietary

CRUXEval-Output-CoT Leaderboard

1 models
ContextCostLicense
1
Alibaba Cloud / Qwen Team
Alibaba Cloud / Qwen Team
7B
Notice missing or incorrect data?

FAQ

Common questions about CRUXEval-Output-CoT.

What is the CRUXEval-Output-CoT benchmark?

CRUXEval-O (output prediction) with Chain-of-Thought prompting. Part of the CRUXEval benchmark consisting of 800 Python functions (3-13 lines) designed to evaluate code reasoning, understanding, and execution capabilities. The output prediction task requires models to predict the output of a given Python function with specific inputs, evaluated using chain-of-thought reasoning methodology.

What is the CRUXEval-Output-CoT leaderboard?

The CRUXEval-Output-CoT leaderboard ranks 1 AI models based on their performance on this benchmark. Currently, Qwen2.5-Coder 7B Instruct by Alibaba Cloud / Qwen Team leads with a score of 0.560. The average score across all models is 0.560.

What is the highest CRUXEval-Output-CoT score?

The highest CRUXEval-Output-CoT score is 0.560, achieved by Qwen2.5-Coder 7B Instruct from Alibaba Cloud / Qwen Team.

How many models are evaluated on CRUXEval-Output-CoT?

1 models have been evaluated on the CRUXEval-Output-CoT benchmark, with 0 verified results and 1 self-reported results.

Where can I find the CRUXEval-Output-CoT paper?

The CRUXEval-Output-CoT paper is available at https://arxiv.org/abs/2401.03065. The paper details the methodology, dataset construction, and evaluation criteria.

What categories does CRUXEval-Output-CoT cover?

CRUXEval-Output-CoT is categorized under reasoning. The benchmark evaluates text models.

What is the best open-source model on CRUXEval-Output-CoT?

Qwen2.5-Coder 7B Instruct by Alibaba Cloud / Qwen Team is the top-ranked open-source model on CRUXEval-Output-CoT, with a score of 0.560 (rank #1).

How recent are the CRUXEval-Output-CoT leaderboard results?

The CRUXEval-Output-CoT leaderboard was last updated in June 2026 and currently includes 1 evaluated models.

More evaluations to explore

Related benchmarks in the same category

View all reasoning
GPQA

A challenging dataset of 448 multiple-choice questions written by domain experts in biology, physics, and chemistry. Questions are Google-proof and extremely difficult, with PhD experts reaching 65% accuracy.

reasoning
224 models
MMLU-Pro

A more robust and challenging multi-task language understanding benchmark that extends MMLU by expanding multiple-choice options from 4 to 10, eliminating trivial questions, and focusing on reasoning-intensive tasks. Features over 12,000 curated questions across 14 domains and causes a 16-33% accuracy drop compared to original MMLU.

reasoning
127 models
AIME 2025

All 30 problems from the 2025 American Invitational Mathematics Examination (AIME I and AIME II), testing olympiad-level mathematical reasoning with integer answers from 000-999. Used as an AI benchmark to evaluate large language models' ability to solve complex mathematical problems requiring multi-step logical deductions and structured symbolic reasoning.

reasoning
114 models
MMLU

Massive Multitask Language Understanding benchmark testing knowledge across 57 diverse subjects including STEM, humanities, social sciences, and professional domains

reasoning
100 models
SWE-Bench Verified

A verified subset of 500 software engineering problems from real GitHub issues, validated by human annotators for evaluating language models' ability to resolve real-world coding issues by generating patches for Python codebases.

reasoning
100 models
Humanity's Last Exam

Humanity's Last Exam (HLE) is a multi-modal academic benchmark with 2,500 questions across mathematics, humanities, and natural sciences, designed to test LLM capabilities at the frontier of human knowledge with unambiguous, verifiable solutions

reasoningmultimodal
82 models