# houmo-ai/llama.cpp SLOC report

> houmo-ai/llama.cpp: 587,728 code lines at commit 27675a6e9d2b, counted with tokei-15.0.0 on 2026-11-09. Saved result 44cc3cc887520dc6c5b54b5d1dcef9295c87626fad2022eada8543e41b294be2.

houmo-ai/llama.cpp has 587,728 source lines of code out of 765,095 total lines across 2,851 files, counted with tokei from the postmo ref at commit 27675a6e9d2b on November 9, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

OctoCounts produced this report by resolving houmo-ai/llama.cpp to commit 27675a6e9d2b, 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.

## Counting rules and retention

houmo-ai/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.

## Repository size insights

This is a large codebase by counted code lines. Code represents 76.8% of all lines, comments represent 8.0%, and the repository averages 206 code lines per file. C++ accounts for 43.5% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| C++ | 512 | 321,627 | 255,478 | 18,915 | 47,234 |
| Python | 159 | 66,092 | 51,235 | 4,060 | 10,797 |
| C | 41 | 56,341 | 43,965 | 2,632 | 9,744 |
| C Header | 248 | 55,648 | 36,901 | 10,029 | 8,718 |
| TypeScript | 383 | 50,557 | 32,656 | 12,139 | 5,762 |
| HTML | 5 | 35,162 | 25,506 | 0 | 9,656 |
| OpenCL | 127 | 22,111 | 18,892 | 0 | 3,219 |
| CUDA | 183 | 22,718 | 18,125 | 1,102 | 3,491 |
| Svelte | 486 | 18,306 | 16,415 | 85 | 1,806 |
| GLSL | 183 | 19,055 | 15,171 | 629 | 3,255 |
| JSON | 15 | 14,017 | 14,006 | 0 | 11 |
| C++ Header | 59 | 16,869 | 13,056 | 1,300 | 2,513 |
| Metal Shading Language | 1 | 11,045 | 8,295 | 475 | 2,275 |
| WebGPU Shader Language | 46 | 8,999 | 7,435 | 247 | 1,317 |
| Shell | 72 | 9,670 | 7,313 | 954 | 1,403 |
| Jinja2 | 56 | 7,106 | 6,436 | 244 | 426 |
| CMake | 93 | 6,229 | 4,893 | 461 | 875 |
| Templ | 3 | 3,547 | 3,020 | 36 | 491 |
| Objective-C | 2 | 2,568 | 1,859 | 157 | 552 |
| SVG | 6 | 1,438 | 1,427 | 4 | 7 |
| Kotlin | 14 | 1,797 | 1,277 | 320 | 200 |
| Swift | 9 | 1,276 | 1,017 | 40 | 219 |
| Vim Script | 1 | 783 | 649 | 72 | 62 |
| JavaScript | 6 | 528 | 446 | 27 | 55 |
| XML | 18 | 436 | 390 | 26 | 20 |
| Batch | 5 | 439 | 348 | 30 | 61 |
| CSS | 2 | 383 | 343 | 6 | 34 |
| PowerShell | 6 | 383 | 257 | 33 | 93 |
| Autoconf | 5 | 281 | 229 | 5 | 47 |
| Makefile | 4 | 292 | 206 | 18 | 68 |
| TOML | 4 | 193 | 150 | 9 | 34 |
| YAML | 3 | 194 | 150 | 12 | 32 |
| Nix | 1 | 180 | 72 | 93 | 15 |
| Prolog | 3 | 58 | 48 | 0 | 10 |
| INI | 2 | 34 | 26 | 6 | 2 |
| Forge Config | 1 | 21 | 21 | 0 | 0 |
| Sass | 2 | 29 | 15 | 10 | 4 |
| Markdown | 63 | 7,967 | 0 | 5,967 | 2,000 |
| Plain Text | 22 | 716 | 0 | 705 | 11 |

Top language: C++ 43.5%. Generated on November 9, 2026. Canonical report: https://octocounts.com/github/houmo-ai/llama.cpp/commit/27675a6e9d2bd77500e438335fcd323a6d9b6bc3?reportId=44cc3cc887520dc6c5b54b5d1dcef9295c87626fad2022eada8543e41b294be2&analysis=%7B%22profile%22%3A%22default%22%2C%22ignoredDirs%22%3A%5B%5D%2C%22includeDocs%22%3Afalse%2C%22includeTests%22%3Afalse%2C%22ignoredLanguages%22%3A%5B%5D%2C%22includeGenerated%22%3Afalse%7D

## Reproduce this report

[Reproduce this exact report and configuration](https://octocounts.com/github/houmo-ai/llama.cpp/commit/27675a6e9d2bd77500e438335fcd323a6d9b6bc3?reportId=44cc3cc887520dc6c5b54b5d1dcef9295c87626fad2022eada8543e41b294be2&analysis=%7B%22profile%22%3A%22default%22%2C%22ignoredDirs%22%3A%5B%5D%2C%22includeDocs%22%3Afalse%2C%22includeTests%22%3Afalse%2C%22ignoredLanguages%22%3A%5B%5D%2C%22includeGenerated%22%3Afalse%7D).

## Report FAQ

### How many lines of code does houmo-ai/llama.cpp have?

houmo-ai/llama.cpp has 587,728 lines of code, plus 60,848 comment lines and 116,519 blank lines, for 765,095 total lines at commit 27675a6e9d2b on November 9, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

### How was the houmo-ai/llama.cpp line count measured?

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

### What commit was counted for houmo-ai/llama.cpp?

This OctoCounts report was generated from postmo at commit 27675a6e9d2b on November 9, 2026.

## Similar repository reports

- [ggml-org/whisper.cpp](https://octocounts.com/github/ggml-org/whisper.cpp) — C++, 591,996 code lines
- [id-Software/DOOM-3](https://octocounts.com/github/id-Software/DOOM-3) — C++, 593,542 code lines
- [handy-computer/transcribe.cpp](https://octocounts.com/github/handy-computer/transcribe.cpp) — C++, 594,507 code lines
- [tdlib/td](https://octocounts.com/github/tdlib/td) — C++, 578,070 code lines
- [google-ai-edge/LiteRT-LM](https://octocounts.com/github/google-ai-edge/LiteRT-LM) — C++, 576,150 code lines
- [contour-terminal/contour](https://octocounts.com/github/contour-terminal/contour) — C++, 605,189 code lines

## Related OctoCounts pages

- [Recently analyzed repositories](https://octocounts.com/recent)
- [Popular SLOC reports](https://octocounts.com/popular)
- [Trending GitHub repositories](https://octocounts.com/trending)
- [Hall of Monoliths](https://octocounts.com/hall-of-monoliths)
- [TensorFlow vs PyTorch](https://octocounts.com/compare/tensorflow-vs-pytorch)
- [Electron vs Tauri](https://octocounts.com/compare/electron-vs-tauri)
- [Godot vs Bevy](https://octocounts.com/compare/godot-vs-bevy)
- [How to count lines of code in a GitHub repository](https://octocounts.com/docs/count-lines-of-code-github)
- [GitHub SLOC counter guide](https://octocounts.com/docs/github-sloc-counter)
- [Counting methodology](https://octocounts.com/docs/methodology)
- [SLOC and code metrics glossary](https://octocounts.com/docs/glossary)
- [Original research: how filtering changes SLOC counts](https://octocounts.com/research)
- [OctoCounts API docs](https://octocounts.com/docs/api)
- [All OctoCounts guides](https://octocounts.com/docs)
