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.

As of 2026-10-22 (commit 2f3fb111be71), openai/codex contains 1,815,427 total lines: 1,665,196 code, 31,383 comments, 118,848 blank, across 6,488 files in 26 languages (top: Rust 86.7%). Custom configuration (tests excluded, docs excluded, generated excluded). Counted with tokei via OctoCounts.

As of 2026-10-22 (commit 2f3fb111be71), openai/codex contains 1,815,427 total lines: 1,665,196 code, 31,383 comments, 118,848 blank, across 6,488 files in 26 languages (top: Rust 86.7%). Custom configuration (tests excluded, docs excluded, generated excluded). Counted with tokei via OctoCounts.

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

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.304922087+00:00.

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 12 languages, counted by tokei.