CodeForces

Paper

Progress Over Time

Interactive timeline showing model performance evolution on CodeForces

State-of-the-art frontier
Open
Proprietary

CodeForces Leaderboard

16 models
ContextCostLicense
11.6T1.0M$1.60 / $3.20
1284B1.0M$0.10 / $0.20
3685B
4
Alibaba Cloud / Qwen Team
Alibaba Cloud / Qwen Team
122B
5
Alibaba Cloud / Qwen Team
Alibaba Cloud / Qwen Team
35B
6117B131K$0.09 / $0.45
7
Alibaba Cloud / Qwen Team
Alibaba Cloud / Qwen Team
27B262K$0.30 / $2.40
8685B
8685B
1021B
11685B
12671B
13
Alibaba Cloud / Qwen Team
Alibaba Cloud / Qwen Team
33B128K$0.10 / $0.44
14671B131K$0.55 / $2.19
1512B
1625B
Notice missing or incorrect data?
About this benchmark

What is CodeForces?

A competitive programming benchmark using problems from the CodeForces platform. The benchmark evaluates code generation capabilities of LLMs on algorithmic problems with difficulty ratings ranging from 800 to 2400. Problems cover diverse algorithmic categories including dynamic programming, graph algorithms, data structures, and mathematical problems with standardized evaluation through direct platform submission.

CodeForces is a text benchmark evaluating models on math and reasoning tasks. LLM Stats tracks 16 models on this benchmark, scored on a 0–3000 scale. The current average is 0.8, with the leader at 1.0.

Compare leaders on the best AI for math and best AI for reasoning leaderboards.

Current leaders

DeepSeek-V4-Pro-Max from DeepSeek currently leads the CodeForces leaderboard with a score of 1.000 across 16 evaluated AI models.

1DeepSeek-V4-Pro-MaxDeepSeek1.000
1DeepSeek-V4-Flash-MaxDeepSeek1.000

Source paper

Title
CodeElo: Benchmarking Competition-level Code Generation of LLMs with Human-comparable Elo Ratings
Authors
Shanghaoran Quan, Jiaxi Yang, Bowen Yu, Bo Zheng, and 13 others
Published
Abstract

With the increasing code reasoning capabilities of existing large language models (LLMs) and breakthroughs in reasoning models like OpenAI o1 and o3, there is a growing need to develop more challenging and comprehensive benchmarks that effectively test their sophisticated competition-level coding abilities. Existing benchmarks, like LiveCodeBench and USACO, fall short due to the unavailability of private test cases, lack of support for special judges, and misaligned execution environments. To bridge this gap, we introduce CodeElo, a standardized competition-level code generation benchmark that effectively addresses all these challenges for the first time. CodeElo benchmark is mainly based on the official CodeForces platform and tries to align with the platform as much as possible. We compile the recent six months of contest problems on CodeForces with detailed information such as contest divisions, problem difficulty ratings, and problem algorithm tags. We introduce a unique judging method in which problems are submitted directly to the platform and develop a reliable Elo rating calculation system that aligns with the platform and is comparable with human participants but has lower variance. By testing on our CodeElo, we provide the Elo ratings of 30 existing popular open-source and 3 proprietary LLMs for the first time. The results show that o1-mini and QwQ-32B-Preview stand out significantly, achieving Elo ratings of 1578 and 1261, respectively, while other models struggle even with the easiest problems, placing in the lowest 25 percent among all human participants. Detailed analysis experiments are also conducted to provide insights into performance across algorithms and comparisons between using C++ and Python, which can suggest directions for future studies.

FAQ

Common questions about the CodeForces benchmark and leaderboard.

What is the CodeForces benchmark?

A competitive programming benchmark using problems from the CodeForces platform. The benchmark evaluates code generation capabilities of LLMs on algorithmic problems with difficulty ratings ranging from 800 to 2400. Problems cover diverse algorithmic categories including dynamic programming, graph algorithms, data structures, and mathematical problems with standardized evaluation through direct platform submission.

What is the CodeForces leaderboard?

The CodeForces leaderboard ranks 16 AI models based on their performance on this benchmark. Currently, DeepSeek-V4-Pro-Max by DeepSeek leads with a score of 1.000. The average score across all models is 0.767.

What is the highest CodeForces score?

The highest CodeForces score is 1.000, achieved by DeepSeek-V4-Pro-Max from DeepSeek.

How many models are evaluated on CodeForces?

16 models have been evaluated on the CodeForces benchmark, with 0 verified results and 16 self-reported results.

Where can I find the CodeForces paper?

The CodeForces paper is available at https://arxiv.org/abs/2501.01257. The paper details the methodology, dataset construction, and evaluation criteria.

What categories does CodeForces cover?

CodeForces is categorized under math and reasoning. The benchmark evaluates text models.

What is the best open-source model on CodeForces?

DeepSeek-V4-Pro-Max by DeepSeek is the top-ranked open-source model on CodeForces, with a score of 1.000 (rank #1).

Which model offers the best value on CodeForces?

Among models scoring within 10% of the leader, DeepSeek-V4-Flash-Max from DeepSeek is the cheapest, at $0.10 per million input tokens with a score of 1.000.

How recent are the CodeForces leaderboard results?

The CodeForces leaderboard was last updated in July 2026 and currently includes 16 evaluated models.