OJBench

OJBench is a competition-level code benchmark designed to assess the competitive-level code reasoning abilities of large language models. It comprises 232 programming competition problems from NOI and ICPC, categorized into Easy, Medium, and Hard difficulty levels. The benchmark evaluates models' ability to solve complex competitive programming challenges using Python and C++.

Kimi K2.6 from Moonshot AI currently leads the OJBench leaderboard with a score of 0.606 across 9 evaluated AI models.

Paper
About this benchmark

What OJBench measures

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

Compare leaders on the best AI for reasoning leaderboards.

Publication

Paper
OJBench: A Competition Level Code Benchmark For Large Language Models
Authors
Zhexu Wang, Yiping Liu, Yejie Wang, Wenyang He, and 8 others
Published

Abstract

Recent advancements in large language models (LLMs) have demonstrated significant progress in math and code reasoning capabilities. However, existing code benchmark are limited in their ability to evaluate the full spectrum of these capabilities, particularly at the competitive level. To bridge this gap, we introduce OJBench, a novel and challenging benchmark designed to assess the competitive-level code reasoning abilities of LLMs. OJBench comprises 232 programming competition problems from NOI and ICPC, providing a more rigorous test of models' reasoning skills. We conducted a comprehensive evaluation using OJBench on 37 models, including both closed-source and open-source models, reasoning-oriented and non-reasoning-oriented models. Our results indicate that even state-of-the-art reasoning-oriented models, such as o4-mini and Gemini-2.5-pro-exp, struggle with highly challenging competition-level problems. This highlights the significant challenges that models face in competitive-level code reasoning.

Moonshot AIKimi K2.6 leads with 60.6%, followed by Moonshot AIKimi K2-Thinking-0905 at 48.7% and Alibaba Cloud / Qwen TeamQwen3.5-27B at 40.1%.

Progress Over Time

Interactive timeline showing model performance evolution on OJBench

State-of-the-art frontier
Open
Proprietary

OJBench Leaderboard

9 models
ContextCostLicense
1
Moonshot AI
Moonshot AI
1.0T262K$0.95 / $4.00
21.0T
3
Alibaba Cloud / Qwen Team
Alibaba Cloud / Qwen Team
27B262K$0.30 / $2.40
4
Alibaba Cloud / Qwen Team
Alibaba Cloud / Qwen Team
122B262K$0.40 / $3.20
5
Alibaba Cloud / Qwen Team
Alibaba Cloud / Qwen Team
35B262K$0.25 / $2.00
6
Alibaba Cloud / Qwen Team
Alibaba Cloud / Qwen Team
235B
7
Alibaba Cloud / Qwen Team
Alibaba Cloud / Qwen Team
80B
81.0T
8
Moonshot AI
Moonshot AI
1.0T
Notice missing or incorrect data?

FAQ

Common questions about OJBench.

What is the OJBench benchmark?

OJBench is a competition-level code benchmark designed to assess the competitive-level code reasoning abilities of large language models. It comprises 232 programming competition problems from NOI and ICPC, categorized into Easy, Medium, and Hard difficulty levels. The benchmark evaluates models' ability to solve complex competitive programming challenges using Python and C++.

What is the OJBench leaderboard?

The OJBench leaderboard ranks 9 AI models based on their performance on this benchmark. Currently, Kimi K2.6 by Moonshot AI leads with a score of 0.606. The average score across all models is 0.379.

What is the highest OJBench score?

The highest OJBench score is 0.606, achieved by Kimi K2.6 from Moonshot AI.

How many models are evaluated on OJBench?

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

Where can I find the OJBench paper?

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

What categories does OJBench cover?

OJBench is categorized under reasoning. The benchmark evaluates text models.

Are there variants of OJBench?

Yes. OJBench has 1 related variant: OJBench (C++).

What is the best open-source model on OJBench?

Kimi K2.6 by Moonshot AI is the top-ranked open-source model on OJBench, with a score of 0.606 (rank #1).

Which model offers the best value on OJBench?

Among models scoring within 10% of the leader, Kimi K2.6 from Moonshot AI is the cheapest, at $0.95 per million input tokens with a score of 0.606.

How recent are the OJBench leaderboard results?

The OJBench leaderboard was last updated in June 2026 and currently includes 9 evaluated models.

Sub-benchmarks

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