3L2Mark: Local LLM Benchmark
3L2Mark (short for "LLLMMark") compares language models running on home GPUs. Each model solves programming tasks, every answer is compiled and run against hidden tests, and the result is a score from 0 to 100.
The Leaderboard shows how 3L2Mark presents its results: it is the comparison report generated by the benchmark itself. These are not made-up sample numbers: the results come from real tests run on real models on home hardware. Take a look to see what the report is like and how the models rank.
What is tested
21 tasks in Python, C, C++, C#, PHP, Java and SQL:
- Write: build a program from a specification.
- Bugfix: find and fix the bugs in a broken program.
- Optimize: make a slow program fast enough for large inputs.
- SQL: design a schema, write queries, fix and speed up existing ones.
How answers are graded
- Objective only: a test passes or fails by program. No LLM judge, no style points.
- Partial credit: each task has many independent tests, so close models still get different scores.
- Memory safety: C and C++ correctness tests run with AddressSanitizer and UndefinedBehaviorSanitizer.
- Repeatable: test data is deterministic, and several runs per model give a mean and a standard deviation.
Run it yourself
The benchmark is a single Python script that uses only the standard library. It needs Linux, the compilers of the tested languages, and a llama.cpp server hosting your model (port 9931 by default).
python3 codebench.py --runs 3
python3 codebench.py --compare
See Getting Started for the full user guide. The source code is in the GitHub repository.
Why it exists
It started with a practical question: which variant of Qwen 3.5 9B is the best at programming? The benchmark was built with Claude to answer it, and works with any model that llama.cpp can serve.