flashinfer-ai/flashinfer has 13,414,765 source lines of code out of 14,464,833 total lines across 15,228 files, counted with tokei from the main ref at commit 15482962a1f6 on November 8, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.
As of 2026-11-08 (commit 15482962a1f6), flashinfer-ai/flashinfer contains 14,464,833 total lines: 13,414,765 code, 493,007 comments, 557,061 blank, across 15,228 files in 17 languages (top language: CUDA 74.3%). Canonical public options (tests, docs and generated files excluded). Counted with tokei via OctoCounts.
OctoCounts produced this report by resolving flashinfer-ai/flashinfer to commit 15482962a1f6, downloading the repository source archive, and counting files selected by the effective rules 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; an exact reproduction needs the same commit, engine version, and effective counting rules.
This is a very large codebase by counted code lines. Code represents 92.7% of all lines, comments represent 3.4%, and the repository averages 881 code lines per file. CUDA accounts for 74.3% of counted code.
| Language | Files | Lines | Code | Comments | Blanks |
|---|---|---|---|---|---|
| CUDA | 10168 | 10548473 | 9965472 | 276267 | 306734 |
| Python | 4139 | 3277886 | 2895271 | 158176 | 224439 |
| JSON | 117 | 435601 | 435595 | 0 | 6 |
| C Header | 376 | 102462 | 67029 | 21176 | 14257 |
| C++ Header | 66 | 31670 | 23251 | 4226 | 4193 |
| Shell | 70 | 13190 | 9777 | 2119 | 1294 |
| Autoconf | 28 | 5264 | 4919 | 48 | 297 |
| Lean | 20 | 5389 | 3738 | 950 | 701 |
| C | 9 | 3621 | 3428 | 83 | 110 |
| Jinja2 | 56 | 3827 | 3253 | 8 | 566 |
| C++ | 14 | 3285 | 2493 | 457 | 335 |
| TOML | 7 | 537 | 372 | 144 | 21 |
Top language: CUDA 74.3%. Generated on .
flashinfer-ai/flashinfer: tokei-15.0.0, policy directories-v1; docs excluded, tests excluded, generated excluded. Excluded directory names: .cache, .generated, .git, .next, __tests__, build, dist, doc, docs, documentation, fixtures, gen, generated, node_modules, target, test, tests, vendor. Ignored languages: none. Repository declarations: off. Exclusions are rule-based; they do not prove that every test, document or generated file was removed.
Saved reports remain subject to cache cleanup and replacement. Export the JSON or text for durable citation; live repository URLs can change.
flashinfer-ai/flashinfer has 13,414,765 lines of code, plus 493,007 comment lines and 557,061 blank lines, for 14,464,833 total lines at commit 15482962a1f6 on November 8, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.
OctoCounts resolved the public GitHub repository to commit 15482962a1f6, 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 15482962a1f6 on November 8, 2026.
Other public repositories with an OctoCounts report, ranked by top language and code size similarity:
Play the growth animation for flashinfer-ai/flashinfer on this page — 13,414,765 code lines across 17 languages, counted by tokei.