ggml-org/llama.cpp

ggml-org/llama.cpp has 866,571 source lines of code out of 1,110,197 total lines across 3,414 files, counted with tokei from the master ref at commit 8bfd64b5ac86 on November 16, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

ggml-org/llama.cpp: 866,571 code lines at commit 8bfd64b5ac86, counted with tokei-15.0.0 on 2026-11-16. Saved result 868884feabb9ed9bb6fd46dbea55d33fabc33088e85ae45569e2ecd700e0706e.

OctoCounts produced this report by resolving ggml-org/llama.cpp to commit 8bfd64b5ac86, downloading the repository source archive, and counting files selected by the effective rules 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; an exact reproduction needs the same commit, engine version, and effective counting rules.

Repository size insights

This is a large codebase by counted code lines. Code represents 78.1% of all lines, comments represent 7.4%, and the repository averages 254 code lines per file. C++ accounts for 43.7% of counted code.

LanguageFilesLinesCodeCommentsBlanks
C++6954738023791092791666777
C1009287773646429514936
Python2067798662151403211803
C Header3348338859647986213879
OpenCL275598805217207708
TypeScript3865328534144109888153
HTML2351372547609661
JavaScript15383322547696883168
CUDA209312672543415174316
GLSL19526927217818884258
JSON11216492164009
C++ Header87217571681516903252
Svelte38816190141333081749
Jinja2751242111337432652
Metal Shading Language3814439111405472752
Shell66905968769771206
CMake100812764445731110
WebGPU Shader Language47740360142291160
Templ74486393537514
Objective-C235892678215696
Kotlin1417981278320200
SVG11238123611
CSS313451034143168
Swift91276101740219
Batch65654572979
XML184363902620
Autoconf134223143969
Makefile42952081869
TOML4195154932
YAML21751321231
PowerShell1136971029
Nix1180729315
LD Script185541714
Prolog35848010
GNU Style Assembly1151500
Sass1161042
INI17700
Markdown719188068282360
Plain Text22766073234

Top language: C++ 43.7%. Generated on .

Counting rules and retention

ggml-org/llama.cpp: tokei-15.0.0, policy directories-v1; docs excluded, tests excluded, generated excluded. Excluded directory names: .cache, .generated, .git, .next, __tests__, build, dist, doc, docs, documentation, fixtures, gen, generated, node_modules, target, test, tests, vendor. Ignored languages: none. Repository declarations: off. Exclusions are rule-based; they do not prove that every test, document or generated file was removed.

Saved reports remain subject to cache cleanup and replacement. Export the JSON or text for durable citation; live repository URLs can change.

Reproduce this report

Reproduce this exact report and configuration.

Report FAQ

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

ggml-org/llama.cpp has 866,571 lines of code, plus 82,515 comment lines and 161,111 blank lines, for 1,110,197 total lines at commit 8bfd64b5ac86 on November 16, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

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

OctoCounts resolved the public GitHub repository to commit 8bfd64b5ac86, 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 master at commit 8bfd64b5ac86 on November 16, 2026.

Similar repository reports

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

Play the growth animation for ggml-org/llama.cpp on this page — 866,571 code lines across 39 languages, counted by tokei.