# xai-org/grok-build SLOC report

> As of 2026-09-22 (commit 4247f6616893), xai-org/grok-build contains 1,654,628 total lines: 1,484,618 code, 50,363 comments, 119,647 blank, across 3,427 files in 10 languages (top: Rust 99.0%). Custom configuration (tests excluded, docs excluded, generated excluded). Counted with tokei via OctoCounts.

xai-org/grok-build has 1,484,618 source lines of code out of 1,654,628 total lines across 3,427 files, counted from the main ref at commit 4247f6616893 by the OctoCounts tokei engine on 2026-09-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 xai-org/grok-build to commit 4247f6616893, 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 89.7% of all lines, comments represent 3.0%, and the repository averages 433 code lines per file. Rust accounts for 99.0% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| Rust | 2,915 | 1,626,171 | 1,469,477 | 41,488 | 115,206 |
| JSON | 174 | 7,664 | 7,664 | 0 | 0 |
| TOML | 105 | 5,074 | 3,729 | 836 | 509 |
| JavaScript | 4 | 1,716 | 1,276 | 191 | 249 |
| Shell | 7 | 1,137 | 861 | 168 | 108 |
| PowerShell | 2 | 994 | 763 | 115 | 116 |
| Protocol Buffers | 1 | 1,093 | 471 | 400 | 222 |
| Python | 2 | 444 | 377 | 19 | 48 |
| Markdown | 202 | 9,800 | 0 | 6,727 | 3,073 |
| Plain Text | 15 | 535 | 0 | 419 | 116 |

Top language (Rust 99.0%). Generated at 2026-09-22T08:59:20.188085257+00:00. Canonical report: https://octocounts.com/github/xai-org/grok-build

## Reproduce this report

[Reproduce this exact report and configuration](https://octocounts.com/github/xai-org/grok-build/commit/4247f661689354b831191f11eeeac8424993fe3d?analysis=%7B%22ignoredDirs%22%3A%5B%5D%2C%22ignoredLanguages%22%3A%5B%5D%2C%22profile%22%3A%22default%22%2C%22includeDocs%22%3Afalse%2C%22includeTests%22%3Afalse%2C%22includeGenerated%22%3Afalse%7D).

## Report FAQ

### How many lines of code does xai-org/grok-build have?

xai-org/grok-build has 1,654,628 total lines, including 1,484,618 code lines, 50,363 comment lines, and 119,647 blank lines.

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

OctoCounts resolved the public GitHub repository to commit 4247f6616893, 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 4247f6616893 on 2026-09-22T08:59:20.188085257+00:00.

## Similar repository reports

- [openinterpreter/openinterpreter](https://octocounts.com/github/openinterpreter/openinterpreter) — Rust, 1,492,495 code lines
- [warpdotdev/warp](https://octocounts.com/github/warpdotdev/warp) — Rust, 1,470,282 code lines
- [oven-sh/bun](https://octocounts.com/github/oven-sh/bun) — Rust, 1,469,308 code lines
- [openai/codex](https://octocounts.com/github/openai/codex) — Rust, 1,456,785 code lines
- [zed-industries/zed](https://octocounts.com/github/zed-industries/zed) — Rust, 1,404,143 code lines
- [nicodunks/mog](https://octocounts.com/github/nicodunks/mog) — Rust, 1,568,608 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)
