Microsoft’s 14B rStar-Coder beat o3-mini (low) on LiveCodeBench coding problems
Made by Yifei Liu and seven co-authors
The result
The story
Why competition code is a hard test
Competition programming problems need an algorithm, an efficient program and output that passes hidden tests. The Microsoft Research Asia team behind rStar-Coder argues that the bottleneck is data: few large sets of hard problems come with tests that can check a solution.

So the team built one. From 37,754 expert-written problems, a GPT model wrote about 1.57 million new ones, and GPT-4o wrote small programs that generate and check test inputs. QwQ-32B wrote 16 solutions per new problem, and a problem was kept only when most of them agreed on at least 50 inputs.
Data
rStar-Coder dataset
418K problems, 580K problem-solution pairs
Competition sites and open datasets; new problems by a GPT model the paper doesn’t name, solutions by QwQ-32B
Cleaned of overlaps with the test sets; public since June 2025 (CC BY 4.0).
A 14B student
Small model
rStar-Coder-14B
14B · Microsoft Research Asia
Fine-tuned on the 580K pairs
- Base
- Qwen2.5-Coder-14B-Instruct (Qwen)
Training
Supervised fine-tuning, 6 epochs, learning rate 4e-5, batch 96
Not reported: time and cost.
The test
Evaluation
- Test set
- LiveCodeBench v5 (problems from Aug 2024 to Feb 2025); also USACO 2025
- Metric
- pass@1: the program must pass the problem’s tests (average of 16 tries)
- Items
- LiveCodeBench count not given; USACO 2025: 12 problems
- How it was compared
- The paper doesn’t say how the large models were run or whether their scores were copied.
Large model
o3-mini (2025-01-31, low effort)
Size not disclosed · OpenAI
Used as released, at low reasoning effort
The 14B went from 23.3% to 62.5% on LiveCodeBench: ahead of o3-mini at low effort (59.4%), GPT-4o (30.0%) and Claude 3.5 Sonnet (32.0%), behind o1 and QwQ-32B (63.4%), DeepSeek-R1 (65.9%) and Gemini-2.5-Pro (69.2%). On USACO 2025 it averaged 17.19%, above QwQ-32B, which wrote its training solutions (15.62%), and below DeepSeek-R1 (21.87%) and o3 (32.03%).
No cost or speed figures are given for any model, and the 14B weights were not released.
All the numbers
Show all numbersHide all numbersEvery model · Cost, latency and energy · 14 more results
Every model on the headline test
Cost, latency and energy, as reported
- Cost
- Not reported
- Latency
- Not reported
- Not reported. The models were allowed up to 32k output tokens of reasoning per answer.
- Energy
- Not reported
More from the source
LiveCodeBench pass@1
rStar-Coder-7B 57.3Large model 59.4 %
o3-mini (low) ahead of the 7B.
Table 2
LiveCodeBench pass@1
Small model 62.5GPT-4o 30 %
GPT-4o answers without long reasoning; not like for like.
Table 2
LiveCodeBench pass@1
Small model 62.5Claude 3.5 Sonnet 32 %
Also a non-reasoning model.
Table 2
LiveCodeBench pass@1
Small model 62.5OpenAI o1 63.4 %
o1 ahead.
Table 2
LiveCodeBench pass@1
Small model 62.5QwQ-32B (wrote the training solutions) 63.4 %
QwQ-32B ahead.
Table 2
LiveCodeBench pass@1
Small model 62.5DeepSeek-R1 65.9 %
DeepSeek-R1 ahead.
Table 2
LiveCodeBench pass@1
Small model 62.5Gemini-2.5-Pro 69.2 %
Gemini-2.5-Pro ahead.
Table 2
USACO 2025, average pass@1 over 12 problems
Small model 17.19QwQ-32B 15.62 %
Table 3
USACO 2025, average pass@1
rStar-Coder-7B 16.15QwQ-32B 15.62 %
Table 3
USACO 2025, average pass@1
Small model 17.19DeepSeek-R1 21.87 %
DeepSeek-R1 ahead.
Table 3
USACO 2025, average pass@1
Small model 17.19OpenAI o3 32.03 %
o3 far ahead.
Table 3
HumanEval
Small model 95.9GPT-4o 92.7 %
Table 2
MBPP
Small model 91.4Claude 3.5 Sonnet 91 %
Table 2
MBPP+
Small model 77.3Claude 3.5 Sonnet 74.6 %
Table 2
Worth knowing
- Among reasoning models it beats only o3-mini at low effort; o1 and QwQ-32B (63.4%), DeepSeek-R1 (65.9%) and Gemini-2.5-Pro (69.2%) score higher on LiveCodeBench, and o3 is far ahead on USACO.
- The wide margin over GPT-4o (30.0%) and Claude 3.5 Sonnet (32.0%) compares a long-reasoning model (up to 32k tokens) with models that answer directly.
- Distilled from a teacher: the training solutions were written by QwQ-32B, and GPT-4o wrote the test-input generators.
- Model weights not found on Hugging Face (dataset only). Vendor-run preprint; no cost or latency.
2 more caveats
- The paper doesn’t say where the frontier models’ scores come from or whether they used the same settings.
- USACO 2025 has only 12 problems.
Weights on Hugging Face
No rStar-Coder model weights found on Hugging Face (search on 03 Oct 2026). The training dataset is public: https://huggingface.co/datasets/microsoft/rStar-Coder (verified, CC BY 4.0).
Sources
- Yifei Liu, Li Lyna Zhang et al. (Microsoft Research Asia), ‘rStar-Coder: Scaling Competitive Code Reasoning with a Large-Scale Verified Dataset’, arXiv:2505.21297v1, 27 May 2025
- Same paper, HTML version (Tables 2 and 3)
- rStar-Coder dataset, Hugging Face
- Code, GitHub (microsoft/rStar)
