# xai-org/grok-build SLOC report

> xai-org/grok-build: 1,584,555 code lines at commit 2bdd1d6a6369, counted with tokei-14.0.0 on 2026-10-18. Saved result b7394fd6fdc06cfcece4fc58afd96f2eb2e721e5a793ada6fceda68efc8b7f52.

xai-org/grok-build has 1,584,555 source lines of code out of 1,759,921 total lines across 3,746 files, counted from the main ref at commit 2bdd1d6a6369 by the OctoCounts tokei engine on 2026-10-18. 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 xai-org/grok-build to commit 2bdd1d6a6369, 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 very large codebase by counted code lines. Code represents 90.0% of all lines, comments represent 2.8%, and the repository averages 423 code lines per file. Rust accounts for 99.0% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| Rust | 3,214 | 1,730,637 | 1,568,844 | 41,118 | 120,675 |
| JSON | 181 | 7,943 | 7,943 | 0 | 0 |
| TOML | 111 | 5,409 | 4,014 | 848 | 547 |
| JavaScript | 4 | 1,716 | 1,276 | 191 | 249 |
| Shell | 7 | 1,138 | 861 | 169 | 108 |
| PowerShell | 2 | 1,002 | 769 | 117 | 116 |
| Protocol Buffers | 1 | 1,093 | 471 | 400 | 222 |
| Python | 2 | 444 | 377 | 19 | 48 |
| Markdown | 209 | 10,004 | 0 | 6,850 | 3,154 |
| Plain Text | 15 | 535 | 0 | 419 | 116 |

Top language (Rust 99.0%). Generated at 2026-10-18T09:13:11.670370249Z. Canonical report: https://octocounts.com/github/xai-org/grok-build/commit/2bdd1d6a6369de0e8c68132ea4539e9abd9e14a8?reportId=b7394fd6fdc06cfcece4fc58afd96f2eb2e721e5a793ada6fceda68efc8b7f52&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/xai-org/grok-build/commit/2bdd1d6a6369de0e8c68132ea4539e9abd9e14a8?reportId=b7394fd6fdc06cfcece4fc58afd96f2eb2e721e5a793ada6fceda68efc8b7f52&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 xai-org/grok-build have?

xai-org/grok-build has 1,759,921 total lines, including 1,584,555 code lines, 50,131 comment lines, and 125,235 blank lines.

### How was the xai-org/grok-build line count measured?

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

### What commit was counted for xai-org/grok-build?

This OctoCounts report was generated from main at commit 2bdd1d6a6369 on 2026-10-18T09:13:11.670370249Z.

## Similar repository reports

- [nicodunks/mog](https://octocounts.com/github/nicodunks/mog) — Rust, 1,568,608 code lines
- [Haleclipse/codex](https://octocounts.com/github/Haleclipse/codex) — Rust, 1,627,008 code lines
- [warpdotdev/warp](https://octocounts.com/github/warpdotdev/warp) — Rust, 1,542,571 code lines
- [zed-industries/zed](https://octocounts.com/github/zed-industries/zed) — Rust, 1,526,313 code lines
- [openai/codex](https://octocounts.com/github/openai/codex) — Rust, 1,665,196 code lines
- [nautechsystems/nautilus_trader](https://octocounts.com/github/nautechsystems/nautilus_trader) — Rust, 1,500,404 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)
- [Electron vs Tauri](https://octocounts.com/compare/electron-vs-tauri)
- [Deno vs Node.js](https://octocounts.com/compare/deno-vs-node)
- [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)
