flashinfer-ai/flashinfer has 14,215,604 source lines of code out of 15,322,213 total lines across 16,183 files, counted with tokei from the main ref at commit a2e3d1e7075e on November 16, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.
As of 2026-11-16 (commit a2e3d1e7075e), flashinfer-ai/flashinfer contains 15,322,213 total lines: 14,215,604 code, 521,016 comments, 585,593 blank, across 16,183 files in 17 languages (top language: CUDA 74.9%). 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 a2e3d1e7075e, 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.8% of all lines, comments represent 3.4%, and the repository averages 878 code lines per file. CUDA accounts for 74.9% of counted code.
| Language | Files | Lines | Code | Comments | Blanks |
|---|---|---|---|---|---|
| CUDA | 10965 | 11262626 | 10640765 | 294220 | 327641 |
| Python | 4260 | 3398003 | 3002542 | 164164 | 231297 |
| JSON | 118 | 448384 | 448378 | 0 | 6 |
| C Header | 378 | 102590 | 67118 | 21206 | 14266 |
| C++ Header | 66 | 31670 | 23251 | 4226 | 4193 |
| Shell | 72 | 13575 | 10053 | 2197 | 1325 |
| Lean | 46 | 11429 | 8827 | 1437 | 1165 |
| Autoconf | 28 | 5300 | 4953 | 48 | 299 |
| C | 9 | 3621 | 3428 | 83 | 110 |
| Jinja2 | 56 | 3827 | 3253 | 8 | 566 |
| C++ | 14 | 3285 | 2493 | 457 | 335 |
| TOML | 7 | 541 | 376 | 144 | 21 |
Top language: CUDA 74.9%. 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 14,215,604 lines of code, plus 521,016 comment lines and 585,593 blank lines, for 15,322,213 total lines at commit a2e3d1e7075e on November 16, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.
OctoCounts resolved the public GitHub repository to commit a2e3d1e7075e, 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 a2e3d1e7075e on November 16, 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 — 14,215,604 code lines across 17 languages, counted by tokei.