ggml-org/llama.cpp

ggml-org/llama.cpp has 913,679 source lines of code out of 1,169,648 total lines across 3,667 files, counted with tokei from the master ref at commit 4c92c5bfb7ca on November 24, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

ggml-org/llama.cpp: 913,679 code lines at commit 4c92c5bfb7ca, counted with tokei-15.0.0 on 2026-11-24. Saved result 8a638e088045d0b5366f97ab6a4ab77af2e31eb149123d72201c54e69015adff.

Source: ggml-org/llama.cpp on GitHub · counted commit 4c92c5bfb7ca

OctoCounts produced this report by resolving ggml-org/llama.cpp to commit 4c92c5bfb7ca, 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.6%, and the repository averages 249 code lines per file. C++ accounts for 43.7% of counted code.

LanguageFilesLinesCodeCommentsBlanks
C++7234975503990012949169058
C1009346674142431715007
Python2158120964739427312197
C Header33985832612711032314238
OpenCL287619155399607919
TypeScript4806249840547123939558
JSON24263292632009
CUDA210322352628815534394
JavaScript24393852617698693340
HTML3351502548909661
GLSL20028206228779494380
C++ Header90222581717817523328
Svelte42018320157995301991
Jinja2821608914538742809
Metal Shading Language3915480119565622962
Shell67907868809881210
CMake100831565916021122
WebGPU Shader Language51772662682361222
Templ74487393637514
Objective-C235942682215697
CSS1120831477359247
Kotlin1417981278320200
SVG91276127411
Swift91267101438215
Batch65654572979
XML184363902620
Autoconf134263144270
Makefile42952081869
TOML4195154932
YAML21751321231
PowerShell1136971029
Nix1185769316
LD Script185541714
Prolog35848010
GNU Style Assembly1151500
Sass1161042
INI17700
Markdown8210649081622487
Plain Text23859080752

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 913,679 lines of code, plus 88,779 comment lines and 167,190 blank lines, for 1,169,648 total lines at commit 4c92c5bfb7ca on November 24, 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 4c92c5bfb7ca, 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 4c92c5bfb7ca on November 24, 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 — 913,679 code lines across 39 languages, counted by tokei.