As of 2026-09-04 (commit 956aa3f6372f), openai/codex contains 1,839,278 total lines: 1,670,803 code, 33,763 comments, 134,712 blank, across 5,983 files in 23 languages (top: Rust 86.4%). Counted with tokei via OctoCounts.
OctoCounts produced this report by resolving openai/codex to commit 956aa3f6372f, 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.8% of all lines, comments represent 1.8%, and the repository averages 279 code lines per file. Rust accounts for 86.4% of counted code.
| Language | Files | Lines | Code | Comments | Blanks |
|---|---|---|---|---|---|
| Rust | 3680 | 1574997 | 1443896 | 11893 | 119208 |
| JSON | 349 | 157402 | 157402 | 0 | 0 |
| Python | 147 | 49253 | 42393 | 258 | 6602 |
| TOML | 166 | 6648 | 5659 | 274 | 715 |
| TypeScript | 735 | 11163 | 5609 | 3741 | 1813 |
| YAML | 8 | 5520 | 4988 | 1 | 531 |
| Bazel | 189 | 4658 | 3985 | 185 | 488 |
| Shell | 14 | 2056 | 1662 | 102 | 292 |
| PowerShell | 3 | 1616 | 1334 | 78 | 204 |
| JavaScript | 6 | 1208 | 1066 | 39 | 103 |
| CSS | 1 | 867 | 757 | 5 | 105 |
| SQL | 66 | 831 | 747 | 7 | 77 |
Top language (Rust 86.4%). Generated at 2026-09-04T01:36:19.835680161+00:00.
openai/codex has 1,839,278 total lines, including 1,670,803 code lines, 33,763 comment lines, and 134,712 blank lines.
OctoCounts resolved the public GitHub repository to commit 956aa3f6372f, 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 956aa3f6372f on 2026-09-04T01:36:19.835680161+00:00.
Other public repositories with an OctoCounts report, ranked by top language and code size similarity: