ggml-org/llama.cpp SLOC report

As of 2026-09-05 (commit b96806d96061), ggml-org/llama.cpp contains 912,569 total lines: 704,348 code, 72,044 comments, 136,177 blank, across 2,863 files in 39 languages (top: C++ 43.6%). Counted with tokei via OctoCounts.

As of 2026-09-05 (commit b96806d96061), ggml-org/llama.cpp contains 912,569 total lines: 704,348 code, 72,044 comments, 136,177 blank, across 2,863 files in 39 languages (top: C++ 43.6%). Counted with tokei via OctoCounts.

OctoCounts produced this report by resolving ggml-org/llama.cpp to commit b96806d96061, downloading the repository source archive, and counting every source file with tokei, the open-source line counter written in Rust. The table below breaks the count down by programming language into files, total lines, code lines, comment lines, and blank lines, so the figures can be compared across languages and projects. Results are cached by commit, tokei version, and analysis options, so counting the same revision again reproduces exactly these numbers.

Repository size insights

This is a large codebase by counted code lines. Code represents 77.2% of all lines, comments represent 7.9%, and the repository averages 246 code lines per file. C++ accounts for 43.6% of counted code.

LanguageFilesLinesCodeCommentsBlanks
C++5863878853071032366757115
C907403257858405712117
Python172610514822533949432
C Header2776569945926857911194
OpenCL169396773432105356
TypeScript321421662689789856284
HTML2351372547609661
JavaScript15383282547696843168
JSON11212432123409
CUDA189254602046912513740
GLSL17921966175957673604
C++ Header78194281499414882946

Top language (C++ 43.6%). Generated at 2026-09-05T15:19:35.668017500+00:00.

Report FAQ

How many lines of code does ggml-org/llama.cpp have?

ggml-org/llama.cpp has 912,569 total lines, including 704,348 code lines, 72,044 comment lines, and 136,177 blank lines.

How was the ggml-org/llama.cpp line count measured?

OctoCounts resolved the public GitHub repository to commit b96806d96061, downloaded the source archive, counted it with tokei, and cached the report by commit, tokei version, and analysis options.

What commit was counted for ggml-org/llama.cpp?

This OctoCounts report was generated from b96806d96061049a5b574269b049bf6241d63d46 at commit b96806d96061 on 2026-09-05T15:19:35.668017500+00:00.

Similar repository reports

Other public repositories with an OctoCounts report, ranked by top language and code size similarity: