openai/codex SLOC report
As of 2026-07-16 (commit 03bb3b123673), openai/codex contains 1,072,584 total lines: 962,495 code, 27,214 comments, 82,875 blank, across 4,078 files in 22 languages (top: Rust 84.0%). Counted with tokei via OctoCounts.
Repository size insights
This is a large codebase by counted code lines. Code represents 89.7% of all lines, comments represent 2.5%, and the repository averages 236 code lines per file. Rust accounts for 84.0% of counted code.
| Language | Files | Lines | Code | Comments | Blanks |
|---|
| Rust | 2205 | 889316 | 808520 | 7995 | 72801 |
| JSON | 277 | 118933 | 118933 | 0 | 0 |
| Python | 93 | 16090 | 13394 | 164 | 2532 |
| YAML | 8 | 5311 | 4797 | 0 | 514 |
| TOML | 140 | 5672 | 4793 | 263 | 616 |
| Bazel | 156 | 3958 | 3385 | 147 | 426 |
| TypeScript | 624 | 7609 | 3272 | 2981 | 1356 |
| Shell | 14 | 1893 | 1519 | 102 | 272 |
| PowerShell | 3 | 1455 | 1187 | 78 | 190 |
| JavaScript | 6 | 1162 | 1027 | 35 | 100 |
| SQL | 46 | 617 | 565 | 2 | 50 |
| Jupyter Notebooks | 1 | 395 | 315 | 17 | 63 |
Top language (Rust 84.0%). Generated at 2026-07-16T10:10:04.663297608+00:00.
Report FAQ
How many lines of code does openai/codex have?
openai/codex has 1,072,584 total lines, including 962,495 code lines, 27,214 comment lines, and 82,875 blank lines.
How was the openai/codex line count measured?
OctoCounts resolved the public GitHub repository to commit 03bb3b123673, downloaded the source archive, counted it with tokei, and cached the report by commit, tokei version, and analysis options.
What commit was counted for openai/codex?
This OctoCounts report was generated from main at commit 03bb3b123673 on 2026-07-16T10:10:04.663297608+00:00.