openai/codex

openai/codex has 1,665,196 source lines of code out of 1,815,427 total lines across 6,488 files, counted from the main ref at commit 2f3fb111be71 by the OctoCounts tokei engine on 2026-10-22. The report is cached by commit, tokei version, and analysis options, so recounting the same revision returns exactly these numbers.

openai/codex: 1,665,196 code lines at commit 2f3fb111be71, counted with tokei-14.0.0 on 2026-10-22. Saved result d9c801c1f441978fc48a9655950d92c28caa6d33034480c9d26821dbc6c77f4c.

OctoCounts produced this report by resolving openai/codex to commit 2f3fb111be71, 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 91.7% of all lines, comments represent 1.7%, and the repository averages 257 code lines per file. Rust accounts for 86.7% of counted code.

LanguageFilesLinesCodeCommentsBlanks
Rust45891566213144340815653107152
JSON33216242316242300
Python13535121307303004091
TOML17672576193286778
Bazel20967365834268634
YAML7551449821531
TypeScript7669585392340181644
Shell1623451923128294
PowerShell41974171586173
JavaScript71262110846108
SQL778978021580
CSS18677575105
Jupyter Notebooks13913111763
Pan2346292549
Protocol Buffers34032923477
HTML418818413
Just12051303540
Nix2142124108
Batch1201604
SVG4141400
XML2151401
CMake1141130
C++111911
C Header11100
Markdown13311419087212698
Plain Text13206401750314

Top language (Rust 86.7%). Generated at .

Reproduce this report

Reproduce this exact report and configuration.

Report FAQ

How many lines of code does openai/codex have?

openai/codex has 1,815,427 total lines, including 1,665,196 code lines, 31,383 comment lines, and 118,848 blank lines.

How was the openai/codex line count measured?

OctoCounts resolved the public GitHub repository to commit 2f3fb111be71, 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 2f3fb111be71 on 2026-10-22T13:24:14.304922087Z.

Similar repository reports

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

Play the growth animation for openai/codex on this page — 1,665,196 code lines across 26 languages, counted by tokei.