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.
As of 2026-10-18 (commit 2bdd1d6a6369), xai-org/grok-build contains 1,759,921 total lines: 1,584,555 code, 50,131 comments, 125,235 blank, across 3,746 files in 10 languages (top: Rust 99.0%). Custom configuration (tests excluded, docs excluded, generated excluded). Counted with tokei via OctoCounts.
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.
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 | 3214 | 1730637 | 1568844 | 41118 | 120675 |
| JSON | 181 | 7943 | 7943 | 0 | 0 |
| TOML | 111 | 5409 | 4014 | 848 | 547 |
| JavaScript | 4 | 1716 | 1276 | 191 | 249 |
| Shell | 7 | 1138 | 861 | 169 | 108 |
| PowerShell | 2 | 1002 | 769 | 117 | 116 |
| Protocol Buffers | 1 | 1093 | 471 | 400 | 222 |
| Python | 2 | 444 | 377 | 19 | 48 |
| Markdown | 209 | 10004 | 0 | 6850 | 3154 |
| Plain Text | 15 | 535 | 0 | 419 | 116 |
Top language (Rust 99.0%). Generated at .
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.
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.
This OctoCounts report was generated from main at commit 2bdd1d6a6369 on 2026-10-18T09:13:11.670370249+00:00.
Other public repositories with an OctoCounts report, ranked by top language and code size similarity:
Play the growth animation for xai-org/grok-build on this page — 1,584,555 code lines across 10 languages, counted by tokei.