openai/codex SLOC report

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.

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.

Repository size insights

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.

LanguageFilesLinesCodeCommentsBlanks
Rust36801574997144389611893119208
JSON34915740215740200
Python14749253423932586602
TOML16666485659274715
TypeScript73511163560937411813
YAML8552049881531
Bazel18946583985185488
Shell1420561662102292
PowerShell31616133478204
JavaScript61208106639103
CSS18677575105
SQL66831747777

Top language (Rust 86.4%). Generated at 2026-09-04T01:36:19.835680161+00:00.

Report FAQ

How many lines of code does openai/codex have?

openai/codex has 1,839,278 total lines, including 1,670,803 code lines, 33,763 comment lines, and 134,712 blank lines.

How was the openai/codex line count measured?

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.

What commit was counted for openai/codex?

This OctoCounts report was generated from main at commit 956aa3f6372f on 2026-09-04T01:36:19.835680161+00:00.

Similar repository reports

Other public repositories with an OctoCounts report, ranked by top language and code size similarity: