# mudler/LocalAI SLOC report

> mudler/LocalAI: 656,131 code lines at commit 7f7b10fba9d7, counted with tokei-14.0.0 on 2026-10-22. Saved result 3995c65ee0fdb493807a0dd43e450aa2b910fba92f3084b1f45bf9b196e07886.

mudler/LocalAI has 656,131 source lines of code out of 812,368 total lines across 4,044 files, counted from the master ref at commit 7f7b10fba9d7 by the OctoCounts tokei engine on 2026-10-22. The report is cached by commit, tokei version, and analysis options, so recounting the same revision returns exactly these numbers.

OctoCounts produced this report by resolving mudler/LocalAI to commit 7f7b10fba9d7, 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 80.8% of all lines, comments represent 9.9%, and the repository averages 162 code lines per file. Go accounts for 50.6% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| Go | 2,153 | 430,256 | 332,002 | 51,517 | 46,737 |
| YAML | 97 | 94,471 | 92,725 | 842 | 904 |
| JSX | 256 | 53,914 | 47,159 | 3,507 | 3,248 |
| JavaScript | 342 | 57,582 | 46,845 | 5,133 | 5,604 |
| JSON | 127 | 38,195 | 38,193 | 0 | 2 |
| CSS | 60 | 38,559 | 29,821 | 1,458 | 7,280 |
| Python | 125 | 31,507 | 25,265 | 1,968 | 4,274 |
| C++ | 63 | 25,500 | 18,265 | 4,579 | 2,656 |
| HTML | 39 | 9,098 | 8,217 | 375 | 506 |
| Shell | 265 | 9,748 | 6,140 | 2,185 | 1,423 |
| Makefile | 85 | 7,545 | 5,025 | 1,417 | 1,103 |
| C Header | 44 | 4,074 | 2,139 | 1,495 | 440 |
| Protocol Buffers | 2 | 1,717 | 1,104 | 415 | 198 |
| CMake | 21 | 1,500 | 973 | 328 | 199 |
| Rust | 4 | 922 | 766 | 25 | 131 |
| C | 4 | 638 | 536 | 39 | 63 |
| C++ Header | 1 | 485 | 360 | 54 | 71 |
| Dockerfile | 1 | 442 | 290 | 80 | 72 |
| SVG | 2 | 187 | 187 | 0 | 0 |
| TOML | 3 | 65 | 49 | 5 | 11 |
| Nix | 1 | 173 | 47 | 118 | 8 |
| Templ | 7 | 29 | 23 | 0 | 6 |
| Markdown | 60 | 3,744 | 0 | 2,620 | 1,124 |
| Plain Text | 282 | 2,017 | 0 | 2,004 | 13 |

Top language (Go 50.6%). Generated at 2026-10-22T05:52:33.672315213Z. Canonical report: https://octocounts.com/github/mudler/LocalAI/commit/7f7b10fba9d7445e5ea8a7202e4e3af2325fce65?reportId=3995c65ee0fdb493807a0dd43e450aa2b910fba92f3084b1f45bf9b196e07886&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/mudler/LocalAI/commit/7f7b10fba9d7445e5ea8a7202e4e3af2325fce65?reportId=3995c65ee0fdb493807a0dd43e450aa2b910fba92f3084b1f45bf9b196e07886&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 mudler/LocalAI have?

mudler/LocalAI has 812,368 total lines, including 656,131 code lines, 80,164 comment lines, and 76,073 blank lines.

### How was the mudler/LocalAI line count measured?

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

### What commit was counted for mudler/LocalAI?

This OctoCounts report was generated from master at commit 7f7b10fba9d7 on 2026-10-22T05:52:33.672315213Z.

## Similar repository reports

- [larksuite/cli](https://octocounts.com/github/larksuite/cli) — Go, 661,915 code lines
- [yetone/magpie](https://octocounts.com/github/yetone/magpie) — Go, 661,968 code lines
- [router-for-me/CLIProxyAPI](https://octocounts.com/github/router-for-me/CLIProxyAPI) — Go, 638,505 code lines
- [hashicorp/nomad](https://octocounts.com/github/hashicorp/nomad) — Go, 627,996 code lines
- [dydxprotocol/v4-chain](https://octocounts.com/github/dydxprotocol/v4-chain) — Go, 615,669 code lines
- [hashicorp/terraform](https://octocounts.com/github/hashicorp/terraform) — Go, 600,461 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)
- [Rust vs Go](https://octocounts.com/compare/rust-vs-go)
- [Deno vs Node.js](https://octocounts.com/compare/deno-vs-node)
- [Kubernetes vs Terraform](https://octocounts.com/compare/kubernetes-vs-terraform)
- [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)
